pdfdokumente/Application/views/tpl/documents/inc/elements/articlecostssummary.tpl

73 regels
2.4 KiB
Smarty

[{block name="sumbrutto"}]
<tr class="sumbrutto">
<td class="description">
[{oxmultilang ident="D3_PDFDOCUMENTS_SUMBRUTTO" suffix="COLON"}]
</td>
<td class="values">
[{$order->getFormattedTotalBrutSum()}] [{$currency->name}]
</td>
</tr>
[{/block}]
[{block name="discount"}]
2020-06-28 01:03:15 +02:00
[{if $order->getFormattedDiscount() != 0}]
<tr class="discount">
<td class="description">
[{oxmultilang ident="D3_PDFDOCUMENTS_DISCOUNT" suffix="COLON"}]
</td>
<td class="values">
-[{$order->getFormattedDiscount()}] [{$currency->name}]
</td>
</tr>
2020-06-28 01:03:15 +02:00
[{/if}]
[{/block}]
[{block name="sumnetto"}]
<tr class="sumnetto">
<td class="description">
[{oxmultilang ident="D3_PDFDOCUMENTS_SUMNETTO" suffix="COLON"}]
</td>
<td class="values">
[{$order->getFormattedTotalNetSum()}] [{$currency->name}]
</td>
</tr>
[{/block}]
[{block name="producttax"}]
2020-06-28 01:03:15 +02:00
[{foreach from=$productVats key=VatKey item=oVat}]
<tr class="producttax">
<td class="description">
[{oxmultilang ident="D3_PDFDOCUMENTS_TAX" args=$VatKey suffix="COLON"}]
</td>
<td class="values">
[{$lang->formatCurrency($oVat, $currency)}] [{$currency->name}]
</td>
</tr>
2020-06-28 01:03:15 +02:00
[{/foreach}]
[{/block}]
[{block name="delivery"}]
<tr class="delivery">
<td class="description">
[{oxmultilang ident="D3_PDFDOCUMENTS_DELIVERY" suffix="COLON"}]
</td>
<td class="values">
[{$lang->formatCurrency($deliveryPrice->getNettoPrice(), $currency)}] [{$currency->name}]
</td>
</tr>
<tr class="deliverytax">
<td class="description">
[{oxmultilang ident="D3_PDFDOCUMENTS_TAX" args=$VatKey suffix="COLON"}]
</td>
<td class="values">
[{$lang->formatCurrency($deliveryPrice->getVATValue(), $currency)}] [{$currency->name}]
</td>
</tr>
[{/block}]
2020-06-29 10:52:29 +02:00
[{* ToDo: keine payment costs ??? *}]
[{block name="totalsum"}]
<tr class="totalsum">
<td class="description">
[{oxmultilang ident="D3_PDFDOCUMENTS_TOTALSUMBRUT" suffix="COLON"}]
</td>
<td class="values">
[{$order->getFormattedTotalOrderSum()}] [{$currency->name}]
</td>
</tr>
[{/block}]