Create an ODT or ODS document template: Difference between revisions

m
Tag: 2017 source edit
Tag: 2017 source edit
Line 48: Line 48:
{{TagsOdtObjects}}
{{TagsOdtObjects}}


[[File:Info.png]]


[[File:Info.png]] For the tag {object_total_vat_locale_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_vat_locale_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>
[!-- IF {object_total_vat_locale_x} --]
[!-- IF {object_total_vat_locale_x} --]