Difference between revisions of "Template Variables"
Jump to navigation
Jump to search
Line 35: | Line 35: | ||
;[GUESTCOMMENTS] - comments in the booking | ;[GUESTCOMMENTS] - comments in the booking | ||
;[GUESTCUSTOMQ1] - answer to custom question 1 | ;[GUESTCUSTOMQ1] - answer to custom question 1 | ||
− | ;[GUESTCUSTOMQ2] - answer to custom question | + | ;[GUESTCUSTOMQ2] - answer to custom question 2 |
− | ;[GUESTCUSTOMQ3] - answer to custom question | + | ;[GUESTCUSTOMQ3] - answer to custom question 3 |
− | ;[GUESTCUSTOMQ4] - answer to custom question | + | ;[GUESTCUSTOMQ4] - answer to custom question 4 |
− | ;[REFERRER] - | + | ;[REFERRER] - Referrer |
− | ;[ORIGINALREFERRER] - | + | ;[ORIGINALREFERRER] - Originalreferrer |
;[APIREF] - the booking number at the originating channel | ;[APIREF] - the booking number at the originating channel | ||
− | ;[NOTES] - notes | + | ;[NOTES] - notes |
;[MESSAGE] - the content of the booking message field | ;[MESSAGE] - the content of the booking message field | ||
;[REFERENCE] - content of the booking reference field | ;[REFERENCE] - content of the booking reference field | ||
− | ;[INVOICEBALANCE] - invoice balance | + | ;[INVOICEBALANCE] - invoice balance |
− | ;[INVOICETABLE] - invoice table | + | ;[INVOICETABLE] - invoice table |
− | ;[STATUS] - status of booking | + | ;[STATUS] - status of booking |
;[FLAG] - Flag / Buchungshighlight | ;[FLAG] - Flag / Buchungshighlight | ||
− | ;[CANCELURL] - URL to view and cancel bookings | + | ;[CANCELURL] - URL to view and cancel bookings |
− | ;[CURRENTDATE] - current date | + | ;[CURRENTDATE] - current date |
− | ;[CURRENTTIME] - current time | + | ;[CURRENTTIME] - current time |
;[BOOKINGDATE] - booking date | ;[BOOKINGDATE] - booking date |
Revision as of 11:56, 22 October 2013
Below is a List of Template Variables.
These variables (short codes) will be replaced by the relevant information from each booking. They can be used in every text settings that allows their use . Copy them exactly as shown, including the square brackets and upper case.
Template Variables
- [PROPERTYNAME] - property name
- [ROOMNAME] - room name
- [ROOMNAMES] - a comma separated list of all room types booked
- [REFERENCENUMBER] - booking reference
- [FIRSTNIGHT] - first night booked
- [LASTNIGHT] - last night booked
- [LEAVINGDAY] - check-out day
- [NUMROOM] - the quantity of rooms booked (first room type only)
- [NUMROOMS] - the quantity of rooms booked (sum of all rooms and room types)
- [NUMNIGHT] - number of nights
- [NUMADULT] - number of adults
- [NUMCHILD] - number of children
- [NUMPEOPLE] - number of guests
- [RATEDESC] - name of the rate
- [PRICE] - Price
- [AVPRICE] - Average Nightly Price
- [GUESTNAME] - name to the guest
- [GUESTFIRSTNAME] - firstname to the guest
- [GUESTFULLNAME] - lastname to the guest
- [GUESTEMAIL] - guests Email
- [GUESTPHONE] - guests phonenumber
- [GUESTADDRESS] - guests address
- [GUESTPOSTCODE] - guests postcode
- [GUESTCOUNTRY] - guests country
- [GUESTMOBILE] - guests mobilenumber
- [GUESTFAX] - guests faxnumber
- [GUESTARRIVALTIME] - arrivaltime
- [GUESTCOMMENTS] - comments in the booking
- [GUESTCUSTOMQ1] - answer to custom question 1
- [GUESTCUSTOMQ2] - answer to custom question 2
- [GUESTCUSTOMQ3] - answer to custom question 3
- [GUESTCUSTOMQ4] - answer to custom question 4
- [REFERRER] - Referrer
- [ORIGINALREFERRER] - Originalreferrer
- [APIREF] - the booking number at the originating channel
- [NOTES] - notes
- [MESSAGE] - the content of the booking message field
- [REFERENCE] - content of the booking reference field
- [INVOICEBALANCE] - invoice balance
- [INVOICETABLE] - invoice table
- [STATUS] - status of booking
- [FLAG] - Flag / Buchungshighlight
- [CANCELURL] - URL to view and cancel bookings
- [CURRENTDATE] - current date
- [CURRENTTIME] - current time
- [BOOKINGDATE] - booking date