Difference between revisions of "Template:Semorg-invoice-items-sums"
From SemanticOrganization
Line 1: | Line 1: | ||
− | <noinclude>{{semorg-bundle}}</noinclude><includeonly><tr | + | <noinclude>{{semorg-bundle}}</noinclude><includeonly><tr class="semorg-invoice-subtotal"> |
− | + | <td>{{int:semorg-invoice-subtotal-text}}</td> | |
− | <td | + | <td>{{semorg-currency|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]|?semorg-invoice-item-amount-net|format=sum}}}}</td> |
− | <td | ||
</tr>{{#arraymap:{{int:semorg-invoice-vat-rates}} | </tr>{{#arraymap:{{int:semorg-invoice-vat-rates}} | ||
|, | |, | ||
|xxx | |xxx | ||
|{{#ifexpr:{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]][[semorg-invoice-item-vat-rate::xxx]]|format=count}}>0 | |{{#ifexpr:{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]][[semorg-invoice-item-vat-rate::xxx]]|format=count}}>0 | ||
− | |<tr | + | |<tr class="semorg-invoice-vat"> |
− | |||
<td>{{int:semorg-invoice-vat-text|xxx}}</td> | <td>{{int:semorg-invoice-vat-text|xxx}}</td> | ||
− | <td | + | <td>{{semorg-currency|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]][[semorg-invoice-item-vat-rate::xxx]]|?semorg-invoice-item-amount-vat|format=sum}}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
| | | | ||
− | }}<tr | + | }}<tr class="semorg-invoice-total"> |
− | + | <td>{{int:semorg-invoice-total-text}}</td> | |
− | <td | + | <td>{{semorg-currency|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]|?semorg-invoice-item-amount-gross|format=sum}}}}</td> |
</tr></includeonly> | </tr></includeonly> |
Revision as of 15:06, 31 January 2023
This page is part of the Semantic Organization extension.