Difference between revisions of "Setting/ownerscpbooknametext"
Markkinchin (talk | contribs) |
|||
Line 9: | Line 9: | ||
[STATUS] - status of booking (Values: 0=Cancelled, 1=Confirmed, 2=New, 3=Request, 4=Black) | [STATUS] - status of booking (Values: 0=Cancelled, 1=Confirmed, 2=New, 3=Request, 4=Black) | ||
+ | |||
[ROOMID] - room id number | [ROOMID] - room id number | ||
[UNITID] - ID of the unit (number) | [UNITID] - ID of the unit (number) | ||
− | [QTY] - shows quantity | + | [QTY] - shows quantity of units booked |
[FIRSTNIGHT] - first night booked | [FIRSTNIGHT] - first night booked | ||
+ | |||
+ | [FIRSTNIGHT:+0 day{%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. | ||
[LASTNIGHT] - last night booked | [LASTNIGHT] - last night booked | ||
+ | |||
+ | [LASTNIGHT:+0 day{%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. | ||
[LEAVINGDAY] - check-out day | [LEAVINGDAY] - check-out day | ||
+ | |||
+ | [LEAVINGDAY:+0 day{%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. | ||
[NUMADULT] - number of adults | [NUMADULT] - number of adults | ||
Line 27: | Line 34: | ||
[NUMPEOPLE] - number of guests | [NUMPEOPLE] - number of guests | ||
− | [FLAG] - Flag | + | [FLAG] - Flag text |
[GUESTTITLE] - guest title | [GUESTTITLE] - guest title | ||
− | [GUESTFIRSTNAME] - | + | [GUESTFIRSTNAME] - first name of the guest |
− | [GUESTNAME] - name of the guest | + | [GUESTNAME] - last name of the guest |
[GUESTCOMPANY] - company name | [GUESTCOMPANY] - company name | ||
Line 41: | Line 48: | ||
[REFERRER] - Referrer | [REFERRER] - Referrer | ||
− | [ | + | [INVOICEENAME] - invoicee name assigned to the booking |
Revision as of 21:09, 3 June 2021
You can use template variables to customize the display.
These template variables are supported:
[BOOKID] - booking reference
[GROUPID] - booking reference of the master booking/
[STATUS] - status of booking (Values: 0=Cancelled, 1=Confirmed, 2=New, 3=Request, 4=Black)
[ROOMID] - room id number
[UNITID] - ID of the unit (number)
[QTY] - shows quantity of units booked
[FIRSTNIGHT] - first night booked
[FIRSTNIGHT:+0 day{%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.
[LASTNIGHT] - last night booked
[LASTNIGHT:+0 day{%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.
[LEAVINGDAY] - check-out day
[LEAVINGDAY:+0 day{%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.
[NUMADULT] - number of adults
[NUMCHILD] - number of children
[NUMPEOPLE] - number of guests
[FLAG] - Flag text
[GUESTTITLE] - guest title
[GUESTFIRSTNAME] - first name of the guest
[GUESTNAME] - last name of the guest
[GUESTCOMPANY] - company name
[REFERENCE] - content of the booking reference field
[REFERRER] - Referrer
[INVOICEENAME] - invoicee name assigned to the booking