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>
|
|
|
|
[{foreach from=$order->getOrderArticles(true) item=oOrderArticle}]
|
|
|
|
<tr>
|
|
|
|
<td class="amount">
|
|
|
|
[{$oOrderArticle->oxorderarticles__oxamount->value }]
|
|
|
|
</td>
|
|
|
|
<td class="description">
|
|
|
|
[{$oOrderArticle->oxorderarticles__oxtitle->getRawValue() }] [{ $oOrderArticle->oxorderarticles__oxselvariant->getRawValue() }]
|
|
|
|
<br>
|
|
|
|
<span class="artnr">
|
2020-06-30 00:44:07 +02:00
|
|
|
[{oxmultilang ident="D3_PDFDOCUMENTS_ARTNR"}] [{$oOrderArticle->oxorderarticles__oxartnum->value }]
|
2020-06-28 01:03:15 +02:00
|
|
|
</span>
|
|
|
|
</td>
|
2020-06-29 00:28:32 +02:00
|
|
|
[{if $showPrices}]
|
|
|
|
<td class="tax">
|
|
|
|
[{$oOrderArticle->oxorderarticles__oxvat->value }]
|
|
|
|
</td>
|
|
|
|
<td class="unitPrice">
|
|
|
|
[{$oOrderArticle->getBrutPriceFormated()}] [{$currency->name}]
|
|
|
|
</td>
|
|
|
|
<td class="totalPrice">
|
|
|
|
[{$oOrderArticle->getTotalBrutPriceFormated()}] [{$currency->name}]
|
|
|
|
</td>
|
|
|
|
[{/if}]
|
|
|
|
</tr>
|
|
|
|
[{/foreach}]
|
|
|
|
[{foreach from=$order->getOrderArticles(true) item=oOrderArticle}]
|
|
|
|
<tr>
|
|
|
|
<td class="amount">
|
|
|
|
[{$oOrderArticle->oxorderarticles__oxamount->value }]
|
2020-06-28 01:03:15 +02:00
|
|
|
</td>
|
2020-06-29 00:28:32 +02:00
|
|
|
<td class="description">
|
|
|
|
[{$oOrderArticle->oxorderarticles__oxtitle->getRawValue() }] [{ $oOrderArticle->oxorderarticles__oxselvariant->getRawValue() }]
|
|
|
|
<br>
|
|
|
|
<span class="artnr">
|
2020-06-30 00:44:07 +02:00
|
|
|
[{oxmultilang ident="D3_PDFDOCUMENTS_ARTNR"}] [{$oOrderArticle->oxorderarticles__oxartnum->value }]
|
2020-06-29 00:28:32 +02:00
|
|
|
</span>
|
2020-06-28 01:03:15 +02:00
|
|
|
</td>
|
2020-06-29 00:28:32 +02:00
|
|
|
[{if $showPrices}]
|
|
|
|
<td class="tax">
|
|
|
|
[{$oOrderArticle->oxorderarticles__oxvat->value }]
|
|
|
|
</td>
|
|
|
|
<td class="unitPrice">
|
|
|
|
[{$oOrderArticle->getBrutPriceFormated()}] [{$currency->name}]
|
|
|
|
</td>
|
|
|
|
<td class="totalPrice">
|
|
|
|
[{$oOrderArticle->getTotalBrutPriceFormated()}] [{$currency->name}]
|
|
|
|
</td>
|
|
|
|
[{/if}]
|
|
|
|
</tr>
|
|
|
|
[{/foreach}]
|
|
|
|
[{foreach from=$order->getOrderArticles(true) item=oOrderArticle}]
|
|
|
|
<tr>
|
|
|
|
<td class="amount">
|
|
|
|
[{$oOrderArticle->oxorderarticles__oxamount->value }]
|
2020-06-28 01:03:15 +02:00
|
|
|
</td>
|
2020-06-29 00:28:32 +02:00
|
|
|
<td class="description">
|
|
|
|
[{$oOrderArticle->oxorderarticles__oxtitle->getRawValue() }] [{ $oOrderArticle->oxorderarticles__oxselvariant->getRawValue() }]
|
|
|
|
<br>
|
|
|
|
<span class="artnr">
|
2020-06-30 00:44:07 +02:00
|
|
|
[{oxmultilang ident="D3_PDFDOCUMENTS_ARTNR"}] [{$oOrderArticle->oxorderarticles__oxartnum->value }]
|
2020-06-29 00:28:32 +02:00
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
[{if $showPrices}]
|
|
|
|
<td class="tax">
|
|
|
|
[{$oOrderArticle->oxorderarticles__oxvat->value }]
|
|
|
|
</td>
|
|
|
|
<td class="unitPrice">
|
|
|
|
[{$oOrderArticle->getBrutPriceFormated()}] [{$currency->name}]
|
|
|
|
</td>
|
|
|
|
<td class="totalPrice">
|
|
|
|
[{$oOrderArticle->getTotalBrutPriceFormated()}] [{$currency->name}]
|
|
|
|
</td>
|
|
|
|
[{/if}]
|
|
|
|
</tr>
|
|
|
|
[{/foreach}]
|
|
|
|
[{foreach from=$order->getOrderArticles(true) item=oOrderArticle}]
|
|
|
|
<tr>
|
|
|
|
<td class="amount">
|
|
|
|
[{$oOrderArticle->oxorderarticles__oxamount->value }]
|
|
|
|
</td>
|
|
|
|
<td class="description">
|
|
|
|
[{$oOrderArticle->oxorderarticles__oxtitle->getRawValue() }] [{ $oOrderArticle->oxorderarticles__oxselvariant->getRawValue() }]
|
|
|
|
<br>
|
|
|
|
<span class="artnr">
|
2020-06-30 00:44:07 +02:00
|
|
|
[{oxmultilang ident="D3_PDFDOCUMENTS_ARTNR"}] [{$oOrderArticle->oxorderarticles__oxartnum->value }]
|
2020-06-29 00:28:32 +02:00
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
[{if $showPrices}]
|
|
|
|
<td class="tax">
|
|
|
|
[{$oOrderArticle->oxorderarticles__oxvat->value }]
|
|
|
|
</td>
|
|
|
|
<td class="unitPrice">
|
|
|
|
[{$oOrderArticle->getBrutPriceFormated()}] [{$currency->name}]
|
|
|
|
</td>
|
|
|
|
<td class="totalPrice">
|
|
|
|
[{$oOrderArticle->getTotalBrutPriceFormated()}] [{$currency->name}]
|
|
|
|
</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"}]
|
|
|
|
<table class="article_costs_table">
|
|
|
|
<tr>
|
|
|
|
[{block name="d3_article_costs_summary"}]
|
|
|
|
[{include file="d3pdfarticlecostsummary.tpl"}]
|
|
|
|
[{/block}]
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
[{/block}]
|
|
|
|
[{/if}]
|