Template: Semorg-invoice-item: Difference between revisions
From SemanticOrganization
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|description={{{description|}}} | |description={{{description|}}} | ||
|amount-net={{{amount-net|0}}} | |amount-net={{{amount-net|0}}} | ||
|amount-gross={{#expr:{{{amount-net|0}}}*(1+({{{vat-rate|0}}}/100))}} | |amount-gross={{formatnum:{{#expr:{{formatnum:{{{amount-net|0}}}|R}}*(1+({{{vat-rate|0}}}/100))}}}} | ||
|amount-vat={{#expr:{{{amount-net|0}}}*({{{vat-rate|0}}}/100)}} | |amount-vat={{formatnum:{{#expr:{{formatnum:{{{amount-net|0}}}|R}}*({{{vat-rate|0}}}/100)}}}} | ||
|vat-rate={{{vat-rate|}}} | |vat-rate={{{vat-rate|}}} | ||
}}<tr> | }}{{#semorg-sum:invoice-amount-net|{{formatnum:{{{amount-net|}}}|R}}}}{{#semorg-sum:invoice-amount-gross|{{#expr:{{formatnum:{{{amount-net|0}}}|R}}*(1+({{{vat-rate|0}}}/100))}}}}<tr class="semorg-invoice-item"> | ||
<td | <td>{{{description|}}}</td> | ||
<td | <td>{{semorg-currency|{{formatnum:{{formatnum:{{{amount-net|}}}|R}}}}}}</td> | ||
</tr></includeonly> | </tr></includeonly> |
Latest revision as of 07:01, 14 November 2024
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