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

From SemanticOrganization
Jump to: navigation, search
 
Line 1: Line 1:
 
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr class="semorg-invoice-subtotal">
 
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr class="semorg-invoice-subtotal">
 
<td>{{int:semorg-invoice-subtotal-text}}</td>
 
<td>{{int:semorg-invoice-subtotal-text}}</td>
<td>{{semorg-currency|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]|?semorg-invoice-item-amount-net|format=sum}}}}</td>
+
<td>{{semorg-currency|{{#ask:[[semorg-invoice-item-invoice::{{FULLPAGENAME}}]]|?semorg-invoice-item-amount-net|format=sum}}|2}}</td>
 
</tr>{{#arraymap:{{int:semorg-invoice-vat-rates}}
 
</tr>{{#arraymap:{{int:semorg-invoice-vat-rates}}
 
   |,
 
   |,
Line 8: Line 8:
 
     |<tr class="semorg-invoice-vat">
 
     |<tr class="semorg-invoice-vat">
 
<td>{{int:semorg-invoice-vat-text|xxx}}</td>
 
<td>{{int:semorg-invoice-vat-text|xxx}}</td>
<td>{{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}}|2}}</td>
 
</tr>
 
</tr>
 
   }}
 
   }}
Line 14: Line 14:
 
}}<tr class="semorg-invoice-total">
 
}}<tr class="semorg-invoice-total">
 
<td>{{int:semorg-invoice-total-text}}</td>
 
<td>{{int:semorg-invoice-total-text}}</td>
<td>{{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.