home

Browse documentation

ezyVet Knowledge Center

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

Twig template variables: Departments

The department variables show the contact information and the tax number of a department. Each variable starts with department.

Variables

NameClassic template system equivalent?Function
{{ department.Name }}{DepartmentName}Shows the name of the department.
Note: This variable shows:
  • The name of your organization, if your organization uses a single-site configuration
  • The name of the department that you are signed in to, if your organization uses a department configuration or business unit configuration
{{ 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 your organization.
{{ department.PhysicalAddress.Street1 }}{DepartmentAddressLine1}Shows the first line of the physical address of the department.
{{ department.PhysicalAddress.Street2 }}{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.
Note: You cannot use this variable in a template at this time. A template that uses this variable shows an error message, and ezyVet does not show the document.
{{ 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 your organization.
{{ 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.