Changes

Jump to navigation Jump to search

Template Variables

801 bytes added, 12:57, 14 May 2016
no edit summary
The price variables can have an optional offset value applied which can be a percentage or fixed amount with or without minus sign added after a colon, for example '''[PRICE:-10]''' or '''[INVOICEBALANCE:25%]'''
== Account Variables ==
[ACCOUNTTEMPLATE1] - Account Template 1
 
[ACCOUNTTEMPLATE2] - Account Template 2
 
[ACCOUNTTEMPLATE3] - Account Template 3
 
[ACCOUNTTEMPLATE4] - Account Template 4
== Property Variables ==
[BOOKINGDATE:+1day{%A, %e %B, %Y}] - optional date offset and display format. The offset can be any plus or minus any number of days and the display can be any valid PHP strftime format string.
==Account Variables(account of the booking) ==
[ACCOUNTID] - account id of the booked property
[LOGGEDINACCOUNTIDACCOUNTTEMPLATE1] - Account Template 1 [ACCOUNTTEMPLATE2] - Account Template 2 [ACCOUNTTEMPLATE3] - Account Template 3 [ACCOUNTTEMPLATE4] - Account Template 4  [MASTERACCOUNTTEMPLATE1] - Account Template 1 from master account [MASTERACCOUNTTEMPLATE2] - Account Template 2 from master account [MASTERACCOUNTTEMPLATE3] - Account Template 3 from master account [MASTERACCOUNTTEMPLATE4] - Account Template 4 from master account id of the  ==Account Variables (logged in user (use account, only for display in control panel only, not appropriate for use in auto actions or emailsetc.)== [LOGGEDINACCOUNTID] - account id of the logged in user [LOGGEDINACCOUNTTEMPLATE1] - Account Template 1 [LOGGEDINACCOUNTTEMPLATE2] - Account Template 2 [LOGGEDINACCOUNTTEMPLATE3] - Account Template 3 [LOGGEDINACCOUNTTEMPLATE4] - Account Template 4  [MASTERLOGGEDINACCOUNTTEMPLATE1] - Account Template 1 from master account [MASTERLOGGEDINACCOUNTTEMPLATE2] - Account Template 2 from master account [MASTERLOGGEDINACCOUNTTEMPLATE3] - Account Template 3 from master account [MASTERLOGGEDINACCOUNTTEMPLATE4] - Account Template 4 from master account

Navigation menu