Template: Semorg-invoice-items-sums: Difference between revisions
From SemanticOrganization
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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}}|2}}</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}}|2}}</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}}|2}}</td> | ||
</tr></includeonly> | </tr></includeonly> |
Latest revision as of 13:00, 12 April 2023
This page is part of the Semantic Organization extension.