Changes

Jump to navigation Jump to search

Template Variables

1,017 bytes added, 18:21, 26 October 2020
[PROPERTYNOROOMSAVAIL] - No Rooms Available Message from {#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
 
[PROPERTYGROUP] - shows the group keywords
== Room Variables ==
[UNITNAME1:1] - additional information about the assigned room for this booking number / add the additional information on each line after a | symbol where you set the unit names
 
[UNITSTATUS1] - the status if the unit
[ROOMDESCRIPTION] - Room description from {#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENT
[BOOKIDLAST8] - Last 8 digits of booking number
 
[BEDDING] - displays bedding info codes
[RANDOM1] - a 1 digit random number seeded from the booking number
[INTERNALNOTESBR] - content from "Internal Notes" on the Info Tab with line break
 
[INTERNALNOTESHR] - content from "Internal Notes" on the Info Tab with separating line
=== Content from "Summary" tab see also under "Room" and "Property" ===
[GUESTSNAMES] - name of all guests listed on the "guests" tab of the booking of the group booking
 
[GUESTSNAMESINC] - name of all guests listed on the "guests" tab of the booking of the group booking incl. cancelled
[GUESTSFIRSTNAMES] - first name of all guests listed on the "guests" tab of this booking last separated by an &
[GUESTSLASTNAMESINC] - last name of all guests listed on the "guests" tab of this booking incl. cancelled
[BOOKNAMELISTGUESTSADDRESSSBR1] - create a table with address of the first guest names and info for a on the "guests" tab of this booking / Tabelle mit Gastname und Informationen für diese Gruppenbuchunggroup [GUESTSADDRESSSBR1INC] - address of the first guest on the "guests" tab of this booking group incl. cancelled
===Cancellation and Guest Login===
[CANCELDATEYYYY-MM-DD] - date until when the booking is cancellable displaying a date. If the date is in the past 00-00-0000 will be shown
 
[DAYSTOCANCEL] - number of days until booking can be cancelled / Anzahl der Tage bis zu denen stroniert werden kann
[GUESTLOGIN] - URL to view bookings
[CURRENTDATEYYYY-MM-DD] - current date in YYYY-MM-DD format
[CURRENTDATE:{%A, %e %B, %Y}] - current date [CURRENTDATE:+1day{%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. [CURRENTTIME] - current timeand the display can be any valid PHP strftime format string. [CURRENTTIME:+1day{%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.
[DAYSTOCHECKIN] - number of days until check-in
[LEAVINGDAY:+1day{%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.
 
[CURRENTDATE:{%A, %e %B, %Y}] - current date
 
[CURRENTDATE:+1day{%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.
[BOOKINGDATE:{%A, %e %B, %Y}] - booking date
[INVOICEVAL:PAY_THO] will show payments with a thousands separator
 
[INVOICEVAL:UPS1_UPS1] will show the sum of upsell 1 and upsell 2
==== Standard Invoice Values====
[INVOICEPENDPAYFAILNUM234] - failed pending payments (all also past) for the specified invoicee but the value is displayed with a decimal point and no thousands separator (for calculation)
 
[INVOICEPENDPAYRULE1] - shows all pending payment for this rule (exchange 1 for the rule number)
 
[INVOICEPENDPAYRULENUM1] - shows all pending payment for this rule (exchange 1 for the rule number) displayed with a decimal point and no thousands separator (for calculation)
[INVOICECREDITS] - invoice sum of all credit items (negative items)
[INVOICEPAYMENTBYDESCNUM:Searchterm] - searches the payments for items with this search term and adds them up, value is displayed with a decimal point and no thousands separator (for calculations)
 
[UPSELLTABLE] - table with all upsell items
 
[UPSELLTABLEVAT] - table with all upsell items with vat information and vat summary
 
[UPSELLTABLENOREFUND] - table with all upsell items except refundable items
=== Invoice Table ===
[INVOICETABLEVAT] - invoice table with vat information and vat summary
 
[INVOICETABLE:$1.1$] - invoice table and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEPART:status1,status2,!status4] - Invoice table showing only items with matching status. The status items can be a comma separated list. To exclude status items prefix them with an exclamation mark, for example !status1.
 
[INVOICETABLE2] - invoice table with status field
 
[INVOICETABLE2:$1.1$] - invoice table with status field and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLECHARGES] - invoice table showing charges only
 
[INVOICETABLECHARGESINVOICEE1234] - invoice table showing charges only assigned to the specified invoicee, specify the invoicee Id number.
 
[INVOICETABLENOTOT] - invoice table without grand total
 
[INVOICETABLENOTOT:$1.1$] - invoice table without grand total and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLENOTOT2] - invoice table with status field without grand total
 
[INVOICETABLENOTOT2:$1.1$] - invoice table with status field without grand total and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEVAT:$1.1$] - invoice table with vat information and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEVATCOMPACT] - compact version of invoice table with vat information and vat summary
 
[INVOICETABLEVATCOMPACT:$1.1$] - compact version of invoice table with vat information and vat summary and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEVATCOMPACTNOSUM] - compact version of invoice table with vat information without vat summary
 
[INVOICETABLEVATCOMPACTNOSUM:$1.1$] - compact version of invoice table with vat information without vat summary and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEVATNOSUM] - invoice table with vat information without vat summary
 
[INVOICETABLEVATNOSUM:$1.1$] - invoice table with vat information without vat summary and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEDATEVATNOSUM] - invoice table with vat information and date without vat summary
 
[INVOICETABLEDATEVATNOSUM:$1.1$] - invoice table with vat information and date without vat summary and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEVAT2] - invoice table with vat information and status field and vat summary
 
[INVOICETABLEVAT2:$1.1$] - invoice table with vat information and status field and vat summary and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEVAT2NOSUM] - invoice table with vat information and status field without vat summary
 
[INVOICETABLEVAT2NOSUM:$1.1$] - invoice table with vat information and status field without vat summary and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEVATCHARGES] - invoice table showing charges only with vat information and vat summary
 
[INVOICETABLENOPRICE] - invoice table with no price information
 
[INVOICETABLEINVOICEE] - invoice table excluding items assigned to an invoicee.
 
[INVOICETABLEINVOICEE1234] - invoice table for a specific invoicee, specify the invoicee Id number.
 
[UPSELLTABLE] - table with all upsell items
 
[UPSELLTABLEVAT] - table with all upsell items with vat information and vat summary
 
[UPSELLTABLENOREFUND] - table with all upsell items except refundable items
==== Custom Invoice Table ====
Note: 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.
 
==Deprecated==
=== Invoice Tables with predefined content - create a custom invoice table===
[INVOICETABLE:$1.1$] - invoice table and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEPART:status1,status2,!status4] - Invoice table showing only items with matching status. The status items can be a comma separated list. To exclude status items prefix them with an exclamation mark, for example !status1.
 
[INVOICETABLE2] - invoice table with status field
 
[INVOICETABLE2:$1.1$] - invoice table with status field and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLECHARGES] - invoice table showing charges only
 
[INVOICETABLECHARGESINVOICEE1234] - invoice table showing charges only assigned to the specified invoicee, specify the invoicee Id number.
 
[INVOICETABLENOTOT] - invoice table without grand total
 
[INVOICETABLENOTOT:$1.1$] - invoice table without grand total and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLENOTOT2] - invoice table with status field without grand total
 
[INVOICETABLENOTOT2:$1.1$] - invoice table with status field without grand total and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEVAT:$1.1$] - invoice table with vat information and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEVATCOMPACT] - compact version of invoice table with vat information and vat summary
 
[INVOICETABLEVATCOMPACT:$1.1$] - compact version of invoice table with vat information and vat summary and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEVATCOMPACTNOSUM] - compact version of invoice table with vat information without vat summary
 
[INVOICETABLEVATCOMPACTNOSUM:$1.1$] - compact version of invoice table with vat information without vat summary and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEVATNOSUM] - invoice table with vat information without vat summary
 
[INVOICETABLEVATNOSUM:$1.1$] - invoice table with vat information without vat summary and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEDATEVATNOSUM] - invoice table with vat information and date without vat summary
 
[INVOICETABLEDATEVATNOSUM:$1.1$] - invoice table with vat information and date without vat summary and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEVAT2] - invoice table with vat information and status field and vat summary
 
[INVOICETABLEVAT2:$1.1$] - invoice table with vat information and status field and vat summary and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEVAT2NOSUM] - invoice table with vat information and status field without vat summary
 
[INVOICETABLEVAT2NOSUM:$1.1$] - invoice table with vat information and status field without vat summary and currency multiplier with optional new currency symbol before or after price.
 
[INVOICETABLEVATCHARGES] - invoice table showing charges only with vat information and vat summary
 
[INVOICETABLENOPRICE] - invoice table with no price information
 
[INVOICETABLEINVOICEE] - invoice table excluding items assigned to an invoicee.
 
[INVOICETABLEINVOICEE1234] - invoice table for a specific invoicee, specify the invoicee Id number.

Navigation menu