Template: Semorg-invoice-items-sums: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr class="semorg-invoice-subtotal">
<td class="border-top border-dark"></td>
<td>{{int:semorg-invoice-subtotal-text}}</td>
<td class="border-top border-dark">''{{int:semorg-invoice-subtotal-text}}''</td>
<td>{{semorg-currency|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]|?semorg-invoice-item-amount-net|format=sum}}}}</td>
<td class="border-top border-dark" style="text-align:right">''{{semorg-currency|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]|?semorg-invoice-item-amount-net|format=sum}}}}''</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></td>
<td>{{int:semorg-invoice-vat-text|xxx}}</td>
<td>{{int:semorg-invoice-vat-text|xxx}}</td>
<td style="text-align:right">{{semorg-currency|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]][[semorg-invoice-item-vat-rate::xxx]]|?semorg-invoice-item-amount-vat|format=sum}}}}</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 class="border-top border-dark" colspan="2">'''{{int:semorg-invoice-total-text}}'''</td>
<td>{{int:semorg-invoice-total-text}}</td>
<td class="border-top border-dark" style="text-align:right">'''{{semorg-currency|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]|?semorg-invoice-item-amount-gross|format=sum}}}}'''</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.