Changes

Jump to navigation Jump to search

Template Variables

60 bytes added, 11:38, 30 November 2021
If the Booking Info Code CHECKIN has been added to the booking then you will see the value in the text (date/time) otherwise blank.
  [INWORDS] Using multiple IF statements to display special messages :- writes out a number in words. This works in English only.  Expamles:  [INWORDS] 10 will write out then [INWORDS] [INVOICEPAYMENTSNUM] will write out the invoice sum of all payments  [INWORDS] [INVOICEPAYMENTSNUM] [+] 10 will write out the invoice sum of all payments plus 10
Example 1: You want to display a special message to Australians if the booking has a DEPOSIT info item code, if a deposit is required from a non Australia they get "A deposit is required" and if no deposit is required they see "No deposit is required"
[<span style="color: #019cde">IF=:[STATUS]:Confirmed:PAID|[IF<^[INADVANCE]^30</span><span style="color: #75d5ad">^Payment Due Date: As soon as possible</span><span style="color: #fe746c">~Payment Due Date: [FIRSTNIGHT:- 30 days]]</span>]
 
[INWORDS] - writes out a number in words. This works in English only.
 
Expamles:
 
[INWORDS] 10 will write out then
 
[INWORDS] [INVOICEPAYMENTSNUM] will write out the invoice sum of all payments
 
[INWORDS] [INVOICEPAYMENTSNUM] [+] 10 will write out the invoice sum of all payments plus 10
== Encoding Template Variables ==
2,819

edits

Navigation menu