Customising Bills and Receipts
Using definition files you can alter the wording of many of the bills and receipts you can generate from the management (or clinical) screens. This guide lists all the possible options, the definition file you need to add (or change) and the default contents.
The defaults are built into the software, you will NOT find a definition file with the default settings - the presence of one of the listed file will over-ride the default. You cannot 'damage' or 'change' the original defaults, if you are changing a definition file and feel it has gone 'wrong' and surgery is about to start - just remove (or re-name) the file you have been working on and it will be back as it was.
Itemised Bills
This bills will break the work done into categories. The Itemised bills will print on the main document printer, the 'pos' bills on the Point of Sale printer.
| Format | Top of Bill | Bottom of Bill |
|---|---|---|
| Plain Text | item.def | item.bot |
| Nroff | item.defn | item.botn |
| Point of Sale | pos.top | pos.bot |
Groff Format
Here is a sample of an nroff 'top of the bill', this is the default,
you can cut and paste this to item.defn and edit as you see fit. The
system will add the rest of the details.
.PGNH .sp .B .nf .S 25 35 &PAD1 .S 16 20 &PAD2 &PAD3 .fi .R .S 11 13 .ad r \fBVat No. &PVAT\fR .br .ad b .TS tab(@) expand; lbw(3i) l l. &CLIENT@Date@&DATE &ADDRESS1@Ref@&ANIMAL (&REF) &ADDRESS2@User@&USER - &DREF &ADDRESS3@@ &POSTCODE@@ .TE
There is no default groff bottom of the bill (item.botn) you
can add any thing you want.
Plain Text Format
Here is a sample of a 'top of the bill', when using plain text, this is
the default, you can cut and paste this to item.def
and edit as you see fit. The system will add the rest of the details.
&es&pad1&ef
&pad1, &pad2
&pad3 VAT No.
&pvat
&date
&client
&address1
&address2
&address3, &postcode
Ref : &animal (&ref)
User: &user : &dref
There is no default plain-text bottom of the bill (item.bot) you
can add any thing you want.
Point of Sale (POS) Bills
This bills will print on the Point of Sale printer and put the work into categories.
These are plain text only, you cannot use Nroff with these bill types.
Here is a sample of a 'top of the bill', when using plain text, this is
the default, you can cut and paste this to pos.def
and edit as you see fit. The system will add the rest of the details.
&es&pad1&ef
VAT No: &pvat
&client
&address1
&address2
&address3, &postcode
Ref : &animal (&ref)
User: &user : &dref
As with the other bill types there is no specific default bottom of a
POS bill. You can add anything you want - e.g.
Thank you for letting us treat
&animal, we hope you were happy
with the service.
http://Your.Web.Site.Address
Service with a smile
Today Bills and Dockets
This bills will list the actual work done. Dockets bills will print on the main document printer, the 'today' bills on the Point of Sale printer.
| Format | Top of Bill | Bottom of Bill | Notes |
|---|---|---|---|
| Today Bill | today.top | today.bot | |
today.crd | In Credit | ||
today.bal | Balance | ||
today.nil | Zero Balance | ||
| Dockets | docket.top | N/A |
Today Bills
This bills will print on the Point of Sale printer and will itemise the work done.
These are plain text only. Here is a sample of a 'top of the bill', this
is the default, you can cut and paste this to today.top
and edit as you see fit. The system will add the rest of the details.
&es&pad1&ef
VAT No: &pvat
&client
&address1
&address2
&address3, &postcode
Ref : &animal ( &ref)
Date : &date &time
User : &user : &invoice
Work Done Price
------------------------------------
As with the other bill types there is no specific default bottom of a Today bill. You can add anything you want, in addition to the 'normal' bottom of the bill you can add additional wording if the client is in credit (today.crd), has an outstanding balance (today.bal) or the account is zero (today.nil). These definition files will be added after any today.bot file.
Dockets
This bills will print on the Main printer and will itemise the work done.
&pname
&pad1, &pad2
&pad3 VAT No.
&pvat
&client
&address1
&address2
&address3, &postcode
There is no 'docket.bot' - you cannot add customised messages to the bottom of dockets.
Estimates
| Format | Top | Bottom |
|---|---|---|
| Groff | esttop.defn | estbot.defn |
| Plain Text | esttop.def | estbot.def |
Groff - Estimate (Top)
.B .nf .S 25 35 &pname .S 16 20 &pad1 &pad2 &pad3 .fi .R .S 11 13 .ad r \fBVat No. &pvat\fR .br .ad b .sp .S 16 18 .ce 1 \fBTreatment/Examination Estimate\fR .S 12 14 .TS tab(@); l lb. Prepared for@&client with &animal Procedure/Test@&procedure Date@&date .TE
Estimate - Plain Text (Top)
&pname
&pad1
&pad2, &pad3 VAT No.
&pad4
Treatment/Examination estimate
Prepared for : &client - &animal
Procedure/Test : &procedure Date : &date
-----------------------------------------------------------------------------
Estimate - Groff (Bottom)
Unlike the bills, estimates do have a default 'bottom', with groff format this is estbot.defn. Here is the default:
.sp \fBAuthorised limit :\fR \(Po .sp I understand these sums represent an estimate ONLY based on the treatment and tests foreseen at the time the estimate was made and accept financial responsibility for the procedures indicated. .sp I hereby authorise the administration of such general anaesthesia and the undertaking of such procedures listed above. .BL .LI All general anaesthesia represents a small risk, if you are worried please ask the veterinary surgeon. .LE .sp 2 Owner/Agent \l'4i'
Estimate - Groff (Bottom)
The 'plain text' version of the botton of an estimate (estdef.bot).
Authorised limit : &auth I understand these sums represent an estimate ONLY based on the treatment and tests foreseen at the time the estimate was made and accept financial responsibility for the procedures indicated. I hereby authorise the administration of such general anaesthesia and the undertaking of such procedures listed above. * All general anaesthesia represents a small risk, if you are worried please ask the veterinary surgeon Owner/Agent ...................................
Management Fee Notes
| Format | Top | Bottom |
|---|---|---|
| Groff | N/A | fee.botn |
| Plain Text | N/A | fee.bot |
There is no specific default for the bottom of Management Fee Notes. Add what you require.
Receipt (Standard)
| Format | Top | Bottom |
|---|---|---|
| Groff | N/A | N/A |
| Plain Text | receipt.def |
|
You cannot change the format or wording of the 'Standard' receipt if using the groff format. With the plain text version, you replace the complete receipt. Here is the default:
&pname
&pad1
&pad2, &pad3 VAT No.
&pvat
Doc ref: &user : &dref
Received with thanks from &client client no. &ref
The sum of # &amtdue Paid by &ptyp &pref on &date
A balance of # &BALDUE is still outstanding on &ANIMAL
Tendered :# &tender
Amount due :# &amtdue
Change given :# &change
.pa