{if $order.status}FAKTURA - daňový doklad{else}Rekapitulace objednávky{/if}
Objednávka{if $order.order_no}: {$order.order_no}{/if}
{/block}
{/block}
Datum:
{block "invoice-dates"}
{get_datetime assign="now"}
{$date_handle = $order.date_handle|default:$now}
Vystavení: {$date_handle|format_date:'d.m.Y'}
{if $order.status}
Zd. plnění: {$date_handle|format_date:'d.m.Y'}
Splatnosti:
{if !empty($order.date_due)}
{$order.date_due|format_date:'d.m.Y'}
{else}
{$dueDateIn = date_interval_create_from_date_string($dbcfg.shop_due_days|cat:" days")}
{if $dueDateIn}
{$date_handle->add($dueDateIn)|format_date:'d.m.Y'}
{else}
{$date_handle|format_date:'d.m.Y'}
{/if}
{/if}
{/if}
Bankovní účet:
Variabilní symbol: {$order.order_no}
Číslo účtu: {if $dbcfg.bank_account_prefix}{$dbcfg.bank_account_prefix}-{/if}{$dbcfg.bank_account_number}/{$dbcfg.bank_code}
{*IBAN: {$dbcfg.bank_iban}
SWIFT/BIC: {$dbcfg.bank_swift}*}
Způsob odběru:
{$order.delivery_type}
{$deliveryData = $order->getData('delivery_data')}
{$deliveryType = $order->getDeliveryType()}
{if $deliveryData && $deliveryType}
{$deliveryType->getDelivery()->printDeliveryInfo() nofilter}
{/if}
Odběratel:
{if !$order.invoice_ico or !$order.invoice_firm}{$order.invoice_name} {$order.invoice_surname}
{/if}{$order.invoice_firm}
{$order.invoice_street}
{$order.invoice_zip} {$order.invoice_city}
{$order.invoice_country}
Telefon: {$order.invoice_phone}
Email: {$order.invoice_email}
IČO: {$order.invoice_ico}
DIČ: {$order.invoice_dic}
Dodací údaje:
{$order.delivery_name} {$order.delivery_surname}
{$order.delivery_firm}
{$order.delivery_street}
{$order.delivery_zip} {$order.delivery_city}
{$order.delivery_country}
Poznámky:
Pro obchodníka:
{$order.note_user}
{/if} {/block}| Ks | Položky | {if $order.status}Kód | {/if}Cena za kus | bez DPH | DPH % | DPH | s DPH |
|---|---|---|---|---|---|---|---|
| {$item.pieces} | {$item.descr}{if !$item.discount->isZero()}( -{$item.discount|format_price:'printcurrency=no'} %){/if}{if $item.note && $item.product} ({$item.product->printNote($item.note)}){/if} |
{if $order.status}
{$item.code}{if !$item.code}{$item.ean}{/if} | {/if}{{$item.value_with_vat_no_rounding}|format_price:"printcurrency=no"} | {{$item.total_price.value_without_vat_no_rounding}|format_price:"ceil=no;printcurrency=no"} | {$item.vat} | {($item.total_price.value_with_vat_no_rounding->sub($item.total_price.value_without_vat_no_rounding))|format_price:"ceil=no;printcurrency=no"} | {$item.total_price.value_with_vat_no_rounding|format_price} |
| Bez daně | Daň | Celkem | |
|---|---|---|---|
| {if empty($vat.descr)}Daň {$key}%{else}{$vat.descr}{/if} | {{$vat.total_price_without_vat}|format_price:"ceil=no"} | {$vat.tax.value_vat|format_price:"ceil=no"} | {$vat.tax.value_with_vat|format_price:"ceil=no"} |
| Celkem s DPH | {$order.total_price_array.value_with_vat_no_rounding|format_price:"ceil=no"} | ||
| Úhrada | {$payment|format_price} | ||
| Přeplatek | {$payment|format_price} | ||
| Celkem k úhradě | {$order->getRemainingPayment()|format_price} | ||
| Cena celkem | {$order.total_price_array.value_with_vat_no_rounding|format_price} | ||
| Uplatněné slevy | {$body.totalPriceDiscount} | ||
Faktura slouží jako záruční list!
{/if} {/block} {block "eet"} {if $module.EET} {$eetOrderDispatcher = getSymfonyService('kupshop.eet.dispatcher')} {$eet = $eetOrderDispatcher->getOrderInfo($order)} {if $eet}{if $eet->getFik()}
Tržba byla evidována v běžném režimu
Fik: {$eet->getFik()}
{else}
Tržba byla evidována ve zjednodušeném režimu
Pkp: {$eet->getPkp()}
{/if}
Bkp: {$eet->getBkp()}
Provozovna: {$eetOrderDispatcher->getPlace()}, Pokladna: {$eetOrderDispatcher->getCashier()}
Datum platby: {$eet->getdateSent()|format_date:'d.m.Y H:i:m'}