home

Browse documentation

ezyVet Knowledge Center

Get access to documentation, training, and other high-quality resources.

Twig template variables: Full list

See a full list of the Twig template variables that ezyVet has.

Twig template variables: Business

NameClassic 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

NameClassic 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 }}NoShows the medication product name of the clinical record.
{{ consult.TherapeuticSpecifics }}NoShows 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

NameClassic 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:
  • All email addresses of the client
  • All fax numbers of the client
  • All landline phone numbers of the client
  • All mobile phone numbers of the client
{{ 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:
  • Mr
  • Mrs
  • Miss
  • Ms
  • Dr
  • Mx
{{ 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 }}NoShows the day of the month of the client's direct debit instruction.
{{ contact.EmailAddress }}NoShows 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 }}NoShows the distance that the client must travel to the veterinary practice.
{{ contact.CreatedDate }}NoShows 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 }}NoShows the Xero account code of the contact record.
{{ contact.SuppliedGstRate }}NoShows 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 }}NoShows the credit status of the client.
{{ contact.CreditStatusStringHtml }}NoShows the credit status of the client.
Note: This variable also shows the color of each credit status.
{{ contact.ContactMethod.Name }}NoShows the preferred contact method of the contact record.
{{ contact.Website }}NoShows the website of the contact record.
{{ contact.BusinessPhone }}NoShows the phone number of the business of the contact record.
{{ contact.FirstEmail }}NoShows the first email address of the contact record.
{{ contact.StaffMember }}NoShows the the staff member who made the contact record.
{{ contact.CompanyNumber }}{ContactPhoneNumber}Shows the phone number of the client.
{{ contact.BankAccountNumber }}NoShows the bank account number of the client.
{{ contact.PaymentReference }}NoShows the payment reference information for electronic payments of the client.
{{ contact.TaxNumber }}NoShows the tax number of the client.
{{ contact.AccountNumber }}{SupplierContactAccountCode}Shows the account code of the supplier account.
{{ contact.Country.Name }}NoShows the country of the client.
{{ contact.SatisfactionLevel }}NoShows 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 }}NoShows 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 }}NoShows 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 }}NoShows 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 }}NoShows the method that ezyVet uses to charge interest in the Charge Late Fees/Interest report. The possible values are:
  • -1 (the report uses the default financial settings of the ezyVet site)
  • 1 (the report charges interest)
  • 0 (the report does not charge interest)
{{ contact.InterestRate }}NoShows the rate of the annual interest charged to the client. This variable shows the information as a percentage
{{ contact.TaxOverrideCode }}NoShows 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:
  • All email addresses of the client
  • All fax numbers of the client
  • All landline phone numbers of the client
  • All mobile phone numbers of the client
{{ contact.EmailPhonesList }}NoShows the email addresses and phone numbers of the client.
Note: The variable uses this format to show the data:
  • Name1: number or email
{{ 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

NameClassic 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

NameClassic 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:
  • Male
  • Female
{{ 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

NameClassic template system equivalent?Function
{{ invoice.Name }}NoShows the name of the invoice.
Note: This variable uses this format for the invoice name:
  • <invoice-number>-<invoice-date>
{{ 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.ApprovedAt }}|dateformat
{{ invoice.FreightGstRate }}NoShows the GST rate of the freight of the invoice.
{{ invoice.FreightGst }}No Shows the total GST of the freight of the invoice.
{{ invoice.Freight }}NoShows 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 }}NoShows 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.getAllocatedHTML | replace({'\n': ,}) }}

{{ invoice.InvoiceItemsHtml }}NoShows 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 }}NoShows the content of the Specifics box of therapeutic records of the clinical record.
{{ financial.DivisionTaxNumber }}NoShows 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 }}NoShows 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

NameFunction
{{ 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.
Note: The content of the Printable Name box is the alternative product name.
{{ 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

NameClassic template system equivalent?Function
{{ animal.DeathReason }}NoShows 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 }}NoShows 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:
  • Male
  • Female
{{ animal.SexStringShort }}{AnimalSexShort}Shows the sex of the patient. The possible values are:
  • M
  • F
  • MN
  • FS
{{ 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 }}NoShows 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 }}NoShows 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 }}NoShows the weight of the patient.
Note: This variable shows the weight without the applicable unit of measurement.
{{ animal.WeightUnits }}NoShows the weight of the patient.
Note: This variable shows the weight with the applicable unit of measurement.
{{ animal.CautionStatus }}NoShows the caution status of the patient. The possible values are:
  • Caution
  • Unfriendly
  • Friendly
  • Unknown
{{ animal.CautionStatusColour }}NoShows the hexadecimal color codes of each caution status of the patient. The possible values are:
  • #aa1111 (for the Caution status)
  • #ff6600 (for the Unfriendly status)
  • #00bfff (for the Friendly status)
  • #4d4d4d (for the Unknown status)
{{ animal.MicroChip }}{AnimalMicrochip}Shows the microchip number of the patient.
{{ animal.Estimated }}NoShows 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:
  • {AnimalNextAppointment}
  • {AnimalNextAppointmentDate}
  • {AnimalNextAppointmentDayShort}
  • {AnimalNextAppointmentDayLong}
  • {AnimalNextAppointmentTime}
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 }}NoShows 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:
  • The name of the owner
  • The address of the owner
  • The name of the patient
  • The species of the patient
  • The breed of the patient
  • The age of the patient
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 }}NoShows 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 }}NoIf 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:
  • Resuscitate
  • Do Not Resuscitate
  • Advanced Life Support
  • Unspecified

Twig template variables: Payment

NameClassic 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 }}NoShows 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 }}NoShows the Australian business number of the department.
{{ payment.department.PhysicalAddressText }}NoShows 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 }}NoShows the first line of the physical address of the department.
{{ payment.department.PhysicalAddress.Line2 }}NoShows the second line of the physical address of the department.
{{ payment.department.PhysicalAddress.Suburb }}NoShows the suburb of the department.
{{ payment.department.PhysicalAddress.City }}NoShows the city of the department.
{{ payment.department.PhysicalAddress.Region }}NoShows the region of the department.
{{ payment.department.PhysicalAddress.State }}NoShows the state of the department.
{{ payment.department.PhysicalAddress.Country }}NoShows the country of the department.
{{ payment.department.PhysicalAddress.Postcode }}NoShows 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 }}NoShows the email address of the department.
{{ payment.department.PhoneNumber }}NoShows the phone number of the department.
{{ payment.department.FaxNumber }}NoShows the fax number of the department.
{{ payment.department.Website }}NoShows the website address of the department.
{{ payment.department.BankAccountNumber }}NoShows the bank account number of the department.
{{ payment.department.PaymentReference }}NoShows the payment reference of the department.
{{ payment.department.TaxNumber }}NoShows 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)

NameFunction
{{ 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

NameClassic template system equivalent?Function
{{ statement.Business.Name }}NoShows 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.
Note: This variable shows the value of the Bank Account Number box of ezyVet's system settings.

Twig template variables: Veterinarian

NameClassic 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.