Difference between revisions of "Setting/ownerscpbooknametext"

From Beds24 Wiki
Jump to navigation Jump to search
(Created page with "You can use template variables to customize the display. A <br> tag will add a line break. These template variables are supported: [BOOKID] - booking reference / Referenz...")
 
 
(6 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
  
A <br> tag will add a line break.
 
  
 
These template variables are supported:
 
These template variables are supported:
  
[BOOKID] - booking reference / Referenznummer
+
[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)
  
[GROUPID] - booking reference of the master booking/ Referenznummer der Masterbuchung
+
[ROOMID] - room id number
  
[STATUS] - status of booking / Buchungsstatus (Values: 0=Cancelled, 1=Confirmed, 2=New, 3=Request, 4=Black)
+
[ROOMNAME] - room name
  
[ROOMID] - room id number / ID Einheit
+
[UNITID] - ID of the unit (number)
  
[UNITID] - ID of the unit (number) / ID der Einheit (Zahl)
+
[UNITNAME] - unit names of all the assigned room types
  
[QTY] - shows quantity / zeigt Anzahl
+
[QTY] - shows quantity of units booked
  
[FIRSTNIGHT] - first night booked / erste gebuchte Nacht
+
[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 / Buchungshighlight
+
[FLAG] - Flag text
  
 
[GUESTTITLE] - guest title
 
[GUESTTITLE] - guest title
  
[GUESTFIRSTNAME] - firstname ofthe guest  
+
[GUESTFIRSTNAME] - first name of the guest  
  
[GUESTNAME] - name of the guest  
+
[GUESTNAME] - last name of the guest  
  
 
[GUESTCOMPANY] - company name  
 
[GUESTCOMPANY] - company name  
Line 43: Line 60:
 
[REFERRER] - Referrer  
 
[REFERRER] - Referrer  
  
[ACCOUNTID] - account id of the booked property
+
[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

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