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

From SemanticOrganization
Jump to: navigation, search
(Created page with "<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td class="border-top border-dark"></td> <td class="border-top border-dark">''Zwischensumme''</td> <td class="border-...")
 
No edit summary
 
(3 intermediate revisions 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 class="border-top border-dark"></td>
<td>{{int:semorg-invoice-subtotal-text}}</td>
<td class="border-top border-dark">''Zwischensumme''</td>
<td>{{semorg-currency|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]|?semorg-invoice-item-amount-net|format=sum}}|2}}</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:20,10
   |,
   |,
   |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>USt (xxx%)</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>
<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>
</tr>
</tr>
   }}
   }}
   |
   |
}}<tr>
}}<tr class="semorg-invoice-total">
<td class="border-top border-dark" colspan="2">'''Gesamtbetrag'''</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}}|2}}</td>
</tr></includeonly>
</tr></includeonly>

Latest revision as of 13:00, 12 April 2023

This page is part of the Semantic Organization extension.