home

Browse documentation

ezyVet Knowledge Center

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

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.