31,026
edits
mNo edit summary Tag: 2017 source edit |
mNo edit summary Tag: 2017 source edit |
||
| Line 53: | Line 53: | ||
For the tag {object_total_..._x}, if there is no amount for the vat rate x, the key is not replaced. So you can use the condition syntax to show 0 instead of the key when value is not defined: | For the tag {object_total_..._x}, if there is no amount for the vat rate x, the key is not replaced. So you can use the condition syntax to show 0 instead of the key when value is not defined: | ||
<syntaxHighlight> | <syntaxHighlight lang="bash"> | ||
[!-- IF {object_total_..._x} --] | [!-- IF {object_total_..._x} --] | ||
0 | 0 | ||