Difference between revisions of "Template:Semorg-invoice-item"
From SemanticOrganization
(Created page with "<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-subobject:invoice-item |invoice={{FULLPAGENAME}} |description={{{description|}}} |amount-net={{{amount-n...") |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|invoice={{FULLPAGENAME}} | |invoice={{FULLPAGENAME}} | ||
|description={{{description|}}} | |description={{{description|}}} | ||
− | |amount-net={{{amount-net|}}} | + | |amount-net={{{amount-net|0}}} |
− | |amount-gross={{{amount- | + | |amount-gross={{formatnum:{{#expr:{{formatnum:{{{amount-net|0}}}|R}}*(1+({{{vat-rate|0}}}/100))}}}} |
− | |amount-vat={{{amount-vat|}}} | + | |amount-vat={{#expr:{{formatnum:{{{amount-net|0}}}|R}}*({{{vat-rate|0}}}/100)}} |
|vat-rate={{{vat-rate|}}} | |vat-rate={{{vat-rate|}}} | ||
− | }} | + | }}<tr class="semorg-invoice-item"> |
− | + | <td>{{{description|}}}</td> | |
+ | <td>{{semorg-currency|{{formatnum:{{formatnum:{{{amount-net|}}}|R}}}}}}</td> | ||
+ | </tr></includeonly> |
Revision as of 12:27, 12 April 2023
This page is part of the Semantic Organization extension.
If you want to customize this template you can copy its contents to another page (use for example Template:Semorg-invoice-item-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-invoice-item-template