Difference between revisions of "Template Variables"

From Beds24 Wiki
Jump to navigation Jump to search
Line 6: Line 6:
  
 
==Template Variables==
 
==Template Variables==
;[PROPERTYNAME] - property name / Objektname
+
;[PROPERTYNAME] - property name  
;[ROOMNAME] - room name / Name Einheit
+
;[ROOMNAME] - room name
;[ROOMNAMES] - a comma separated list of all room types booked / eine kommagetrennte Liste aller gebuchten Einheitstypen
+
;[ROOMNAMES] - a comma separated list of all room types booked  
;[REFERENCENUMBER] - booking reference / Referenznummer
+
;[REFERENCENUMBER] - booking reference  
;[FIRSTNIGHT] - first night booked / erste gebuchte Nacht
+
;[FIRSTNIGHT] - first night booked  
;[LASTNIGHT] - last night booked / letzte gebuchte Nacht
+
;[LASTNIGHT] - last night booked  
;[LEAVINGDAY] - check-out day / Abreisetag
+
;[LEAVINGDAY] - check-out day
;[NUMROOM] - the quantity of rooms booked (first room type only) /Anzahl gebuchter Einheiten (nur erster Einheitstyp)
+
;[NUMROOM] - the quantity of rooms booked (first room type only)  
;[NUMROOMS] - the quantity of rooms booked (sum of all rooms and room types) / Anzahl der gebuchten Einheien (alle Einheiten und Typen)
+
;[NUMROOMS] - the quantity of rooms booked (sum of all rooms and room types)  
;[NUMNIGHT] - number of nights / Anzahl Nächte
+
;[NUMNIGHT] - number of nights  
;[NUMADULT] - number of adults / Anzahl Erwachsene
+
;[NUMADULT] - number of adults  
;[NUMCHILD] - number of children / Anzahl Kinder
+
;[NUMCHILD] - number of children  
;[NUMPEOPLE] - number of guests / Anzahl Gäste
+
;[NUMPEOPLE] - number of guests  
;[RATEDESC] - name of the rate / Preisbezeichnung
+
;[RATEDESC] - name of the rate  
;[PRICE] - Price / Preis
+
;[PRICE] - Price  
 
;[AVPRICE] - Average Nightly Price  
 
;[AVPRICE] - Average Nightly Price  
;[GUESTNAME] - name to the guest / Name des Gasts
+
;[GUESTNAME] - name to the guest
;[GUESTFIRSTNAME] - firstname to the guest / Vorname des Gasts
+
;[GUESTFIRSTNAME] - firstname to the guest  
;[GUESTFULLNAME] - lastname to the guest / Nachname des Gasts
+
;[GUESTFULLNAME] - lastname to the guest  
;[GUESTEMAIL] - guests Email / Email des Gasts
+
;[GUESTEMAIL] - guests Email  
;[GUESTPHONE]  - guests phonenumber / Telefonnummer des Gasts
+
;[GUESTPHONE]  - guests phonenumber  
;[GUESTADDRESS]  - guests address / Adresse des Gasts
+
;[GUESTADDRESS]  - guests address  
;[GUESTPOSTCODE] -  guests postcode/ PLZdes Gasts
+
;[GUESTPOSTCODE] -  guests postcode
;[GUESTCOUNTRY] - guests country / Land des Gasts
+
;[GUESTCOUNTRY] - guests country  
;[GUESTMOBILE] - guests mobilenumber / Mobilnummer des Gasts
+
;[GUESTMOBILE] - guests mobilenumber  
;[GUESTFAX] - guests faynumber / Faxnummer des Gasts
+
;[GUESTFAX] - guests faxnumber
;[GUESTARRIVALTIME] - arrivaltime / Ankunftszeit
+
;[GUESTARRIVALTIME] - arrivaltime  
;[GUESTCOMMENTS] - comments in the booking / Kommentare in der Buchung
+
;[GUESTCOMMENTS] - comments in the booking  
;[GUESTCUSTOMQ1] - answer to custom question 1 / Antwort auf individuelle Frage 1
+
;[GUESTCUSTOMQ1] - answer to custom question 1  
 
;[GUESTCUSTOMQ2] - answer to custom question 2 / Antwort auf individuelle Frage 2
 
;[GUESTCUSTOMQ2] - answer to custom question 2 / Antwort auf individuelle Frage 2
 
;[GUESTCUSTOMQ3] - answer to custom question 3 / Antwort auf individuelle Frage 3
 
;[GUESTCUSTOMQ3] - answer to custom question 3 / Antwort auf individuelle Frage 3

Revision as of 12:52, 22 October 2013

Below is a List of Template Variables.

These variables (short codes) will be replaced by the relevant information from each booking. They can be used in every text settings that allows their use . Copy them exactly as shown, including the square brackets and upper case.

Template Variables

[PROPERTYNAME] - property name
[ROOMNAME] - room name
[ROOMNAMES] - a comma separated list of all room types booked
[REFERENCENUMBER] - booking reference
[FIRSTNIGHT] - first night booked
[LASTNIGHT] - last night booked
[LEAVINGDAY] - check-out day
[NUMROOM] - the quantity of rooms booked (first room type only)
[NUMROOMS] - the quantity of rooms booked (sum of all rooms and room types)
[NUMNIGHT] - number of nights
[NUMADULT] - number of adults
[NUMCHILD] - number of children
[NUMPEOPLE] - number of guests
[RATEDESC] - name of the rate
[PRICE] - Price
[AVPRICE] - Average Nightly Price
[GUESTNAME] - name to the guest
[GUESTFIRSTNAME] - firstname to the guest
[GUESTFULLNAME] - lastname to the guest
[GUESTEMAIL] - guests Email
[GUESTPHONE] - guests phonenumber
[GUESTADDRESS] - guests address
[GUESTPOSTCODE] - guests postcode
[GUESTCOUNTRY] - guests country
[GUESTMOBILE] - guests mobilenumber
[GUESTFAX] - guests faxnumber
[GUESTARRIVALTIME] - arrivaltime
[GUESTCOMMENTS] - comments in the booking
[GUESTCUSTOMQ1] - answer to custom question 1
[GUESTCUSTOMQ2] - answer to custom question 2 / Antwort auf individuelle Frage 2
[GUESTCUSTOMQ3] - answer to custom question 3 / Antwort auf individuelle Frage 3
[GUESTCUSTOMQ4] - answer to custom question 4 / Antwort auf individuelle Frage 4
[REFERRER] - Referrer / Referrer
[ORIGINALREFERRER] - Originalreferrer / Originalreferrer
[APIREF] - the booking number at the originating channel
[NOTES] - notes / Notizen
[MESSAGE] - the content of the booking message field
[REFERENCE] - content of the booking reference field
[INVOICEBALANCE] - invoice balance / Rechnungssumme
[INVOICETABLE] - invoice table / Rechnungstabelle
[STATUS] - status of booking / Buchungsstatus
[FLAG] - Flag / Buchungshighlight
[CANCELURL] - URL to view and cancel bookings / URL um Buchungen einzusehen und zu stornieren
[CURRENTDATE] - current date / aktuelles Datum
[CURRENTTIME] - current time / aktuelle Zeit
[BOOKINGDATE] - booking date