Changes

Jump to navigation Jump to search

Template Variables

1,095 bytes added, 9 February
[ROOMTEMPLATE8BR] - ROOM Template 8 with linkbreak
[ROOMMETAAUXTEXT] - room meta auxiliary text setting for first booked room{{#fas:cog}} (SETTINGS) PROPERTIES > ROOMS > SETUP > DISPLAY
[ROOMMETAAUXTEXTS] - room meta auxiliary text setting for all booked rooms
[ROOMMETAAUXTEXTSINC] - room auxiliary text setting for all booked rooms, incl. cancelled bookings
[INTERNALROOMNAME] - internal room name as used in the control panel, this is not the translated room name shown on the booking page
[OFFERID] - ID of the boked booked offer
[OFFERNAME] - booked offer name for all booked rooms
[OFFERSUMMARYINC] - summary offers including cancelled bookings
[UNITIDUNITID1] - ID of the unit (number) for this booking number (coming soon)
[UNITNAME] - unit names of all the assigned room types in the booking group (cancelled bookings are not shown)
[RANDOM8] - a 8 digit random number seeded from the booking number
[VOUCHERPHRASE1] - Voucher Phrase - change the nubmer number to the voucher you want to print out.
[VOUCHERAMOUNT1] - Voucher Amount - change the nubmer number to the voucher you want to print out.
=== Content from "Info" tab ===
[COMMISSIONNUM] - As per [COMMISSION] but the value is displayed with a decimal point and no thousands separator and no currency symbols (for calculation)
[COMMISSIONGROUP] - Value of the commission of the complete group bookingwith currency symbol [COMMISSIONGROUPNUM] - As per [COMMISSIONGROUP] but the value is displayed with a decimal point and no thousands separator and no currency symbols (for calculation)
[GUESTVOUCHER] - voucher code used with booking
[CANCELLEDTIME] - date when the booking was cancelled
[CANCELLEDTIME:{%A, %e %B, %Y}] - date when the booking was cancelled display can be any valid PHP strftime format string
[CANCELURL] - URL to view and cancel bookings
[GUESTLOGIN] - URL to view bookings
[TURNOVERDAYS] - days until next arrival into the same unitnot considering black bookings  [TURNOVERDAYSB] - days until next arrival into the same unit considering black bookings  [VACANTDAYS] days from previous checkout to check in of current booking not considering black bookings
[VACANTDAYSVACANTDAYSB] days from previous checkout to check in of current bookingconsidering black bookings
==Date and Time==
BREF = Booking number
 
BRL1 = Last digit of booking number
 
BRL2 = Last 2 digits of booking number
 
BRL3 = Last 3 digits of booking number
 
BRL4 = Last 4 digits of booking number
 
BRL5 = Last 5 digits of booking number
 
BRL6 = Last 6 digits of booking number
CITY = Booking city
NOTE = Booking note
 
NUMN = Number of nights booked
ONAM = Offer Name
PAIC = Payment amount with currency symbol
 
PADD = Property Address
PAID = Paid amount
 
PCIT = Property City
PEOP = Number of guests
STUS = Status
 
TEXT = Prints a plain text table instead of HTML
TOTA = Total price
[INVOICEECURRENCY] - currency of the invoicee account the invoice is assigned to if it is not the property default or blank
 
[INVOICEENOTES] - value of the "Notes" field for the invoicee
[INVOICEETEMPLATE1] - template value 1 of the invoice account the invoice is assigned to or blank
Note<span style="color: #f3e504; font-size: 150%;" >{{#fas:lightbulb}} </span> Always use the template variables ending with NUM if numbers are involved. The math functions will only work with numbers with a decimal point (not a decimal comma) and no thousands separator and no currency symbol.
2,869

edits

Navigation menu