{extends "../window.tpl"} {block tabs} {if $body.data.id_index == 'future'} {windowTab id='titleFuture'} {else} {windowTab id='title'} {/if} {/block} {block title} {if $body.data.id_index == 'future'} {if $body.acn == "add"} {'titleAddFuture'|translate} {else} {'titleEditFuture'|translate} {/if} {elseif $body.data.id_index == 'preorder'} {if $body.acn == "add"} {'titleAddPreorder'|translate} {else} {'titleEditPreorder'|translate} {/if} {else} {$smarty.block.parent} {/if} {/block} {block size} width = 1280; {/block} {block tabsContent}
{if $body.data.data.parent_stock_in}
{'autoCreatedFromIncomplete'|translate} {$body.suppliers[$body.data.id_supplier]} - {$body.data.data.parent_stock_in.number}
{/if}
{if $body.data.multiplier != 1} {$body.data.data.vatDisplay=3} {/if} {print_select name="data[data][vatDisplay]" var=$body.paid selected=$body.data.data.vatDisplay}
{print_select name="data[id_supplier]" var=$body.suppliers selected=$body.data.id_supplier}
{print_select name="data[payment_method]" var=$body.paymentMethods selected=$body.data.payment_method}
{*
{if $body.acn == "add"} {print_select name="data[id_index]" var=$body.indexes selected=$body.data.id_index} {else} {/if}
*}
{insert_calendar selector='#date_issued' format='date'}
{print_select name="data[paid]" var=$body.paid2 selected=$body.data.paid}
{insert_calendar selector='#date_expiration' format='date'}
{ifmodule STORES}
{print_select name="data[data][id_store]" var=$body.stores selected=$body.data.data.id_store}
{/ifmodule} {if $body.acn == "add"}
Vytváříte {if $body.data.id_index == 'future'}budoucí {elseif $body.data.id_index == 'preorder'}předobjednávkovou{else}příjmovou{/if} fakturu
{/if} {if $body.acn != "add"}
{include "window/stockIn.items.tpl"}

{'totalPrice'|translate}

{'withoutTax'|translate:'choice'}

{$dbcfg.currency}

{'withTax'|translate:'choice'}

{$dbcfg.currency}
{$body.data.currency_symbol}

{'withoutTax'|translate:'choice'}

{$dbcfg.currency}

{'withTax'|translate:'choice'}

{$dbcfg.currency}
{$body.data.currency_symbol}

{$body.data.total_price|format_price:"ceil=no"}

{$body.data.total_price_vat|format_price:"ceil=no"}

{if $body.data.multiplier != 1}

{{$body.data.total_price/$body.data.multiplier}|round:2} {$body.data.currency_symbol}

{/if}

{$body.totalQuantity}

{$body.itemsCount}

{/if} {/block} {block actionMenuButtons} {if $body.data.id_index == 'future' && $body.acn == 'edit'} {if ($module.WAREHOUSE || $module.CHECK_APP) && !$body.data.isExternalStore}
  • Vstupní kontrola
  • {else}
  • {/if} {/if} {/block}