Setting/ownerscpbooknametext: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
You can use template variables to customize the display. | You can use template variables along with fixed text to customize the display of each booking. | ||
Multiple lines are supported by adding new lines in the setting. | |||
You can truncate the display if required. The truncation will start where you add the template variable: | |||
[MAXCHAR:xx] - replace xx with the number of characters | |||
[MAXCHARPERDAY:xx] - will truncate to these many characters per day, replace xx with the number of characters | |||
These template variables are supported: | These template variables are supported: | ||
[BOOKID] - booking reference / | [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 | ||
[ | [ROOMNAME] - room name | ||
[ | [UNITID] - ID of the unit (number) | ||
[ | [UNITNAME] - unit names of all the assigned room types | ||
[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 | ||
[NUMADULT] - number of adults | [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 | [NUMCHILD] - number of children | ||
[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 42: | Line 60: | ||
[REFERRER] - Referrer | [REFERRER] - Referrer | ||
[ | [INVOICEENAME] - invoicee name assigned to 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 | |||
[GUESTCUSTOMQ5] - answer to custom question 5 | |||
[GUESTCUSTOMQ6] - answer to custom question 6 | |||
[GUESTCUSTOMQ7] - answer to custom question 7 | |||
[GUESTCUSTOMQ8] - answer to custom question 8 | |||
[GUESTCUSTOMQ9] - answer to custom question 9 | |||
[GUESTCUSTOMQ10] - answer to custom question 10 | |||