Template Variables: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


==Template Variables==
==Template Variables==
[PROPERTYNAME] - property name  
'''[PROPERTYNAME]''' - property name  


[ROOMNAME] - room name
'''[ROOMNAME]''' - room name


[ROOMNAMES] - a comma separated list of all room types booked  
'''[ROOMNAMES]''' - a comma separated list of all room types booked  


[REFERENCENUMBER] - booking reference  
'''[REFERENCENUMBER]''' - booking reference  


[FIRSTNIGHT] - first night booked  
'''[FIRSTNIGHT]''' - first night booked  


[FIRSTNIGHT:+1day] - offset from first night
'''[FIRSTNIGHT:+1day]''' - offset from first night


'''[LASTNIGHT]''' - last night booked  
'''[LASTNIGHT]''' - last night booked  


;[LASTNIGHT:+1day] - offset from last night
'''[LASTNIGHT:+1day]''' - offset from last night
;[LEAVINGDAY] - check-out day
 
;[LEAVINGDAY:+1day] - offset from check-out
'''[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)  
[LEAVINGDAY:+1day] - offset from check-out
;[NUMNIGHT] - number of nights  
 
;[NUMADULT] - number of adults  
'''[NUMROOM]''' - the quantity of rooms booked (first room type only)  
;[NUMCHILD] - number of children  
 
;[NUMPEOPLE] - number of guests  
'''[NUMROOMS]''' - the quantity of rooms booked (sum of all rooms and room types)  
;[RATEDESC] - name of the rate  
 
;[PRICE] - Price  
'''[NUMNIGHT]''' - number of nights  
;[AVPRICE] - Average Nightly Price  
 
;[GUESTNAME] - name to the guest
'''[NUMADULT]''' - number of adults  
;[GUESTFIRSTNAME] - firstname to the guest  
 
;[GUESTFULLNAME] - lastname to the guest  
'''[NUMCHILD]''' - number of children  
;[GUESTEMAIL] - guests Email  
 
;[GUESTPHONE]  - guests phonenumber  
'''[NUMPEOPLE]''' - number of guests  
;[GUESTADDRESS]  - guests address  
 
;[GUESTPOSTCODE] -  guests postcode
'''[RATEDESC]''' - name of the rate  
;[GUESTCOUNTRY] - guests country  
 
;[GUESTMOBILE] - guests mobilenumber  
'''[PRICE]''' - Price  
;[GUESTFAX] - guests faxnumber
 
;[GUESTARRIVALTIME] - arrivaltime  
'''[AVPRICE]''' - Average Nightly Price  
;[GUESTCOMMENTS] - comments in the booking  
 
;[GUESTCUSTOMQ1] - answer to custom question 1  
'''[GUESTNAME]''' - name to the guest
;[GUESTCUSTOMQ2] - answer to custom question 2  
 
;[GUESTCUSTOMQ3] - answer to custom question 3  
'''[GUESTFIRSTNAME]''' - firstname to the guest  
;[GUESTCUSTOMQ4] - answer to custom question 4
 
;[REFERRER] - Referrer  
'''[GUESTFULLNAME]''' - lastname to the guest  
;[ORIGINALREFERRER] - Originalreferrer
 
;[APIREF] - the booking number at the originating channel
'''[GUESTEMAIL]''' - guests Email  
;[NOTES] - notes  
 
;[MESSAGE] - the content of the booking message field
'''[GUESTPHONE]''' - guests phonenumber  
;[REFERENCE] - content of the booking reference field
 
;[INVOICEBALANCE] - invoice balance
'''[GUESTADDRESS]''' - guests address  
;[INVOICETABLE] - invoice table
 
;[STATUS] - status of booking  
'''[GUESTPOSTCODE]''' -  guests postcode
;[FLAG] - Flag / Buchungshighlight
 
;[CANCELURL] - URL to view and cancel bookings  
'''[GUESTCOUNTRY]''' - guests country  
;[CURRENTDATE] - current date  
'''
;[CURRENTDATE:+1day] - offset from current date  
[GUESTMOBILE]''' - guests mobilenumber  
;[CURRENTTIME] - current time
 
;[BOOKINGDATE] - booking date
'''[GUESTFAX]''' - guests faxnumber
;[BOOKINGDATE:+1day] - offset from booking date
 
'''[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  
 
'''[CURRENTDATE:+1day]''' - offset from current date  
 
'''[CURRENTTIME]''' - current time
 
'''[BOOKINGDATE]''' - booking date
 
'''[BOOKINGDATE:+1day]''' - offset from booking date