Difference between revisions of "Setting/ownerscpbooknametext"

From Beds24 Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
You can use template variables along with fixed text to customize the display of each booking.  
 
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
  
  
Line 11: Line 19:
  
 
[ROOMID] - room id number  
 
[ROOMID] - room id number  
 +
 +
[ROOMNAME] - room name
  
 
[UNITID] - ID of the unit (number)  
 
[UNITID] - ID of the unit (number)  
 +
 +
[UNITNAME] - unit names of all the assigned room types
  
 
[QTY] - shows quantity of units booked
 
[QTY] - shows quantity of units booked
Line 50: Line 62:
 
[INVOICEENAME] - invoicee name assigned to the booking
 
[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
  
multiple lines are supported by adding new lines in the setting.
+
[GUESTCUSTOMQ10] - answer to custom question 10

Latest revision as of 20:07, 27 August 2021

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:

[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 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

[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