79 lines
2.3 KiB
Smarty
79 lines
2.3 KiB
Smarty
{extends '[common]/orderViewprint.tpl'}
|
|
|
|
<style>
|
|
{block "style" append}
|
|
.print-main-content td {
|
|
font-size: 16px
|
|
}
|
|
|
|
.order-no {
|
|
font-size: 16px;
|
|
line-height: 12px;
|
|
}
|
|
|
|
.pieces .pieces-ean {
|
|
padding-left: 15px;
|
|
}
|
|
|
|
.storno {
|
|
font-size: 50px;
|
|
font-weight: 700;
|
|
color: red;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
z-index: 100;
|
|
transform: rotate(-12deg) translate(-50%, -50%);
|
|
transform-origin: initial;
|
|
}
|
|
{/block}
|
|
</style>
|
|
|
|
{block "header"}
|
|
<p class="pull-right">{insert_barcode type='C128' code=$order.order_no height=40}</p>
|
|
<p>
|
|
Objednávka{if $order.order_no}: <strong class="order-no">{$order.order_no}</strong>{/if}<br />
|
|
{get_datetime assign="now"}
|
|
{$date_handle = $order.date_handle|default:$now}
|
|
<strong>{$date_handle|format_date:'d.m.Y'}</strong><br />
|
|
|
|
{if !$order.invoice_ico or !$order.invoice_firm}{$order.invoice_name} {$order.invoice_surname} | {/if}{$order.invoice_firm} | {$order.invoice_email}
|
|
</p>
|
|
{/block}
|
|
|
|
{block "invoice-header"}{/block}
|
|
{block "invoice-content-left"}{/block}
|
|
{block "invoice-content-right"}{/block}
|
|
{block "bank"}{/block}
|
|
{block "delivery-payment"}{/block}
|
|
|
|
{block "items"}
|
|
<table width="100%" border="0" cellpadding="3" cellspacing="0" class="pieces">
|
|
{foreach $order.items as $item}
|
|
{if $item.id_product}
|
|
<tr>
|
|
<td align="center" width="8%">{$item.pieces}x</td>
|
|
<td align="left" width="92%">{$item.product.title} ({$item.product.variationTitle}){if !$item.discount->isZero()}( -{$item.discount|format_price:'printcurrency=no'} %){/if}{if $item.note && $item.product} <br>({$item.product->printNote($item.note)}){/if}</td>
|
|
<td align="left">{$item.code}</td>
|
|
<td align="left" class="pieces-ean">{$item.ean}</td>
|
|
</tr>
|
|
{block 'item-note'}
|
|
{/block}
|
|
{/if}
|
|
{/foreach}
|
|
<tr class="last">
|
|
<td align="center" width="8%">1x</td>
|
|
<td align="left" width="92%">{$order.delivery_type}</td>
|
|
<td align="left" colspan="2"> </td>
|
|
</tr>
|
|
</table>
|
|
{/block}
|
|
|
|
{block 'pricebox'}{/block}
|
|
|
|
{block "bottom-right"}{/block}
|
|
|
|
{block "custom-content"}{/block}
|
|
|
|
{block "eet"}{/block}
|