Difference between revisions of "Setting/ownerscpbooknametext"

From Beds24 Wiki
Jump to navigation Jump to search
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.  
  
  
Line 49: Line 49:
  
 
[INVOICEENAME] - invoicee name assigned to the booking
 
[INVOICEENAME] - invoicee name assigned to the booking
 +
 +
 +
multiple lines are supported by adding new lines in the setting.

Revision as of 21:51, 3 June 2021

You can use template variables along with fixed text to customize the display of each booking.


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


multiple lines are supported by adding new lines in the setting.