Template Variables: Difference between revisions
Jump to navigation
Jump to search
| Line 1,673: | Line 1,673: | ||
[IFBETWEEN: | [IFBETWEEN: | ||
=== Examples === | |||
Template variables can be used inside this template variable as per the examples <span style="color: #019cde">comparison in blue</span>, <span style="color: #75d5ad">positive result in green</span>, <span style="color: #fe746c">negative result in red</span>: | Template variables can be used inside this template variable as per the examples <span style="color: #019cde">comparison in blue</span>, <span style="color: #75d5ad">positive result in green</span>, <span style="color: #fe746c">negative result in red</span>: | ||
| Line 1,718: | Line 1,720: | ||
12. [<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>] | 12. [<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>] | ||
You want to display a special message for your guests for any bookings with Status not = Confirmed, and if the checkin date is more than 30 days in advance, then send the message with "Payment Due Date : "or that the "Payment is due As soon as possible". | You want to display a special message for your guests for any bookings with Status not = Confirmed, and if the checkin date is more than 30 days in advance, then send the message with "Payment Due Date : "or that the "Payment is due As soon as possible". | ||
13. [<span style="color: #019cde">[IFBETWEEN:[TURNOVERDAYS]:0/span><span style="color: #75d5ad">:3:yes|</span><span style="color: #fe746c">no</span>] | |||
You want to test if the days between the current booking and next booking is between 0 and 3 days. | |||
== Write out the number in Words. == | == Write out the number in Words. == | ||