Changes

Jump to navigation Jump to search

Template Variables

93 bytes added, 12:56, 28 September 2020
no edit summary
[UPSELLTABLENOREFUND] - table with all upsell items except refundable items
== iCal Links Invoice Table ==These template variables will create iCal links which allow the booking to be added to a calendar.=== Invoice Tables with predefined content ===[INVOICETABLE] - invoice table
[ICALURLINVOICETABLEVAT] - Calendar link [ICALURL:16] - Calendar link with check-in hour. Replace '16' with the hour check-in starts. [ICALURL::10] - Calendar link invoice table with check-out hour. Replace '10' with the hour with the hour check-out ends. [ICALURL:::vat information and vat summary text] - Calendar link with a summary text [ICALURL::::description text] - Calendar link with a descriptive text Example:
Calendar link with check-in time 16:00, check-out time 10:00, the summary text "Booking" and the description text "Sunny Hotel":
 
[ICALURL:16:10:Booking:Sunny Hotel]
 
== Invoice Table ==
=== Custom Invoice Table ===
You have the option to create a custom invoice table. Available content variables are:
[INVOICE:PAY_TOT_CEX] will create an invoice table which will only show payments.
 
=== Invoice Tables with predefined content ===
 
[INVOICETABLE] - 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] - invoice table with vat information and vat summary
 
[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.
== Invoicee Variables ==
[INVOICEETEMPLATE8] - template value 8 of the invoice account the invoice is assigned to or blank
 
== iCal Links ==
These template variables will create iCal links which allow the booking to be added to a calendar.
 
[ICALURL] - Calendar link
 
[ICALURL:16] - Calendar link with check-in hour. Replace '16' with the hour check-in starts.
 
[ICALURL::10] - Calendar link with check-out hour. Replace '10' with the hour with the hour check-out ends.
 
[ICALURL:::summary text] - Calendar link with a summary text
 
[ICALURL::::description text] - Calendar link with a descriptive text
 
Example:
 
Calendar link with check-in time 16:00, check-out time 10:00, the summary text "Booking" and the description text "Sunny Hotel":
 
[ICALURL:16:10:Booking:Sunny Hotel]
== Guest Variables ==
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