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

54 lignes
2.2 KiB
Smarty
Brut Vue normale Historique

2020-06-29 10:52:29 +02:00
<td class="description">
<div class="sumbrutto">
[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_SUMBRUTTO"}]
</div>
2020-06-28 01:03:15 +02:00
[{if $order->getFormattedDiscount() != 0}]
2020-06-29 10:52:29 +02:00
<div class="discount">
[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_DISCOUNT"}]
</div>
2020-06-28 01:03:15 +02:00
[{/if}]
2020-06-29 10:52:29 +02:00
<div class="sumnetto">
[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_SUMNETTO"}]
</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">
[{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>
2020-06-28 01:03:15 +02:00
[{/foreach}]
2020-06-29 10:52:29 +02:00
<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>
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>