Template Variables: Difference between revisions
Jump to navigation
Jump to search
Markkinchin (talk | contribs) |
No edit summary |
||
| Line 391: | Line 391: | ||
[INVOICEBALANCE1] - invoice balance of one booking only, not the booking group | [INVOICEBALANCE1] - invoice balance of one booking only, not the booking group | ||
[INVOICEBALANCE1NUM] - As per [INVOICEBALANCE1] but the value is displayed with a decimal point and no thousands separator (for calculation) | [INVOICEBALANCE1NUM] - As per [INVOICEBALANCE1] but the value is displayed with a decimal point and no thousands separator (for calculation) | ||
[INVOICECHARGES] - invoice sum of all charges | [INVOICECHARGES] - invoice sum of all charges | ||
| Line 399: | Line 399: | ||
[INVOICECHARGES:-100] - invoice sum of all charges with offset | [INVOICECHARGES:-100] - invoice sum of all charges with offset | ||
[INVOICECHARGESNUM] - As per [INVOICECHARGES] but the value is displayed with a decimal point and no thousands separator (for calculation) | [INVOICECHARGESNUM] - As per [INVOICECHARGES] but the value is displayed with a decimal point and no thousands separator (for calculation) | ||
[INVOICECHARGESNUM:] - As per [INVOICECHARGES:] but the value is displayed with a decimal point and no thousands separator (for calculation) | [INVOICECHARGESNUM:] - As per [INVOICECHARGES:] but the value is displayed with a decimal point and no thousands separator (for calculation) | ||
[INVOICEPARTCHARGES:status1,status2,!status4:10%] - Calculate the balance of all invoice charges with matching status and apply optional multiplier or offset. The status items can be a comma separated list. To exclude status items prefix them with an exclamation mark, for example !status1. The offset optional and can be specified after a second colon (:) and it can be a percentage by ending the number with the percent (%) symbol or a numeric value offset. | [INVOICEPARTCHARGES:status1,status2,!status4:10%] - Calculate the balance of all invoice charges with matching status and apply optional multiplier or offset. The status items can be a comma separated list. To exclude status items prefix them with an exclamation mark, for example !status1. The offset optional and can be specified after a second colon (:) and it can be a percentage by ending the number with the percent (%) symbol or a numeric value offset. | ||
| Line 413: | Line 413: | ||
[INVOICEPAYMENTS:-100] - invoice sum of all payments with offset | [INVOICEPAYMENTS:-100] - invoice sum of all payments with offset | ||
[INVOICEPAYMENTSNUM] - As per [INVOICEPAYMENTS] but the value is displayed with a decimal point and no thousands separator (for calculation) | [INVOICEPAYMENTSNUM] - As per [INVOICEPAYMENTS] but the value is displayed with a decimal point and no thousands separator (for calculation) | ||
[INVOICEPAYMENTSNUM:50%] - As per [INVOICEPAYMENTS:50%] but the value is displayed with a decimal point and no thousands separator. | [INVOICEPAYMENTSNUM:50%] - As per [INVOICEPAYMENTS:50%] but the value is displayed with a decimal point and no thousands separator. | ||
| Line 427: | Line 427: | ||
[INVOICECREDITS:-100] - invoice sum of all credit items with offset | [INVOICECREDITS:-100] - invoice sum of all credit items with offset | ||
[INVOICECREDITSNUM] - As per [INVOICECREDITS] but the value is displayed with a decimal point and no thousands separator (for calculation) | [INVOICECREDITSNUM] - As per [INVOICECREDITS] but the value is displayed with a decimal point and no thousands separator (for calculation) | ||
[INVOICECREDITSNUM:] - As per [INVOICECREDITS:] but the value is displayed with a decimal point and no thousands separator (for calculation) | [INVOICECREDITSNUM:] - As per [INVOICECREDITS:] but the value is displayed with a decimal point and no thousands separator (for calculation) | ||
[INVOICEDEBITS] - invoice sum of all debit items (positive items) | [INVOICEDEBITS] - invoice sum of all debit items (positive items) | ||
| Line 437: | Line 437: | ||
[INVOICEDEBITS:-100] - invoice sum of all debit items with offset | [INVOICEDEBITS:-100] - invoice sum of all debit items with offset | ||
[INVOICEDEBITSNUM] - As per [INVOICEDEBITS] but the value is displayed with a decimal point and no thousands separator (for calculations) (for calculation) | [INVOICEDEBITSNUM] - As per [INVOICEDEBITS] but the value is displayed with a decimal point and no thousands separator (for calculations) (for calculation) | ||
[INVOICEDEBITSNUM:] - As per [INVOICEDEBITS:] but the value is displayed with a decimal point and no thousands separator (for calculations). | [INVOICEDEBITSNUM:] - As per [INVOICEDEBITS:] but the value is displayed with a decimal point and no thousands separator (for calculations). | ||
| Line 445: | Line 445: | ||
[INVOICEUPSELL0] - base price without upsell items or other charges added later | [INVOICEUPSELL0] - base price without upsell items or other charges added later | ||
[INVOICEUPSELLNUM0] - as per [INVOICEUPSELL1] but the value is displayed with a decimal point and no thousands separator (for calculations) | [INVOICEUPSELLNUM0] - as per [INVOICEUPSELL1] but the value is displayed with a decimal point and no thousands separator (for calculations) | ||
[INVOICEUPSELL1] - value of upsell item 1 (number can be between 0 to 20) | [INVOICEUPSELL1] - value of upsell item 1 (number can be between 0 to 20) | ||
[INVOICEUPSELLNUM1] - as per [INVOICEUPSELL1] but the value is displayed with a decimal point and no thousands separator (for calculations) | [INVOICEUPSELLNUM1] - as per [INVOICEUPSELL1] but the value is displayed with a decimal point and no thousands separator (for calculations) | ||
[INVOICEUPSELLQTY1] - quantity of upsell item 1 (number can be between 1 to 20) | [INVOICEUPSELLQTY1] - quantity of upsell item 1 (number can be between 1 to 20) | ||