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

54 lines
1.9 KiB
Smarty
Raw Normal View History

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