2020-07-02 00:16:45 +02:00
|
|
|
[{assign var="currency" value=$order->getOrderCurrency()}]
|
2020-06-29 00:28:32 +02:00
|
|
|
[{assign var="showPrices" value=$showPrices|default:true}]
|
|
|
|
|
2020-06-28 01:03:15 +02:00
|
|
|
[{block name="articlelist"}]
|
2020-06-29 00:28:32 +02:00
|
|
|
<table class="article_table[{if $showPrices}]_prices[{/if}]">
|
2020-06-28 01:03:15 +02:00
|
|
|
<tr>
|
|
|
|
<th class="amount">
|
2020-06-30 00:44:07 +02:00
|
|
|
[{oxmultilang ident="D3_PDFDOCUMENTS_AMOUNT"}]
|
2020-06-28 01:03:15 +02:00
|
|
|
</th>
|
|
|
|
<th class="description">
|
2020-06-30 00:44:07 +02:00
|
|
|
[{oxmultilang ident="D3_PDFDOCUMENTS_DESCRIPTION"}]
|
2020-06-28 01:03:15 +02:00
|
|
|
</th>
|
2020-06-29 00:28:32 +02:00
|
|
|
[{if $showPrices}]
|
|
|
|
<th class="tax">
|
2020-06-30 00:44:07 +02:00
|
|
|
[{oxmultilang ident="D3_PDFDOCUMENTS_USTPERCENTAGE"}]
|
2020-06-29 00:28:32 +02:00
|
|
|
</th>
|
|
|
|
<th class="unitPrice">
|
2020-06-30 00:44:07 +02:00
|
|
|
[{oxmultilang ident="D3_PDFDOCUMENTS_UNITPRICE"}]
|
2020-06-29 00:28:32 +02:00
|
|
|
</th>
|
|
|
|
<th class="totalPrice">
|
2020-06-30 00:44:07 +02:00
|
|
|
[{oxmultilang ident="D3_PDFDOCUMENTS_TOTALPRICE"}]
|
2020-06-29 00:28:32 +02:00
|
|
|
</th>
|
|
|
|
[{/if}]
|
2020-06-28 01:03:15 +02:00
|
|
|
</tr>
|
2020-07-02 10:35:56 +02:00
|
|
|
[{foreach from=$order->getOrderArticles(true) item=orderArticle}]
|
2020-06-28 01:03:15 +02:00
|
|
|
<tr>
|
|
|
|
<td class="amount">
|
2020-07-02 10:35:56 +02:00
|
|
|
[{$orderArticle->getFieldData('oxamount')}]
|
2020-06-28 01:03:15 +02:00
|
|
|
</td>
|
|
|
|
<td class="description">
|
2020-07-05 14:08:51 +02:00
|
|
|
[{$orderArticle->getFieldData('oxtitle')}] [{$orderArticle->getFieldData('oxselvariant')}]
|
2020-06-28 01:03:15 +02:00
|
|
|
<br>
|
|
|
|
<span class="artnr">
|
2020-07-02 10:35:56 +02:00
|
|
|
[{oxmultilang ident="D3_PDFDOCUMENTS_ARTNR"}] [{$orderArticle->getFieldData('oxartnum')}]
|
2020-06-28 01:03:15 +02:00
|
|
|
</span>
|
|
|
|
</td>
|
2020-06-29 00:28:32 +02:00
|
|
|
[{if $showPrices}]
|
|
|
|
<td class="tax">
|
2020-07-02 10:35:56 +02:00
|
|
|
[{$orderArticle->getFieldData('oxvat')}]
|
2020-06-29 00:28:32 +02:00
|
|
|
</td>
|
|
|
|
<td class="unitPrice">
|
2020-07-02 10:35:56 +02:00
|
|
|
[{$orderArticle->getBrutPriceFormated()}] [{$currency->name}]
|
2020-06-29 00:28:32 +02:00
|
|
|
</td>
|
|
|
|
<td class="totalPrice">
|
2020-07-02 10:35:56 +02:00
|
|
|
[{$orderArticle->getTotalBrutPriceFormated()}] [{$currency->name}]
|
2020-06-29 00:28:32 +02:00
|
|
|
</td>
|
|
|
|
[{/if}]
|
2020-06-28 01:03:15 +02:00
|
|
|
</tr>
|
|
|
|
[{/foreach}]
|
|
|
|
</table>
|
|
|
|
[{/block}]
|
2020-06-29 00:28:32 +02:00
|
|
|
[{if $showPrices}]
|
|
|
|
[{block name="articleCosts"}]
|
2020-06-30 23:37:08 +02:00
|
|
|
<nobreak>
|
|
|
|
<table class="article_costs_table">
|
|
|
|
[{block name="d3_article_costs_summary"}]
|
|
|
|
[{include file="d3pdfarticlecostsummary.tpl"}]
|
|
|
|
[{/block}]
|
|
|
|
</table>
|
|
|
|
</nobreak>
|
2020-06-29 00:28:32 +02:00
|
|
|
[{/block}]
|
|
|
|
[{/if}]
|