Twig template variables: Full list
See a full list of the Twig template variables that ezyVet has.
Twig template variables: Business
Name | Classic template system equivalent? | Function |
---|---|---|
{{ business.BusinessEmail }} | {BusinessEmail} | Shows the email address of the business. |
{{ business.FaxNumber }} | {BusinessFax} | Shows the fax number of the business. |
{{ business.Name }} | {BusinessName} | Shows the name of the business. |
{{ business.PhoneNumber }} | {BusinessPhone} | Shows the phone number of the business. |
{{ business.PostalAddress.AddressText }} | {BusinessPostalAddress} | Shows the full postal address of the business. |
Twig template variables: Clinical record
Name | Classic template system equivalent? | Function |
---|---|---|
{{ consult.TherapeuticOutcomes }} | {ConsultTherapeuticOutcomes} | Shows the content of the Outcome box of therapeutic records of the clinical record.
Note: This variable shows the information in plain text format.
|
{{ consult.Medications.ProductName }} | No | Shows the medication product name of the clinical record. |
{{ consult.TherapeuticSpecifics }} | No | Shows the content of the Specifics box of therapeutic records of the clinical record. |
{{ consult.Caseowner.Name }} | {ConsultVet} | Shows the name of the of the case owner of the clinical record. |
{{ consult.Date|dateformat }} | {ConsultDate} | Shows the date of the clinical record. |
Twig template variables: Contact record
Name | Classic template system equivalent? | Function |
---|---|---|
{{ contact.ContactNotes }} | {ContactNotes} | Shows the notes of the client. |
{{ contact.TemplateVarAllFaxes }} | {ClientContactAllFaxes} | Shows all fax numbers of the client. |
{{ contact.TemplateVarAllContactMethods }} | {ClientContactAllContactMethods} | Shows:
|
{{ contact.DateOfBirth }} | {ContactDOB} | Shows the full date of birth of the person of the contact record. |
{{ contact.TitleName }} | {ClientContactTitle} | Shows the title of the client. The possible values are:
|
{{ contact.FirstName }} | {ContactFirst} | Shows the first name of the client. |
{{ contact.LastName }} | {ContactLast} | Shows the last name of the client. |
{{ contact.ClientName }} | {ClientContactName} | Shows the name of the client. |
{{ contact.DdDay }} | No | Shows the day of the month of the client's direct debit instruction. |
{{ contact.EmailAddress }} | No | Shows the first email address of the person or business of the contact record. |
{{ contact.ReminderEmail }} | {ContactRemindersEmails} | Shows the email address selected as the preferred method to send reminders to the client. |
{{ contact.AlternateName }} | {ContactSecondaryName} | Shows the name of the Secondary Contact box of the contact record. Note: This variable shows the first name then the last name. |
{{ contact.NameInformal }} | {ContactNameInformal} | Shows the name of the client.
Note: This variable shows the first name then the last name.
|
{{ contact.Distance }} | No | Shows the distance that the client must travel to the veterinary practice. |
{{ contact.CreatedDate }} | No | Shows the date that a staff member made the contact record. Note: To show a date value that is easy to read, use this variable with the dateformat Twig filter. |
{{ contact.XeroNumber }} | No | Shows the Xero account code of the contact record. |
{{ contact.SuppliedGstRate }} | No | Shows the GST rate of the contact record. Note: If the contact record does not have a configured GST rate, this variable shows the default GST rate of your ezyVet site. |
{{ contact.BusinessName }} | {ContactBusinessName} | Shows the name of the business of the contact record. |
{{ contact.CreditStatus }} | No | Shows the credit status of the client. |
{{ contact.CreditStatusStringHtml }} | No | Shows the credit status of the client. Note: This variable also shows the color of each credit status. |
{{ contact.ContactMethod.Name }} | No | Shows the preferred contact method of the contact record. |
{{ contact.Website }} | No | Shows the website of the contact record. |
{{ contact.BusinessPhone }} | No | Shows the phone number of the business of the contact record. |
{{ contact.FirstEmail }} | No | Shows the first email address of the contact record. |
{{ contact.StaffMember }} | No | Shows the the staff member who made the contact record. |
{{ contact.CompanyNumber }} | {ContactPhoneNumber} | Shows the phone number of the client. |
{{ contact.BankAccountNumber }} | No | Shows the bank account number of the client. |
{{ contact.PaymentReference }} | No | Shows the payment reference information for electronic payments of the client. |
{{ contact.TaxNumber }} | No | Shows the tax number of the client. |
{{ contact.AccountNumber }} | {SupplierContactAccountCode} | Shows the account code of the supplier account. |
{{ contact.Country.Name }} | No | Shows the country of the client. |
{{ contact.SatisfactionLevel }} | No | Shows the customer satisfaction value of the client. Note: The range of possible values shown by this variable is 0 to 10. A value of 10 is the best possible customer satisfaction. |
{{ contact.SatisfactionNote }} | No | Shows the content of the Notes box of the Customer Satisfaction section of the contact record. |
{{ contact.AlternateFirstName }} | {ContactSecondaryFirst} | Shows the first name of the Secondary Contact box of the contact record. |
{{ contact.AlternateLastName }} | {ContactSecondaryLast} | Shows the last name of the Secondary Contact box of the contact record. |
{{ contact.AlternateTitleText }} | No | Shows the Title set in the Secondary Contact of the contact record. |
{{ contact.AlternateNameInformal }} | {ContactSecondaryNameInformal} | Shows the Secondary Contact name of the contact record.
Note: This variable shows the first name then the last name.
|
{{ contact.AllUnapprovedInvoicesTotal }} | No | Shows the total dollar quantity of the unapproved invoices of the client. |
{{ contact.ContactName }} | {ClientContactName} | Shows the name of the client.
Note: If the contact type is set to Business, the variable shows the name of the business. If the contact type is set to Individual, the variable shows the name of the person.
|
{{ contact.ChargedInterest }} | No | Shows the method that ezyVet uses to charge interest in the Charge Late Fees/Interest report. The possible values are:
|
{{ contact.InterestRate }} | No | Shows the rate of the annual interest charged to the client. This variable shows the information as a percentage |
{{ contact.TaxOverrideCode }} | No | Shows the tax code of the client. |
{{ contact.TemplateVarGeneralLandlines }} | {ContactGeneralLandlines} | Shows the landline phone number selected as the preferred method to send general information to the client. |
{{ contact.TemplateVarGeneralMobiles }} | {ContactGeneralMobiles} | Shows the mobile phone number selected as the preferred method to send general information to the client. |
{{ contact.TemplateVarGeneralEmails }} | {ContactGeneralEmails} | Shows the email address selected as the preferred method to send general information to the client. |
{{ contact.TemplateVarGeneralFaxes }} | {ContactGeneralFaxes} | Shows the fax number selected as the preferred method to send general information to the client. |
{{ contact.TemplateVarAllLandlines }} | {ContactAllLandlines} | Shows all landline phone numbers of the client. |
{{ contact.TemplateVarAllMobiles }} | {ContactAllMobiles} | Shows all mobile phone numbers of the client. |
{{ contact.TemplateVarAllEmails }} | {ContactAllEmails} | Shows all email addresses of the client. |
{{ contact.TemplateVarAllFaxes }} | {ContactAllFaxes} | Shows all fax numbers of the client. |
{{ contact.TemplateVarAllContactMethods }} | {ContactAllContactMethods} | Shows:
|
{{ contact.EmailPhonesList }} | No | Shows the email addresses and phone numbers of the client. Note: The variable uses this format to show the data:
|
{{ clientContact.AllContacts }} | {ContactCode} | Shows the name of the contact record and its Secondary Contact name.
Note: The template variable shows & between the two names.
Note: If the contact record does not have a Secondary Contact name, the template variable shows the name of the contact record only.
|
Twig template variables: Department
Name | Classic template system equivalent? | Function |
---|---|---|
{{ department.Name }} | {DepartmentName} | Shows the name of the department.
Note: If your organization uses a single-site configuration, the template variable shows the name of your business. If your organization uses a department configuration or business unit configuration, the variable shows the name of the department that you are signed in to.
|
{{ department.CompanyNumber }} | {DepartmentCompanyNumber} | Shows the Australian business number of the department. |
{{ department.PhysicalAddressText }} | {DepartmentAddress} | Shows the full address of the department.
Note: If your organization uses a single-site configuration, the template variable shows the address of the business.
|
{{ department.PhysicalAddress.Line1 }} | {DepartmentAddressLine1} | Shows the first line of the physical address of the department. |
{{ department.PhysicalAddress.Line2 }} | {DepartmentAddressLine2} | Shows the second line of the physical address of the department. |
{{ department.PhysicalAddress.Suburb }} | {DepartmentAddressSuburb} | Shows the suburb of the department. |
{{ department.PhysicalAddress.City }} | {DepartmentAddressCity} | Shows the city of the department. |
{{ department.PhysicalAddress.Region }} | {DepartmentAddressRegion} | Shows the region of the department. |
{{ department.PhysicalAddress.State }} | {DepartmentAddressState} | Shows the state of the department. |
{{ department.PhysicalAddress.Country }} | {DepartmentAddressCountry} | Shows the country of the department. |
{{ department.PhysicalAddress.Postcode }} | {DepartmentPostcode} | Shows the postcode of the department.
Note: If your organization uses a single-site configuration, the template variable shows the postcode of the business.
|
{{ department.Emailaddress }} | {DepartmentEmail} | Shows the email address of the department. |
{{ department.PhoneNumber }} | {DepartmentPhone} | Shows the phone number of the department. |
{{ department.FaxNumber }} | {DepartmentFax} | Shows the fax number of the department. |
{{ department.Website }} | {DepartmentWebSite} | Shows the website address of the department. |
{{ department.BankAccountNumber }} | {DepartmentBankAccount} | Shows the bank account number of the department. |
{{ department.PaymentReference }} | {DepartmentPaymentReference} | Shows the payment reference of the department. |
{{ department.TaxNumber }} | {DepartmentTaxNumber} | Shows the tax number of the department. |
Twig template variables: Estimate
Name | Classic template system equivalent? | Function |
---|---|---|
{{ quotation.Animal.DateOfBirth }} | {AnimalDOB} | Shows the full date of birth of the patient. |
{{ quotation.Animal.Name }} | {AnimalName} | Shows the name of the patient. |
{{ quotation.Animal.Number }} | {AnimalNumber} | Shows the value of the Code box of the patient record. |
{{ quotation.Animal.Sex }} | {AnimalSex} | Shows the sex of the patient. The possible values are:
|
{{ quotation.BlurbHtml }} | {EstimateBlurb} | Shows the contents of the Blurb box of the estimate. |
{{ quotation.ClientContact.Name }} | {ContactName} | Shows the name of the client. Note: If the contact type is set to Business, the variable shows the name of the business. If the contact type is set to Individual, the variable shows the name of the person. |
{{ quotation.ClientContact.PostalAddress.AddressText }} | {ContactPostalAddress} | Shows the postal address of the client. |
{{ quotation.Date }} | {EstimateDate} | Shows the date of the estimate. |
{{ quotation.Deposit }} | {EstimateDeposit} | Shows the deposit quantity of the estimate. |
{{ quotation.Name }} | {EstimateName} | Shows the name of the estimate. |
{{ quotation.Number }} | {EstimateNumber} | Shows the number of the estimate. |
{{ quotation.Tax }} | {EstimateLowTotalGst} | Shows the total GST of the low range of the estimate.
Note: To show a value that is easy to read, use this variable with the
moneyformat Twig filter. |
{{ quotation.HighTotalExcTax }} | {EstimateHighTotalExcGst} | Shows the total dollar value of the high range of the estimate. The value does not include GST.
Note: To show a value that is easy to read, use this variable with the
moneyformat Twig filter. |
{{ quotation.HighTotalIncTax }} | {EstimateHighTotalIncGst} | Shows the total dollar value of the high range of the estimate.
Note: To show a value that is easy to read, use this variable with the
moneyformat Twig filter. |
{{ quotation.TotalExcTax }} | {EstimateTotalExcGst} | Shows the total price of the estimate. The value does not include GST. |
{{ quotation.TotalIncTax }} | {EstimateTotalIncGst} | Shows the total dollar quantity of the estimate. The value includes GST. |
Twig template variables: Invoice
Name | Classic template system equivalent? | Function |
---|---|---|
{{ invoice.Name }} | No | Shows the name of the invoice. Note: This variable uses this format for the invoice name:
|
{{ invoice.StatusName }} | {InvoiceStatus} | Shows the status of the invoice. |
{{ invoice.ClientContactName }} | No | Shows the name of the client of the invoice. |
{{ invoice.TaxBreakDownString }} | {InvoiceTaxBreakdown} | Shows the dollar quantity of each tax rate of the invoice. |
{{ invoice.PaymentMethods }} | {InvoicePaymentMethod} | Shows the payment method of the invoice. |
{{ invoice.TotalDiscountAmountIncTax }} | {InvoiceTotalDiscountAmountIncTax} | Shows the total discount quantity of the invoice. The value includes tax. |
{{ invoice.TotalDiscountPercent }} | {InvoiceTotalDiscountPercentage} | Shows the total discount quantity of the invoice. |
{{ invoice.InvoiceTypeName }} | {InvoiceTypeName} | Shows the type of the invoice (for example, if the invoice is a credit note). |
{{ invoice.OrderNumber }} | {InvoiceOrderNumber} | Shows the purchase order numbers of the invoice. |
{{ invoice.ApprovedAt }} | No | Shows the approval date of the invoice.
Note: To show a date value that is easy to read, use this variable with the
dateformat Twig filter.
|
{{ invoice.FreightGstRate }} | No | Shows the GST rate of the freight of the invoice. |
{{ invoice.FreightGst }} | No | Shows the total GST of the freight of the invoice. |
{{ invoice.Freight }} | No | Shows the total dollar value of the freight of the invoice. The value does not include tax. |
{{ invoice.Outstanding }} | No | Shows the total outstanding dollar quantity of the invoice. |
{{ invoice.Due }} | {InvoiceDue} | Shows the total dollar value that is due of the invoice. |
{{ invoice.Allocated }} | No | Shows the dollar quantity that a person paid for the invoice. Note: ezyVet calculates the value as the total dollar quantity of the invoice minus the total outstanding dollar quantity. |
{{ invoice.Paid }} | {InvoicePaid} | Shows the total dollar value paid by a client for the invoice. |
{{ invoice.Gst }} | {InvoiceGst} | Shows the total tax of the invoice. |
{{ invoice.Total }} | {InvoiceTotal} | Shows the total dollar value of the invoice. |
{{ invoice.Date }} | {InvoiceDate} | Shows the date of the invoice. |
{{ invoice.DueDate }} | {InvoiceDueDate} | Shows the due date of the invoice. |
{{ invoice.CustomerReference }} | {InvoiceCustomerReference} | Shows the reference number of the invoice. |
{{ invoice.AllocatedHtml }} | No | Shows the payment allocation values of the invoice. Note: To show each payment allocation value in a new line, enter {{ invoice.getAllocatedHTML | nl2br }} Note: To show a | character between each payment allocation value, enter {{ invoice.getAllocatedHTML | replace({'\n': ' | '}) }} Note: You can select a different character to show between each payment allocation value. For example, you can show a comma ( , ) between each value. To select a different character, enter {{ invoice.getAllocatedHTML | replace({'\n': <enter-different-character-here>}) }} Replace <enter-different-character-here> with the character that you want to show. For example, to show a comma, enter |
{{ invoice.InvoiceItemsHtml }} | No | Shows the expense items of the invoice. |
{{ invoice.Comments }} | {InvoiceComments} | Shows all comments of the Comments section of the invoice.
Note: This variable shows the content without formatting and without line breaks.
|
{{ invoice.Department.TaxNumber }} | {DepartmentTaxNumber} | Shows the tax number of the department that person set for the invoice. |
{{ invoice.Consult.TherapeuticSpecifics }} | No | Shows the content of the Specifics box of therapeutic records of the clinical record. |
{{ financial.DivisionTaxNumber }} | No | Shows the tax number of the department that you are signed in to. |
{{ invoice.Consult.Date|dateformat }} | {ConsultDate} | Shows the date of the clinical record. |
{{ invoice.ClientContact.AllContacts }} | No | Shows the name of the contact record and its Secondary Contact name. Note: The template variable shows & between the two names. Note: If the contact record does not have a Secondary Contact name, the template variable shows the name of the contact record only. |
Twig template variables: Invoice line item
Name | Function |
---|---|
{{ invoiceline.ProductName }} | Shows the name of the product.
Note: This variable shows the product name that is in the Description column of the invoice line item.
|
{{ invoiceline.Product.Name }} | Shows the name of the product.
Note: This variable shows the product name that is in the configuration of the product.
|
{{ invoiceline.Quantity }} | Shows the quantity of the product. |
{{ invoiceline.Date }} | Shows the date of the invoice line item. |
{{ invoiceline.SalesPerson }} | Shows the contact record of the sales person of the invoice line item. |
{{ invoiceline.TotalBeforeDiscount }} | Shows the total dollar quantity of the invoice line item without the discount. The value does not include tax. Note: To show a value that is easy to read, use this variable with the moneyformat Twig filter. |
{{ invoiceline.TotalBeforeDiscount(true) }} | Shows the total dollar quantity of the invoice line item without the discount. The value includes tax. Note: To show a value that is easy to read, use this variable with the moneyformat Twig filter. |
{{ invoiceline.TotalDiscount }} | Shows the total discount quantity of the invoice line item. This variable uses a dollar quantity to show the value. Note: To show a value that is easy to read, use this variable with the moneyformat Twig filter. |
{{ invoiceline.TotalDiscountPercent }} | Shows the total discount quantity of the invoice line item. This variable uses a percentage to show the value. Tip: To show the percentage rounded to two decimal places, enter {{ invoiceline.TotalDiscountPercent }}|round(2) |
{{ invoiceline.Total(true) }} | Shows the total dollar value of the invoice line item. The value includes tax. Note: To show a value that is easy to read, use this variable with the moneyformat Twig filter. |
{{ invoiceline.Total }} | Shows the total dollar value of the invoice line item. The value does not include tax. Note: To show a value that is easy to read, use this variable with the moneyformat Twig filter. |
{{ invoiceline.PriceAfterDiscount(true) }} | Shows the total price of the invoice line item with the discount. Note: To show a value that is easy to read, use this variable with the moneyformat Twig filter. |
{{ invoiceline.Product.PrintableName }} | Shows the content of the Printable Name box of the product's configuration. |
{{ line.NonBundleTotalDiscount }} | Shows the discount quantity of a line item of a fixed-price product bundle. Note: The {{ line.NonBundleTotalDiscount }} variable only shows the discount quantity that a staff member sets or that a price adjustment rule sets. |
{{ line.NonBundleTotalDiscountPercent }} | Shows the discount percentage of a line item of a fixed-price product bundle. Note: The {{ line.NonBundleTotalDiscountPercent }} variable only shows the discount quantity that a staff member sets or that a price adjustment rule sets. |
Twig template variables: Patient
Name | Classic template system equivalent? | Function |
---|---|---|
{{ animal.DeathReason }} | No | Shows the cause of death of the patient. |
{{ animal.AnimalNumber }} | {AnimalNumber} | Shows the value of the Code box of the patient record. |
{{ animal.AnimalColour }} | {AnimalColour} | Shows the color of the patient. |
{{ animal.Name }} | {AnimalName} | Shows the name of the patient. |
{{ animal.FullName }} | No | Shows the name of the patient and the last name of the owner of the patient. |
{{ animal.Sex }} | {AnimalSex} | Shows the sex of the patient. The possible values are:
|
{{ animal.SexStringShort }} | {AnimalSexShort} | Shows the sex of the patient. The possible values are:
|
{{ animal.RabiesNumber }} | {AnimalRabiesNumber} | Shows the rabies tag number of the patient.
Note: This variable is applicable to regions that have the rabies virus.
|
{{ animal.LastVisit }} | {AnimalLastVisit} | Shows the date of the patient's most recent visit.
Note: To show a date value that is easy to read, use this variable with the
date Twig filter. |
{{ animal.RabiesDate }} | No | Shows the date of the most recent rabies injection of the patient. Note: To show a date value that is easy to read, use this variable with the date Twig filter. |
{{ animal.NextVaccinationName }} | {AnimalNextVaccinationName} | |
{{ animal.NextVaccinationDate }} | {AnimalNextVaccinationDate} |
Note: To show a date value that is easy to read, use this variable with the
dateformat Twig filter. |
{{ animal.LastVaccinationDate }} | {AnimalLastVaccinationDate} |
Note: To show a date value that is easy to read, use this variable with the
dateformat Twig filter. |
{{ animal.LastVaccinationName }} | {AnimalLastVaccinationName} | |
{{ animal.AgeString }} | No | Shows the age of the patient. |
{{ animal.AgeInYears }} | {AnimalAgeYears} | Shows the age of the patient in years. |
{{ animal.AgeInMonth }} | {AnimalAgeMonths} | Shows the age of the patient in months. |
{{ animal.DateOfBirth }} | {AnimalDOB} | Shows the full date of birth of the patient.
Note: To show a date value that is easy to read, use this variable with the
dateformat Twig filter. |
{{ animal.DateOfDeath }} | {AnimalDOD} | Shows the date of death of the patient.
Note: To show a date value that is easy to read, use this variable with the
dateformat Twig filter. |
{{ animal.Weight }} | No | Shows the weight of the patient.
Note: This variable shows the weight without the applicable unit of measurement.
|
{{ animal.WeightUnits }} | No | Shows the weight of the patient.
Note: This variable shows the weight with the applicable unit of measurement.
|
{{ animal.CautionStatus }} | No | Shows the caution status of the patient. The possible values are:
|
{{ animal.CautionStatusColour }} | No | Shows the hexadecimal color codes of each caution status of the patient. The possible values are:
|
{{ animal.MicroChip }} | {AnimalMicrochip} | Shows the microchip number of the patient. |
{{ animal.Estimated }} | No | Shows the estimated date of birth of the patient. Note: To show a date value that is easy to read, use this variable with the date Twig filter. |
{{ animal.NextAppointmentStartTime }} | When you use this template variable with the date filter or dateformat filter, the variable is equivalent to:
| Shows the start time of the next appointment of the patient. |
{{ animal.ShortDescription }} | Shows the name, sex, and species of the patient. Note: This variable uses Name (sex - species) format to show the information. | |
{{ animal.DateDesexed }} | {AnimalDateDesexed} | Shows the desex date of the patient.
Note: To show a date value that is easy to read, use this variable with the
dateformat Twig filter. |
{{ animal.ContactToBillName }} | No | Shows the name of the contact record that receives the invoices of the patient. |
{{ animal.AttendingVetsString }} | {AnimalAttendingVets} | Shows the names of the vets that are related to the patient record. |
{{ animal.InsuranceNumber }} | {AnimalInsuranceNumber} | Shows the insurance number of the patient. |
{{ animal.Notes }} | {AnimalNotes} | Shows the notes of the patient. |
{{ animal.AnimalOwnerHtmlTable }} | {AnimalOwnerTable} | Shows a summary of patient information and owner information in a table. The information includes:
Note: You must use the
raw Twig filter with this template variable. |
{{ animal.BSAValue }} | {AnimalBSA} | Shows the body surface area of the patient.
Note: This variable uses the patient weight to calculate the body surface area.
|
{{ animal.ReferrerName }} | {AnimalReferringVet} | Shows the name of the referring veterinarian.
Note: This variable uses a format of Last name, first name (veterinary practice name) to show the information.
|
{{ animal.ReferredVetName }} | No | Shows the name of the referring veterinarian.
Note: This variable uses a format of Last name - first name - veterinary practice name to show the information.
|
{{ animal.Species.Name }} | {AnimalSpecies} | Shows the species of the patient. |
{{ animal.ResidingContact.Name }} | No | If the patient record has Residence selected, shows the name of the applicable contact record. |
{{ animal.ResidingContact.PhysicalAddressText }} | {AnimalResidence} | If the patient record has Residence selected, shows the physical address of the applicable contact record. |
{{ animal.Resuscitate }} | {AnimalResuscitate} | Shows the resuscitation status of the patient. The possible values are:
|
Twig template variables: Payment
Name | Classic template system equivalent? | Function |
---|---|---|
{{ payment.Amount }} | {PaymentAmount} | Shows the quantity paid of the payment. |
{{ payment.ClientContact.BalanceAt }} | {PaymentOutstandingBalance} | Shows the client's outstanding balance of the payment. |
{{ payment.ClientContact.Code }} | {ContactCode} | Shows the code of the client. |
{{ payment.ClientContact.Name }} | {ContactName} | Shows the name of the client.
Note: This variable uses the format Title Last name, First name.
|
{{ payment.Comments }} | {PaymentComment} | Shows the comments of the payment. |
{{ payment.Date }} | {PaymentDate} | Shows the date of the payment. |
{{ payment.Number }} | {PaymentNumber} | Shows the number of the payment. |
{{ payment.PaymentMethod }} | {PaymentMethod} | Shows the payment method of the payment. |
{{ payment.department.Name }} | No | Shows the name of the department.
Note: If your organization uses a single-site configuration, the template variable shows the name of your business. If your organization uses a department configuration or business unit configuration, the variable shows the name of the department that you are signed in to.
|
{{ payment.department.CompanyNumber }} | No | Shows the Australian business number of the department. |
{{ payment.department.PhysicalAddressText }} | No | Shows the full address of the department.
Note: If your organization uses a single-site configuration, the template variable shows the address of the business.
|
{{ payment.department.PhysicalAddress.Line1 }} | No | Shows the first line of the physical address of the department. |
{{ payment.department.PhysicalAddress.Line2 }} | No | Shows the second line of the physical address of the department. |
{{ payment.department.PhysicalAddress.Suburb }} | No | Shows the suburb of the department. |
{{ payment.department.PhysicalAddress.City }} | No | Shows the city of the department. |
{{ payment.department.PhysicalAddress.Region }} | No | Shows the region of the department. |
{{ payment.department.PhysicalAddress.State }} | No | Shows the state of the department. |
{{ payment.department.PhysicalAddress.Country }} | No | Shows the country of the department. |
{{ payment.department.PhysicalAddress.Postcode }} | No | Shows the postcode of the department.
Note: If your organization uses a single-site configuration, the template variable shows the postcode of the business.
|
{{ payment.department.Emailaddress }} | No | Shows the email address of the department. |
{{ payment.department.PhoneNumber }} | No | Shows the phone number of the department. |
{{ payment.department.FaxNumber }} | No | Shows the fax number of the department. |
{{ payment.department.Website }} | No | Shows the website address of the department. |
{{ payment.department.BankAccountNumber }} | No | Shows the bank account number of the department. |
{{ payment.department.PaymentReference }} | No | Shows the payment reference of the department. |
{{ payment.department.TaxNumber }} | No | Shows the tax number of the department. |
{{ payment.Details }} | {PaymentDetails} | Shows the content of the Details box of the payment. |
Twig template variables: Restricted veterinary medicine (RVM)
Name | Function |
---|---|
{{ medication.PrescribingUserName }} | Shows the name of the person who prescribed the medication. |
{{ medication.DispensingUserInitials }} | Shows the initials of the person who dispensed the medication. |
{{ medication.DispensingUserName }} | Shows the name of the person who dispensed the medication. |
{{ medication.Direction }} | Shows the instructions of a restricted veterinary medicine. |
{{ medication.CourseLength }} | Shows the treatment period of a restricted veterinary medicine. |
{{ medication.Dose }} | Shows the dose information of a restricted veterinary medicine. |
{{ medication.Administration }} | Shows the route of administration of a restricted veterinary medicine. |
{{ medication.TreatmentFrequency }} | Shows the treatment interval of a restricted veterinary medicine. |
{{ medication.NumberOfTreatments }} | Shows the number of treatments of a restricted veterinary medicine. |
{{ medication.WithholdingMilk }} | Shows the milk withholding period of a restricted veterinary medicine. |
{{ medication.WithholdingMeat }} | Shows the meat withholding period of a restricted veterinary medicine. |
{{ medication.MaxDispenseQuantity }} | Shows the maximum dispense quantity of a restricted veterinary medicine. |
{{ medication.MaxDispenseFrequencyDays }} | Shows the maximum dispense interval of restricted veterinary medicine. |
{{ medication.ActiveIngredient }} | Shows the active ingredient of a restricted veterinary medicine. |
{{ medication.StartDate }} | Shows the start date of the medication. Note: To show a date format with the template variable, enter {{ medication.startDate|date("jS F Y") }} |
{{ medication.EndDate }} | Shows the end date of the medication. Note: To show a date format with the template variable, enter {{ medication.endDate|date("jS F Y") }} |
{{ medication.MedicationProduct }} | Shows the medication product. |
{{ medication.Remaining }} | Shows the remaining quantity to dispense of a restricted veterinary medicine. |
{{ medication.Qty }} | Shows the quantity of dispensed medications. |
{{ medication.ReasonText }} | Shows information about why the prescription was necessary. |
{{ medication.BatchName }} | Shows the batch name of the medication. |
{{ medication.BatchExpiry }} | Shows the the batch expiry date of the medication. |
{{ medication.PrescriptionNumber }} | Shows the number of prescription. |
{{ medication.MedicationProduct.ProductIdentifier }} | Shows the value of the Product Identifier box of a medication’s configuration. |
{{ product.Warning }} | Shows the warning text of a medication. |
Twig template variables: Statement
Name | Classic template system equivalent? | Function |
---|---|---|
{{ statement.Business.Name }} | No | Shows the signed-in department, business unit, or database. |
{{ debtorcontact.FinalBalance }} | {FinalBalance} | Shows the client balance at the end of the statement period. |
{{ settings.BankAccountNumber }} | {BusinessBankAccount} | Shows the bank account number of the business. |
Twig template variables: Veterinarian
Name | Classic template system equivalent? | Function |
---|---|---|
{{ vetuser.Name }} | {VetUserName} | Shows the username of the veterinarian when you print a document from a clinical record. |
{{ vetuser.UserEmailSig }} | {VetUserSignature} | Shows the signature of the veterinarian when you print a document from a clinical record. |
{{ vetuser.Qualifications }} | {VetUserQualifications} | Shows the qualifications of the veterinarian when you print a document from a clinical record. |
{{ vetuser.RegistrationNumber }} | {VetUserRegistrationNumber} | Shows the registration number of the veterinarian when you print a document from a clinical record. |