{extends "ordering.tpl"} {block "content"} {$deliveryType = $body->getDeliveryType()} {$column_class = "col-md-6 col-xxs-12"} {ifmodule COMPONENTS} {$modal_login = path('kupshop_components_modal_modal', ['template' => 'login'])} {/ifmodule} {if $tpl_vars.ordering_user_v == "2"} {include 'ordering/ordering.user.v2.tpl'} {else} {block 'login-block'} {if $ctrl.logged}

{t}Jste přihlášený jako uživatel {/t}{$ctrl.name} {$ctrl.surname} ({$ctrl.login}).

{else}

{t}Máte již svůj účet?{/t}

{t}Pokud jste u nás již nakupovali a máte svůj účet, přihlaste se.{/t}


{t}Přihlásit se{/t}
{/if} {/block}
{if !$ctrl.logged} {block 'form-header'} {block "form-header-tabs"}

{t}Jste tu poprvé?{/t}


{/block}
register} style="display: none;"{/if}>
register}disabled{/if}>
register}disabled{/if} >
{/block} {/if} {block "form-personal-data-address-wrapper"}

{t}Kontaktní údaje{/t}

isInPerson()) || $inpersonRequireAddress} data-bv-phone-country="invoice[country]" {else} data-bv-phone-country="{$ctrl.active_country}" {/if}>
{* skryt fakturacni adresu pokud je osob. odber a neni nastavene vyzadovani adresy pri os. odberu, napr. KK *} {block "personal-data-address"} {if (!$deliveryType || !$deliveryType->isInPerson()) || $inpersonRequireAddress}

{t}Fakturační adresa{/t}

{block "invoice-street"}
{/block}
{block "invoice-country"}
{if $tpl_vars.delivery_country_picker} {t}Jiný stát?{/t} {/if}
{/block}
{*
*} {block "invoice-custom-data"}{/block} {/if} {/block}
{/block} {* nejdriv check zda existuje deliverytype *} {* skryt fakt. adresu pokud deliverytype nevyzaduje dor. adresu (napr. balik na postu) *} {if !$deliveryType || $deliveryType->getDelivery()->requiresDeliveryAddress()}
{block 'form-delivery-address'}

{t}Dodací adresa{/t}

{*
*}
isInPerson()) || $inpersonRequireAddress} data-bv-phone-country="delivery[country]" {else} data-bv-phone-country="{$ctrl.active_country}" {/if}>
{block "delivery-street"}
{/block}
{block "delivery-custom-data"}{/block}
{/block}
{/if} {* pokud je os. odběr, vymazat del. adress, mohla zbyt z předchozího průchodu košíkem *} {if $deliveryType and ($deliveryType->isInPerson() or $deliveryType->isVirtual())} {/if} {block 'firm-address-checkbox'}
{/block}
{block 'firm-address'}

{t}Firemní údaje{/t}

{if $showCopyEmail}
{/if}

{t escape=false}Vyplníte-li platné zahraniční DIČ,
objednávka bude osvobozena od DPH.{/t}

{/block} {* mam osobni odber (nevyzaduje zadani adresy), chci fakturu na firmu *} {if $deliveryType and $deliveryType->isInPerson() and !$inpersonRequireAddress}
{*
*}
{/if}
{/if} {block 'order-note'}
{/block} {block "ordering-user-gdpr"} {if $tpl_vars.btns_in_sidebar} {include "ordering/ordering.gdpr.tpl"} {/if} {/block} {/block} {block 'cart-footer'} {/block} {block 'cart-btns'} {if !$tpl_vars.btns_in_sidebar} {if array_key_last($cfg.Order.Steps) == $body.actualStep} {include "ordering/ordering.btns.tpl" submitName='SubmitOrder' valueNext='{t}Potvrdit objednávku{/t}'} {else} {include "ordering/ordering.btns.tpl" submitName='OrderNext' valueNext='summary'} {/if} {/if} {/block} {block "js-dynamic-load" append} {/block} {block analytics append} {if $dbcfg.analytics.foxentry.ID} {get_contexts country=1 assign="country_contexts"} {$active_country = $country_contexts.country->getActive()} {if $active_country.id|in_array:['CZ', 'SK', 'PL']} {/if} {/if} {include "components/block.smartForm.tpl"} {/block}