[{capture name="sumnetto"}]
[{block name="sumnetto"}]
|
[{oxmultilang ident="D3_PDFDOCUMENTS_SUMNETTO" suffix="COLON"}]
|
[{$order->getFormattedTotalNetSum()}] [{$currency->name}]
|
[{/block}]
[{/capture}]
[{capture name="discount"}]
[{block name="discount"}]
|
[{oxmultilang ident="D3_PDFDOCUMENTS_DISCOUNT" suffix="COLON"}]
|
[{$order->getFormattedDiscount()}] [{$currency->name}]
|
[{/block}]
[{/capture}]
[{capture name="producttax"}]
[{block name="producttax"}]
[{foreach from=$order->getProductVats(false) key=VatKey item=oVat}]
|
[{oxmultilang ident="D3_PDFDOCUMENTS_TAX" args=$VatKey suffix="COLON"}]
|
[{$lang->formatCurrency($oVat, $currency)}] [{$currency->name}]
|
[{/foreach}]
[{/block}]
[{/capture}]
[{capture name="sumbrutto"}]
[{block name="sumbrutto"}]
|
[{oxmultilang ident="D3_PDFDOCUMENTS_SUMBRUTTO" suffix="COLON"}]
|
[{$order->getFormattedTotalBrutSum()}] [{$currency->name}]
|
[{/block}]
[{/capture}]
[{if $order->getFieldData('oxdiscount')}]
[{if $order->isNettoMode()}]
[{$smarty.capture.sumnetto}]
[{$smarty.capture.discount}]
[{$smarty.capture.producttax}]
[{$smarty.capture.sumbrutto}]
[{else}]
[{$smarty.capture.sumbrutto}]
[{$smarty.capture.discount}]
[{$smarty.capture.sumnetto}]
[{$smarty.capture.producttax}]
[{/if}]
[{else}]
[{$smarty.capture.sumnetto}]
[{$smarty.capture.producttax}]
[{$smarty.capture.sumbrutto}]
[{/if}]
[{if $order->getFieldData('oxvoucherdiscount')}]
[{block name="voucherdiscount"}]
|
[{oxmultilang ident="D3_PDFDOCUMENTS_VOUCHERDISCOUNT" suffix="COLON"}]
|
-[{$order->getFormattedTotalVouchers()}] [{$currency->name}]
|
[{/block}]
[{/if}]
[{block name="delivery"}]
[{if $config->getConfigParam('blShowVATForDelivery')}]
[{assign var="deliveryPrice" value=$order->getOrderDeliveryPrice()}]
|
[{oxmultilang ident="D3_PDFDOCUMENTS_DELIVERY_NET" suffix="COLON"}]
|
[{$lang->formatCurrency($deliveryPrice->getNettoPrice(), $currency)}] [{$currency->name}]
|
|
[{if $config->getConfigParam('sAdditionalServVATCalcMethod') != 'proportional'}]
[{oxmultilang ident="D3_PDFDOCUMENTS_TAX" args=$order->getFieldData('oxdelvat') suffix="COLON"}]
[{else}]
[{oxmultilang ident="D3_PDFDOCUMENTS_PROPORTIONAL_TAX" suffix="COLON"}]
[{/if}]
|
[{$lang->formatCurrency($deliveryPrice->getVATValue(), $currency)}] [{$currency->name}]
|
[{else}]
|
[{oxmultilang ident="D3_PDFDOCUMENTS_DELIVERY" suffix="COLON"}]
|
[{$lang->formatCurrency($order->getFieldData('oxdelcost'), $currency)}] [{$currency->name}]
|
[{/if}]
[{/block}]
[{block name="payment"}]
[{if $config->getConfigParam('blShowVATForPayCharge')}]
[{assign var="paymentPrice" value=$order->getOrderPaymentPrice()}]
|
[{oxmultilang ident="D3_PDFDOCUMENTS_PAYMENT_NET" suffix="COLON"}]
|
[{$lang->formatCurrency($paymentPrice->getNettoPrice(), $currency)}] [{$currency->name}]
|
|
[{if $config->getConfigParam('sAdditionalServVATCalcMethod') != 'proportional'}]
[{oxmultilang ident="D3_PDFDOCUMENTS_TAX" args=$order->getFieldData('oxpayvat') suffix="COLON"}]
[{else}]
[{oxmultilang ident="D3_PDFDOCUMENTS_PROPORTIONAL_TAX" suffix="COLON"}]
[{/if}]
|
[{$lang->formatCurrency($paymentPrice->getVATValue(), $currency)}] [{$currency->name}]
|
[{else}]
|
[{oxmultilang ident="D3_PDFDOCUMENTS_PAYMENT" suffix="COLON"}]
|
[{$lang->formatCurrency($order->getFieldData('oxpaycost'), $currency)}] [{$currency->name}]
|
[{/if}]
[{/block}]
[{block name="wrapping"}]
[{if $order->getFieldData('oxwrapcost')}]
[{if $config->getConfigParam('blShowVATForWrapping')}]
[{assign var="wrappingPrice" value=$order->getOrderWrappingPrice()}]
|
[{oxmultilang ident="D3_PDFDOCUMENTS_WRAPPING_NET" suffix="COLON"}]
|
[{$lang->formatCurrency($wrappingPrice->getNettoPrice(), $currency)}] [{$currency->name}]
|
|
[{oxmultilang ident="D3_PDFDOCUMENTS_UNDEFINED_TAX" suffix="COLON"}]
|
[{$lang->formatCurrency($wrappingPrice->getVATValue(), $currency)}] [{$currency->name}]
|
[{else}]
|
[{oxmultilang ident="D3_PDFDOCUMENTS_WRAPPING" suffix="COLON"}]
|
[{$lang->formatCurrency($order->getFieldData('oxwrapcost'), $currency)}] [{$currency->name}]
|
[{/if}]
[{/if}]
[{/block}]
[{block name="giftcard"}]
[{if $order->getFieldData('oxgiftcardcost')}]
[{if $config->getConfigParam('blShowVATForWrapping')}]
[{assign var="giftCardPrice" value=$order->getOrderGiftCardPrice()}]
|
[{oxmultilang ident="D3_PDFDOCUMENTS_GIFTCARD_NET" suffix="COLON"}]
|
[{$lang->formatCurrency($giftCardPrice->getNettoPrice(), $currency)}] [{$currency->name}]
|
|
[{oxmultilang ident="D3_PDFDOCUMENTS_UNDEFINED_TAX" suffix="COLON"}]
|
[{$lang->formatCurrency($giftCardPrice->getVATValue(), $currency)}] [{$currency->name}]
|
[{else}]
|
[{oxmultilang ident="D3_PDFDOCUMENTS_GIFTCARD" suffix="COLON"}]
|
[{$lang->formatCurrency($order->getFieldData('oxgiftcardcost'), $currency)}] [{$currency->name}]
|
[{/if}]
[{/if}]
[{/block}]
[{block name="totalsum"}]
|
|
|
|
[{oxmultilang ident="D3_PDFDOCUMENTS_TOTALSUMBRUT" suffix="COLON"}]
|
[{$order->getFormattedTotalOrderSum()}] [{$currency->name}]
|
[{/block}]