pdfdokumente/Application/views/tpl/documents/inc/elements/articlecostssummary.tpl
2020-06-29 10:52:29 +02:00

54 lines
2.2 KiB
Smarty

<td class="description">
<div class="sumbrutto">
[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_SUMBRUTTO"}]
</div>
[{if $order->getFormattedDiscount() != 0}]
<div class="discount">
[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_DISCOUNT"}]
</div>
[{/if}]
<div class="sumnetto">
[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_SUMNETTO"}]
</div>
[{foreach from=$productVats key=VatKey item=oVat}]
<div class="producttax">
[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_TAX"}] [{$VatKey}] [{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_PERCENTAGE"}] [{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_TAXPERCVALUE"}]
</div>
[{/foreach}]
<div class="delivery">
[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_DELIVERY"}]
</div>
<div class="deliverytax">
[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_TAX"}] [{$VatKey}] [{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_PERCENTAGE"}] [{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_TAXPERCVALUE"}]
</div>
<div class="totalsum">
[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_TOTALSUMBRUT"}]
</div>
</td>
<td class="values">
<div class="sumbrutto">
[{$order->getFormattedTotalBrutSum()}] [{$currency->name}]
</div>
[{if $order->getFormattedDiscount() != 0}]
<div class="discount">
-[{$order->getFormattedDiscount()}] [{$currency->name}]
</div>
[{/if}]
<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>
</td>