Template Variables: Difference between revisions

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


'''[PROPERTYPHONE]''' - property phone  
'''[PROPERTYPHONE]''' - property phone  
'''[PROPERTYID]''' - property id number


'''[ROOMNAME]''' - room names of all booked rooms
'''[ROOMNAME]''' - room names of all booked rooms
Line 27: Line 29:


'''[FIRSTNIGHT]''' - first night booked  
'''[FIRSTNIGHT]''' - first night booked  
'''[FIRSTNIGHTYYYY-MM-DD]''' - first night booked in YYYY-MM-DD format


'''[FIRSTNIGHT:+1day]''' - offset from first night, can be any number of days positive or negative
'''[FIRSTNIGHT:+1day]''' - offset from first night, can be any number of days positive or negative


'''[LASTNIGHT]''' - last night booked  
'''[LASTNIGHT]''' - last night booked  
'''[LASTNIGHTYYYY-MM-DD]''' - last night booked in YYYY-MM-DD format


'''[LASTNIGHT:+1day]''' - offset from last night, can be any number of days positive or negative
'''[LASTNIGHT:+1day]''' - offset from last night, can be any number of days positive or negative


'''[LEAVINGDAY]''' - check-out day
'''[LEAVINGDAY]''' - check-out day
'''[LEAVINGDAYYYYY-MM-DD]''' - check-out day in YYYY-MM-DD format


'''[LEAVINGDAY:+1day]''' - offset from check-out, can be any number of days positive or negative
'''[LEAVINGDAY:+1day]''' - offset from check-out, can be any number of days positive or negative
Line 97: Line 105:


'''[REFERRER]''' - Referrer  
'''[REFERRER]''' - Referrer  
'''[REFERRER2]''' - Referrer2


'''[ORIGINALREFERRER]''' - Original referrer
'''[ORIGINALREFERRER]''' - Original referrer
Line 124: Line 134:
'''[CANCELURL]''' - URL to view and cancel bookings  
'''[CANCELURL]''' - URL to view and cancel bookings  


'''[CURRENTDATE]''' - current date  
'''[CURRENTDATE]''' - current date
 
'''[CURRENTDATEYYYY-MM-DD]''' - current date  in YYYY-MM-DD format


'''[CURRENTDATE:+1day]''' - offset from current date, can be any number of days positive or negative  
'''[CURRENTDATE:+1day]''' - offset from current date, can be any number of days positive or negative  
Line 131: Line 143:


'''[BOOKINGDATE]''' - booking date
'''[BOOKINGDATE]''' - booking date
'''[BOOKINGDATEYYYY-MM-DD]''' - booking date in YYYY-MM-DD format


'''[BOOKINGDATE:+1day]''' - offset from booking date, can be any number of days positive or negative
'''[BOOKINGDATE:+1day]''' - offset from booking date, can be any number of days positive or negative
'''[PROPERTYID]''' - property id number


'''[ROOMID]''' - room id number
'''[ROOMID]''' - room id number