2020-06-02 10:03:00 +02:00
|
|
|
[{assign var="currency" value=$order->getOrderCurrency()}]
|
|
|
|
[{assign var="deliveryPrice" value= $order->getOrderDeliveryPrice()}]
|
|
|
|
[{assign var="productVats" value= $order->getProductVats(false)}]
|
2020-05-20 11:50:48 +02:00
|
|
|
|
2020-05-15 15:36:43 +02:00
|
|
|
<style type="text/css">
|
2020-05-28 14:58:42 +02:00
|
|
|
[{include file="d3pdfstyle.css"}]
|
2020-05-15 15:36:43 +02:00
|
|
|
</style>
|
2020-05-28 14:58:42 +02:00
|
|
|
|
2020-06-09 22:49:47 +02:00
|
|
|
<page backtop="30mm" backbottom="30mm" backleft="10mm" backright="10mm" pageset="new" orientation="P" format="A4">
|
2020-05-15 15:36:43 +02:00
|
|
|
<page_header>
|
|
|
|
[{block name="pdfTopingFile"}]
|
2020-06-02 10:03:00 +02:00
|
|
|
[{include file="d3pdfheader.tpl" showLogo=true}]
|
2020-05-15 15:36:43 +02:00
|
|
|
[{/block}]
|
|
|
|
</page_header>
|
|
|
|
<page_footer>
|
|
|
|
[{block name="pdfFooterFile"}]
|
2020-05-28 14:58:42 +02:00
|
|
|
[{include file="d3pdffooter.tpl"}]
|
2020-05-15 15:36:43 +02:00
|
|
|
[{/block}]
|
|
|
|
</page_footer>
|
|
|
|
|
2020-06-10 15:36:22 +02:00
|
|
|
[{* +++++ main page part +++++ *}]
|
|
|
|
[{block name="pdfHeadingFile"}]
|
|
|
|
[{block name="pdfHeaderFile"}]
|
|
|
|
[{include file="d3invoice_pdf_addressarea.tpl"}]
|
|
|
|
[{/block}]
|
2020-05-15 15:36:43 +02:00
|
|
|
[{/block}]
|
2020-06-10 15:36:22 +02:00
|
|
|
[{* +++++Artikeltabelle+++++*}]
|
2020-05-15 15:36:43 +02:00
|
|
|
[{block name="articleListing"}]
|
2020-06-02 14:32:22 +02:00
|
|
|
<table class="order_article_marginTop10" cellspacing="0">
|
2020-05-15 15:36:43 +02:00
|
|
|
<tr>
|
|
|
|
<td class="border-bottom order_article_PaddingBottom5 "><div class="vertical-a order_article_listing_fontSize order_article_listing_width_amount">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_AMOUNT"}]</div></td>
|
|
|
|
<td class="border-bottom order_article_PaddingBottom5 "><div class="order_article_listing_fontSize order_article_listing_width_desc">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_DESCRIPTION"}]</div></td>
|
|
|
|
<td class="border-bottom order_article_PaddingBottom5 "><div class="aligning order_article_listing_fontSize order_article_listing_width_ust">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_USTPERCENTAGE"}]</div></td>
|
|
|
|
<td class="border-bottom order_article_PaddingBottom5 "><div class="aligning order_article_listing_fontSize order_article_listing_width_unitPrice">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_UNITPRICE"}]</div></td>
|
|
|
|
<td class="border-bottom order_article_PaddingBottom5 "><div class="aligning order_article_listing_fontSize order_article_listing_width_total_Price">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_TOTALPRICE"}]</div></td>
|
|
|
|
</tr>
|
|
|
|
[{foreach from=$order->getOrderArticles(true) item=oOrderArticle}]
|
|
|
|
<tr>
|
2020-06-11 10:04:48 +02:00
|
|
|
<td class="paddingTopBottom5 vertical-a"><div class='fontSize12 aligning order_article_listing_width_amount order_article_listing_paddingRight52'>[{$oOrderArticle->oxorderarticles__oxamount->value }]</div></td>
|
|
|
|
<td class="paddingTopBottom5 vertical-a"><div class='fontSize12 order_article_listing_width_desc'>
|
|
|
|
[{$oOrderArticle->getFieldData('oxtitle')}] [{$oOrderArticle->getFieldData('oxselvariant')}]
|
2020-05-15 15:36:43 +02:00
|
|
|
<br>
|
2020-06-11 10:04:48 +02:00
|
|
|
<span class="order_article_listing_fontSize9">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ARTNR"}] [{$oOrderArticle->getFieldData('oxartnum')}]</span>
|
2020-05-15 15:36:43 +02:00
|
|
|
</div></td>
|
2020-06-11 10:04:48 +02:00
|
|
|
<td class="paddingTopBottom5 vertical-a"><div class='aligning fontSize12 order_article_listing_width_ust'>[{$oOrderArticle->getFieldData('oxvat')}]</div></td>
|
|
|
|
<td class="paddingTopBottom5 vertical-a"><div class='aligning fontSize12 order_article_listing_width_unitPrice'>[{$oOrderArticle->getBrutPriceFormated()}] [{$currency->name}]</div></td>
|
|
|
|
<td class="paddingTopBottom5 vertical-a"><div class='aligning fontSize12 order_article_listing_width_total_Price'>[{$oOrderArticle->getTotalBrutPriceFormated()}] [{$currency->name}]</div></td>
|
2020-05-15 15:36:43 +02:00
|
|
|
</tr>
|
|
|
|
[{/foreach}]
|
|
|
|
</table>
|
|
|
|
[{/block}]
|
|
|
|
<nobreak>
|
|
|
|
[{block name="articleCosts"}]
|
|
|
|
<table class="article_costs_table border-bottom">
|
|
|
|
<tr>
|
2020-06-10 11:42:47 +02:00
|
|
|
[{block name="d3_article_costs_summary"}]
|
2020-06-11 10:04:48 +02:00
|
|
|
[{* ++++++Beschreibung der Kostensummierung++++++ *}]
|
|
|
|
<td class="article_costs_table_paddingRight article_costs_table_desc_width70 ">
|
|
|
|
<div class="order_sum paddingTopBottom5 fontSize12 border-bottom">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_SUMBRUTTO"}]</div>
|
|
|
|
[{if $order->getFormattedDiscount() != 0}]
|
|
|
|
<div class="order_sum paddingTopBottom5 fontSize12 border-bottom">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_DISCOUNT"}]</div>
|
|
|
|
[{/if}]
|
|
|
|
<div class="order_sum order_article_PaddingTop5 fontSize12">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_SUMNETTO"}]</div>
|
|
|
|
[{foreach from=$productVats key=VatKey item=oVat}]
|
|
|
|
<div class="order_sum paddingTopBottom5 fontSize12 border-bottom">[{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="order_sum order_article_PaddingTop5 fontSize12">[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_DELIVERY"}]</div>
|
|
|
|
<div class="order_sum paddingTopBottom5 fontSize12 border-bottom">[{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="order_sum paddingTopBottom5 fontSize12"><strong>[{oxmultilang ident="D3_ORDER_OVERVIEW_PDF_ORDERBILL_TOTALSUMBRUT"}]</strong></div>
|
|
|
|
</td>
|
|
|
|
[{* ++++++Kostensummierung++++++ *}]
|
|
|
|
<td class="article_costs_table_sum_width30">
|
|
|
|
<div class="order_sumNum paddingTopBottom5 aligning fontSize12 border-bottom">[{$order->getFormattedTotalBrutSum()}] [{$currency->name}]</div>
|
|
|
|
[{if $order->getFormattedDiscount() != 0}]
|
|
|
|
<div class="order_sumNum paddingTopBottom5 aligning fontSize12 border-bottom">-[{$order->getFormattedDiscount()}] [{$currency->name}]</div>
|
|
|
|
[{/if}]
|
|
|
|
<div class="order_sumNum order_article_PaddingTop5 aligning fontSize12">[{$order->getFormattedTotalNetSum()}] [{$currency->name}]</div>
|
|
|
|
<div class="order_sumNum paddingTopBottom5 aligning fontSize12 border-bottom">[{$lang->formatCurrency($oVat, $currency)}] [{$currency->name}]</div>
|
|
|
|
<div class="order_sumNum order_article_PaddingTop5 aligning fontSize12">[{$lang->formatCurrency($deliveryPrice->getNettoPrice(), $currency)}] [{$currency->name}]</div>
|
|
|
|
<div class="order_sumNum paddingTopBottom5 aligning fontSize12 border-bottom">[{$lang->formatCurrency($deliveryPrice->getVATValue(), $currency)}] [{$currency->name}]</div>
|
|
|
|
<div class="order_sumNum paddingTopBottom5 aligning fontSize12"><strong>[{$order->getFormattedTotalOrderSum()}] [{$currency->name}]</strong></div>
|
|
|
|
</td>
|
2020-06-10 14:21:17 +02:00
|
|
|
[{/block}]
|
2020-05-15 15:36:43 +02:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
[{/block}]
|
|
|
|
[{block name="pdfPastThankFile"}]
|
2020-05-28 14:58:42 +02:00
|
|
|
[{include file="d3invoice_pdf_conclusion.tpl"}]
|
2020-05-15 15:36:43 +02:00
|
|
|
[{/block}]
|
|
|
|
</nobreak>
|
2020-06-10 15:36:22 +02:00
|
|
|
</page>
|