Ostateczne poprawki kodu, zalogowanego użytkownika, składania zamówienia, zatwierdzania niektórych inputów enterem

This commit is contained in:
2024-01-12 14:58:22 +01:00
parent 3fd8d4ccc7
commit 2e6db44bd2
12 changed files with 3210 additions and 1108 deletions

View File

@@ -66,13 +66,9 @@
<div class="client_section step1">
<div class="step1_sub cop_box" id="ajax_cop_step1">
<div class="cop_box_sub">
<h2>
<span>
1. <iai:variable vid="Dane kontaktowe"/>
</span>
</h2>
<h2>1. <iai:variable vid="Dane kontaktowe"/></h2>
<!--OPCJE LOGOWANIA-->
<iaixsl:if test="not(/shop/basket/@login)">
<iaixsl:if test="/shop/page/client-data/profile_data/@login = ''">
<div class="signin">
<span class="signin_header">
<iai:variable vid="Masz już u nas konto"/>?
@@ -90,7 +86,7 @@
<iaixsl:attribute name="href"><iaixsl:value-of select="@login_url"/></iaixsl:attribute>
<img>
<iaixsl:attribute name="src">
<iaixsl:value-of select="@gfx_big"></iaixsl:value-of>
<iaixsl:value-of select="@gfx"></iaixsl:value-of>
</iaixsl:attribute>
<iaixsl:attribute name="alt">
<iaixsl:value-of select="@name"></iaixsl:value-of>
@@ -108,40 +104,58 @@
</ul>
</iaixsl:if>
</div>
</iaixsl:if>
<!--EMAIL I TELEFON-->
<form id="client_contact_info" onsubmit="return false" class="f-group">
<div class="form-group">
<div class="has-feedback f-feedback">
<input id="client_email" type="email" class="form-control validate f-control" name="client_email">
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/contact_data/@email"/></iaixsl:attribute>
<iaixsl:if test="/shop/page/client-data/contact_data/@mandatory_email = 'true'">
<iaixsl:attribute name="required">required</iaixsl:attribute>
</iaixsl:if>
</input>
<label for="client_email" class="f-label">
<iai:variable vid="E-mail"/>
</label>
<span class="form-control-feedback"/>
</div>
<form id="client_contact_info" onsubmit="return false" class="f-group">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="class">f-group --logged</iaixsl:attribute>
</iaixsl:if>
<div class="form-group">
<div class="has-feedback f-feedback">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
</iaixsl:if>
<input id="client_email" type="email" class="form-control validate f-control" name="client_email">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/contact_data/@email"/></iaixsl:attribute>
<iaixsl:if test="/shop/page/client-data/contact_data/@mandatory_email = 'true'">
<iaixsl:attribute name="required">required</iaixsl:attribute>
</iaixsl:if>
</input>
<label for="client_email" class="f-label">
<iai:variable vid="E-mail"/>
</label>
<span class="form-control-feedback"/>
</div>
<div class="form-group">
<div class="has-feedback f-feedback">
<input id="client_phone" type="tel" class="form-control validate f-control" name="client_phone" data-serialize="#client_region">
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/contact_data/@phone"/></iaixsl:attribute>
<iaixsl:if test="/shop/page/client-data/contact_data/@mandatory_phone = 'true'">
<iaixsl:attribute name="required">required</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="data-copy">delivery_phone</iaixsl:attribute>
</input>
<label for="client_phone" class="f-label">
<iai:variable vid="Numer telefonu"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
<div class="form-group">
<div class="has-feedback f-feedback">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
</iaixsl:if>
<input id="client_phone" type="tel" class="form-control validate f-control" name="client_phone" data-serialize="#client_region">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/contact_data/@phone"/></iaixsl:attribute>
<iaixsl:if test="/shop/page/client-data/contact_data/@mandatory_phone = 'true'">
<iaixsl:attribute name="required">required</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="data-copy">delivery_phone</iaixsl:attribute>
</input>
<label for="client_phone" class="f-label">
<iai:variable vid="Numer telefonu"/>
</label>
<span class="form-control-feedback"/>
</div>
</form>
<!--OKNO REJESTRACJI-->
</div>
</form>
<!--OKNO REJESTRACJI-->
<iaixsl:if test="/shop/page/client-data/profile_data/@login = ''">
<div class="register">
<div class="register__option">
<input type="checkbox" name="register_client" id="register_client_checkbox"/>
@@ -171,244 +185,320 @@
</form>
</div>
</iaixsl:if>
</div>
</div>
</div>
</div>
<div class="clearfix"/>
<!-- KLIENT NIE ZALOGOWANY-->
<iaixsl:choose>
<iaixsl:when test="not(/shop/basket/@login)">
<div id="client_new_form">
<form id="client_new_client" onsubmit="return false" class="f-group">
<div class="client_box cn_wrapper">
<iaixsl:if test="not((page/client-data/@operation = 'register-wholesale-add') or (page/client-data/@operation = 'edit-wholesale-add') or (page/client-data/@operation = 'edit-wholesale-edit')) or (page/client-data/@disallow_change_company_data = 'false')">
<div class="form-group firm_switcher">
<div class="firm-form form-control-static">
<span class="client_type-text"><iai:variable vid="Zamawiasz jako"/>:</span>
<label class="radio-inline">
<input type="radio" id="client_type2" value="private" name="client_type">
<iaixsl:if test="$is_firm = 'false'">
<iaixsl:attribute name="checked">checked</iaixsl:attribute>
</iaixsl:if>
</input>
<span for="client_type2"/>
<span class="radio-desc"><iai:variable vid="Osoba prywatna"/></span>
</label>
<label class="radio-inline">
<input type="radio" id="client_type1" value="firm" name="client_type">
<iaixsl:if test="$is_firm = 'true'">
<iaixsl:attribute name="checked">checked</iaixsl:attribute>
</iaixsl:if>
</input>
<span for="client_type1"/>
<span class="radio-desc"><iai:variable vid="Firma"/></span>
</label>
</div>
</div>
<div class="form-group firm-group">
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="class">form-group firm-group readonly</iaixsl:attribute></iaixsl:if>
<div class="has-feedback f-feedback">
<input type="text" class="form-control validate f-control" name="client_firm" id="client_firm">
<iaixsl:attribute name="required">required</iaixsl:attribute>
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@additional"/></iaixsl:attribute>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@firm"/></iaixsl:attribute>
<iaixsl:attribute name="data-copy">delivery_additional</iaixsl:attribute>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
</input>
<label for="client_firm" class="f-label">
<iai:variable vid="Firma"/>
</label>
</div>
</div>
<iaixsl:if test="/shop/page/client-data/nip/@active != 'hide'">
<div class="form-group firm-group">
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="class">form-group firm-group readonly</iaixsl:attribute></iaixsl:if>
<div class="has-feedback f-feedback">
<input type="text" class="form-control validate f-control" name="client_nip" id="client_nip" data-serialize="#client_region">
<iaixsl:if test="/shop/page/client-data/nip/@active = 'required'">
<iaixsl:attribute name="required">required</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@tax_number"/></iaixsl:attribute>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@nip"/></iaixsl:attribute>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
</input>
<label for="client_nip" class="f-label">
<iai:variable vid="NIP"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
<div class="clearfix"/>
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<input type="hidden" name="client_mailing_logg">
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/contact_data/@mailing"/></iaixsl:attribute>
</input>
<input type="hidden" name="client_send_sms_logg">
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/contact_data/@mandatory_phone"/></iaixsl:attribute>
</input>
</iaixsl:if>
<h2>2. <iai:variable vid="Dane adresowe"/></h2>
<form id="client_form" onsubmit="return false" class="f-group">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="class">f-group --logged</iaixsl:attribute>
</iaixsl:if>
<div class="client_box cn_wrapper">
<div class="form-group firm_switcher">
<div class="firm-form">
<span class="client_type-text"><iai:variable vid="Zamawiasz jako"/>:</span>
<label class="radio-inline">
<input type="radio" id="client_type2" value="private" name="client_type">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
</iaixsl:if>
<iaixsl:if test="$is_firm = 'false'">
<iaixsl:attribute name="checked">checked</iaixsl:attribute>
</iaixsl:if>
</input>
<span class="radio-desc"><iai:variable vid="Osoba prywatna"/></span>
</label>
<label class="radio-inline">
<input type="radio" id="client_type1" value="firm" name="client_type">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
</iaixsl:if>
<iaixsl:if test="$is_firm = 'true'">
<iaixsl:attribute name="checked">checked</iaixsl:attribute>
</iaixsl:if>
</input>
<span class="radio-desc"><iai:variable vid="Firma"/></span>
</label>
</div>
</div>
<div class="form-group firm-group">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '') and $is_firm = 'true'">
<iaixsl:attribute name="class">form-group firm-group --fade-in</iaixsl:attribute>
</iaixsl:if>
<div class="has-feedback f-feedback">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
</iaixsl:if>
<input type="text" class="form-control validate f-control" name="client_firm" id="client_firm">
<iaixsl:attribute name="required">required</iaixsl:attribute>
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@additional"/></iaixsl:attribute>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@firm"/></iaixsl:attribute>
<iaixsl:attribute name="data-copy">delivery_additional</iaixsl:attribute>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
</input>
<label for="client_firm" class="f-label">
<iai:variable vid="Firma"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
<iaixsl:if test="/shop/page/client-data/nip/@active != 'hide'">
<div class="form-group firm-group">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '') and $is_firm = 'true'">
<iaixsl:attribute name="class">form-group firm-group --fade-in</iaixsl:attribute>
</iaixsl:if>
</iaixsl:if>
<div class="form-group move_is_firm">
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="class">form-group move_is_firm readonly</iaixsl:attribute></iaixsl:if>
<div class="has-feedback f-feedback">
<input id="client_firstname" type="text" class="form-control validate f-control" name="client_firstname">
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@name"/></iaixsl:attribute>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@firstname"/></iaixsl:attribute>
<iaixsl:attribute name="data-copy">delivery_firstname</iaixsl:attribute>
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
</iaixsl:if>
<input type="text" class="form-control validate f-control" name="client_nip" id="client_nip" data-serialize="#client_region">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
</iaixsl:if>
<iaixsl:if test="/shop/page/client-data/nip/@active = 'required'">
<iaixsl:attribute name="required">required</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@tax_number"/></iaixsl:attribute>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@nip"/></iaixsl:attribute>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
</input>
<label for="client_nip" class="f-label">
<iai:variable vid="NIP"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
</iaixsl:if>
<div class="form-group move_is_firm">
<div class="has-feedback f-feedback">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
</iaixsl:if>
<input id="client_firstname" type="text" class="form-control validate f-control" name="client_firstname">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@name"/></iaixsl:attribute>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@firstname"/></iaixsl:attribute>
<iaixsl:attribute name="data-copy">delivery_firstname</iaixsl:attribute>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
<iaixsl:attribute name="required">required</iaixsl:attribute>
</input>
<label for="client_firstname" class="f-label">
<iai:variable vid="Imię"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
<div class="form-group move_is_firm">
<div class="has-feedback f-feedback">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
</iaixsl:if>
<input id="client_lastname" type="text" class="form-control validate f-control" name="client_lastname">
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@lastname"/></iaixsl:attribute>
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@lastname"/></iaixsl:attribute>
<iaixsl:attribute name="data-copy">delivery_lastname</iaixsl:attribute>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
<iaixsl:if test="/shop/page/client-data/profile_data/@mandatory_lastname = 'true'"><iaixsl:attribute name="required">required</iaixsl:attribute></iaixsl:if>
</input>
<label for="client_lastname" class="f-label">
<iai:variable vid="Nazwisko"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
<iaixsl:if test="/shop/page/client-data/birth_date/@active != 'hide'">
<div class="form-group">
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="class">form-group readonly</iaixsl:attribute></iaixsl:if>
<div class="has-feedback f-feedback">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
</iaixsl:if>
<input id="birth_date" type="text" class="form-control validate f-control" name="birth_date">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@birthdate"/></iaixsl:attribute>
<iaixsl:if test="/shop/page/client-data/birth_date/@date != '0000-00-00'"><iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/birth_date/@date"/></iaixsl:attribute></iaixsl:if>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
<iaixsl:if test="/shop/page/client-data/birth_date/@active='required'"><iaixsl:attribute name="required">required</iaixsl:attribute></iaixsl:if>
</input>
<label for="birth_date" class="f-label">
<iai:variable vid="Data urodzenia"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
</iaixsl:if>
<div class="form-group">
<div class="has-feedback f-feedback">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
</iaixsl:if>
<input id="client_street" type="text" class="form-control validate f-control" name="client_street" data-serialize="#client_region">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@addres"/></iaixsl:attribute>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@street"/></iaixsl:attribute>
<iaixsl:attribute name="data-copy">delivery_street</iaixsl:attribute>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
<iaixsl:attribute name="required">required</iaixsl:attribute>
</input>
<label for="client_street" class="f-label">
<iai:variable vid="Adres"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
<div class="form-group">
<div class="row">
<div class="zipcode_wrapper col-md-5 has-feedback f-feedback">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="class">zipcode_wrapper col-md-5 has-feedback f-feedback --success has-success</iaixsl:attribute>
</iaixsl:if>
<input id="client_zipcode" type="text" class="form-control validate f-control" name="client_zipcode" data-serialize="#client_region">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@zipcode"/></iaixsl:attribute>
<iaixsl:attribute name="data-copy">delivery_zipcode</iaixsl:attribute>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
<iaixsl:attribute name="required">required</iaixsl:attribute>
</input>
<label for="client_firstname" class="f-label">
<iai:variable vid="Imię"/>
<label for="client_zipcode" class="f-label">
<iai:variable vid="Kod pocztowy"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
<div class="form-group move_is_firm">
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="class">form-group move_is_firm readonly</iaixsl:attribute></iaixsl:if>
<div class="has-feedback f-feedback">
<input id="client_lastname" type="text" class="form-control validate f-control" name="client_lastname">
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@lastname"/></iaixsl:attribute>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@lastname"/></iaixsl:attribute>
<iaixsl:attribute name="data-copy">delivery_lastname</iaixsl:attribute>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
<iaixsl:if test="/shop/page/client-data/profile_data/@mandatory_lastname = 'true'"><iaixsl:attribute name="required">required</iaixsl:attribute></iaixsl:if>
</input>
<label for="client_lastname" class="f-label">
<iai:variable vid="Nazwisko"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
<iaixsl:if test="/shop/page/client-data/birth_date/@active != 'hide'">
<div class="form-group">
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="class">form-group readonly</iaixsl:attribute></iaixsl:if>
<div class="has-feedback f-feedback">
<input id="birth_date" type="text" class="form-control validate f-control" name="birth_date">
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@birthdate"/></iaixsl:attribute>
<iaixsl:if test="/shop/page/client-data/birth_date/@date != '0000-00-00'"><iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/birth_date/@date"/></iaixsl:attribute></iaixsl:if>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
<iaixsl:if test="/shop/page/client-data/birth_date/@active='required'"><iaixsl:attribute name="required">required</iaixsl:attribute></iaixsl:if>
</input>
<label for="birth_date" class="f-label">
<iai:variable vid="Data urodzenia"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
</iaixsl:if>
<div class="form-group">
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="class">form-group readonly</iaixsl:attribute></iaixsl:if>
<div class="has-feedback f-feedback">
<input id="client_street" type="text" class="form-control validate f-control" name="client_street" data-serialize="#client_region">
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@addres"/></iaixsl:attribute>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@street"/></iaixsl:attribute>
<iaixsl:attribute name="data-copy">delivery_street</iaixsl:attribute>
<div class="city_wrapper col-md-7 has-feedback f-feedback">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="class">city_wrapper col-md-7 has-feedback f-feedback --success has-success</iaixsl:attribute>
</iaixsl:if>
<input id="client_city" type="text" class="form-control validate f-control" name="client_city">
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@city"/></iaixsl:attribute>
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@city"/></iaixsl:attribute>
<iaixsl:attribute name="data-copy">delivery_city</iaixsl:attribute>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
<iaixsl:attribute name="required">required</iaixsl:attribute>
</input>
<label for="client_street" class="f-label">
<iai:variable vid="Adres"/>
<label for="client_city" class="f-label">
<iai:variable vid="Miasto"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
<div class="form-group">
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="class">form-group readonly</iaixsl:attribute></iaixsl:if>
<div class="row">
<div class="zipcode_wrapper col-md-5 has-feedback f-feedback">
<input id="client_zipcode" type="text" class="form-control validate f-control" name="client_zipcode" data-serialize="#client_region">
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@zipcode"/></iaixsl:attribute>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@zipcode"/></iaixsl:attribute>
<iaixsl:attribute name="data-copy">delivery_zipcode</iaixsl:attribute>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
<iaixsl:attribute name="required">required</iaixsl:attribute>
</input>
<label for="client_zipcode" class="f-label">
<iai:variable vid="Kod pocztowy"/>
</label>
<span class="form-control-feedback"/>
</div>
<div class="city_wrapper col-md-7 has-feedback f-feedback">
<input id="client_city" type="text" class="form-control validate f-control" name="client_city">
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@city"/></iaixsl:attribute>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@city"/></iaixsl:attribute>
<iaixsl:attribute name="data-copy">delivery_city</iaixsl:attribute>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
<iaixsl:attribute name="required">required</iaixsl:attribute>
</input>
<label for="client_city" class="f-label">
<iai:variable vid="Miasto"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
</div>
<iaixsl:choose>
<iaixsl:when test="count(/shop/page/options/countries/country) = 1 and (/shop/page/options/countries/country/@id = 1143020003)">
<input id="client_region" type="hidden" name="client_region">
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/options/countries/country/@id"/></iaixsl:attribute>
<iaixsl:attribute name="data-vat_company"><iaixsl:value-of select="/shop/page/options/countries/country/@vat_company"/></iaixsl:attribute>
<iaixsl:attribute name="data-vat"><iaixsl:value-of select="/shop/page/options/countries/country/@vat"/></iaixsl:attribute>
</input>
</iaixsl:when>
<iaixsl:otherwise>
<div class="form-group --region">
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="class">form-group readonly</iaixsl:attribute></iaixsl:if>
<label for="client_region" class="control-label">
<iai:variable vid="Kraj"/>:
</label>
<div>
<select class="form-control delivery_countries" id="client_region" name="client_region" data-revalidate="#client_street,#client_zipcode">
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
<iaixsl:attribute name="data-copy">delivery_region</iaixsl:attribute>
<iaixsl:for-each select="/shop/page/options/countries/country">
<option>
<iaixsl:attribute name="value"><iaixsl:value-of select="@id"/></iaixsl:attribute>
<iaixsl:attribute name="data-vat_company"><iaixsl:value-of select="@vat_company"/></iaixsl:attribute>
<iaixsl:attribute name="data-vat"><iaixsl:value-of select="@vat"/></iaixsl:attribute>
<iaixsl:choose>
<iaixsl:when test="/shop/page/client-data/invoice_data/@region > 0">
<iaixsl:if test="@id = /shop/page/client-data/invoice_data/@region">
<iaixsl:attribute name="selected">selected</iaixsl:attribute>
</iaixsl:if>
</iaixsl:when>
<iaixsl:when test="@id = /shop/page/options/countries/@delivery_active">
</div>
<iaixsl:choose>
<iaixsl:when test="count(/shop/page/options/countries/country) = 1 and (/shop/page/options/countries/country/@id = 1143020003)">
<input id="client_region" type="hidden" name="client_region">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/options/countries/country/@id"/></iaixsl:attribute>
<iaixsl:attribute name="data-vat_company"><iaixsl:value-of select="/shop/page/options/countries/country/@vat_company"/></iaixsl:attribute>
<iaixsl:attribute name="data-vat"><iaixsl:value-of select="/shop/page/options/countries/country/@vat"/></iaixsl:attribute>
</input>
</iaixsl:when>
<iaixsl:otherwise>
<div class="form-group --region">
<label for="client_region" class="control-label">
<iai:variable vid="Kraj"/>
</label>
<div>
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="class">f-feedback --success</iaixsl:attribute>
</iaixsl:if>
<select class="form-control delivery_countries" id="client_region" name="client_region" data-revalidate="#client_street,#client_zipcode">
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
<iaixsl:attribute name="class">form-control delivery_countries f-control focused</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="data-copy">delivery_region</iaixsl:attribute>
<iaixsl:for-each select="/shop/page/options/countries/country">
<option>
<iaixsl:attribute name="value"><iaixsl:value-of select="@id"/></iaixsl:attribute>
<iaixsl:attribute name="data-vat_company"><iaixsl:value-of select="@vat_company"/></iaixsl:attribute>
<iaixsl:attribute name="data-vat"><iaixsl:value-of select="@vat"/></iaixsl:attribute>
<iaixsl:choose>
<iaixsl:when test="/shop/page/client-data/invoice_data/@region > 0">
<iaixsl:if test="@id = /shop/page/client-data/invoice_data/@region">
<iaixsl:attribute name="selected">selected</iaixsl:attribute>
</iaixsl:when>
</iaixsl:choose>
<iaixsl:value-of select="@name"/>
</option>
</iaixsl:for-each>
</select>
</div>
</iaixsl:if>
</iaixsl:when>
<iaixsl:when test="@id = /shop/page/options/countries/@delivery_active">
<iaixsl:attribute name="selected">selected</iaixsl:attribute>
</iaixsl:when>
</iaixsl:choose>
<iaixsl:value-of select="@name"/>
</option>
</iaixsl:for-each>
</select>
</div>
</iaixsl:otherwise>
</iaixsl:choose>
</div>
</iaixsl:otherwise>
</iaixsl:choose>
<iaixsl:for-each select="/shop/page/options/countries/country">
<iaixsl:if test="provinces/province">
<div class="form-group client_provinces" style="display: none;">
<iaixsl:if test="@selected = 'true'"><iaixsl:attribute name="style">display: block;</iaixsl:attribute></iaixsl:if>
<iaixsl:for-each select="/shop/page/options/countries/country">
<iaixsl:if test="provinces/province">
<div class="form-group client_provinces" style="display: none;">
<iaixsl:if test="@selected = 'true'"><iaixsl:attribute name="style">display: block;</iaixsl:attribute></iaixsl:if>
<iaixsl:attribute name="id">client_region_<iaixsl:value-of select="@id"/></iaixsl:attribute>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="class">form-group client_provinces readonly</iaixsl:attribute></iaixsl:if>
<label for="client_province" class="control-label" style="display: none;">
<iaixsl:attribute name="class">control-label</iaixsl:attribute>
<iaixsl:for-each select="province_types/type">
<iaixsl:choose>
<iaixsl:when test="text() = 'state'"><iai:variable vid="Stan"/></iaixsl:when>
<iaixsl:when test="text() = 'province'"><iai:variable vid="Prowincja"/></iaixsl:when>
<iaixsl:when test="text() = 'territory'"><iai:variable vid="Terytorium"/></iaixsl:when>
<iaixsl:otherwise><iai:variable vid="Region"/></iaixsl:otherwise>
</iaixsl:choose>
<iaixsl:if test="not(position() = last())">/</iaixsl:if>
</iaixsl:for-each>:
<iaixsl:for-each select="province_types/type">
<iaixsl:choose>
<iaixsl:when test="text() = 'state'"><iai:variable vid="Stan"/></iaixsl:when>
<iaixsl:when test="text() = 'province'"><iai:variable vid="Prowincja"/></iaixsl:when>
<iaixsl:when test="text() = 'territory'"><iai:variable vid="Terytorium"/></iaixsl:when>
<iaixsl:otherwise><iai:variable vid="Region"/></iaixsl:otherwise>
</iaixsl:choose>
<iaixsl:if test="not(position() = last())">/</iaixsl:if>
</iaixsl:for-each>:
</label>
<div>
<select class="form-control" name="client_province">
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
<iaixsl:if test="not(@selected = 'true')"><iaixsl:attribute name="disabled">disabled</iaixsl:attribute></iaixsl:if>
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
<iaixsl:attribute name="disabled">disabled</iaixsl:attribute>
</iaixsl:if>
<iaixsl:attribute name="id">client_province_<iaixsl:value-of select="@id"/></iaixsl:attribute>
<iaixsl:attribute name="data-copy">delivery_province</iaixsl:attribute>
<iaixsl:for-each select="provinces/province">
@@ -434,279 +524,11 @@
</div>
</iaixsl:if>
</iaixsl:for-each>
</div>
</form>
<!-- INNY ADRES DOSTAWY (KLIENT NIE ZALOGOWANY) -->
<div id="client_new_additional">
<iaixsl:if test="not(/shop/page/client-data/@edit = 'true') and (/shop/page/client-data/delivery_data/@use != 'hide')">
<div class="form-group" id="delivery_box_switcher">
<label class="control-label" for="deliver_to_billingaddr">
<input type="checkbox" name="deliver_to_billingaddr" id="deliver_to_billingaddr" value="0"></input>
<iai:variable vid="Dostawa na inny adres"/>
</label>
</div>
</iaixsl:if>
<iaixsl:if test="not(/shop/page/client-data/@edit = 'true') and (/shop/page/client-data/delivery_data/@use != 'hide')">
<form class="delivery_box cn_wrapper f-group" onsubmit="return false">
<iaixsl:if test="(/shop/page/client-data/delivery_data/@use = 'yes')"><iaixsl:attribute name="style">display:block;</iaixsl:attribute></iaixsl:if>
<iaixsl:for-each select="/shop/page/client-data/delivery_data">
<div class="form-group --hide">
<div class="has-feedback f-feedback">
<input id="delivery_firstname" type="text" class="form-control validate f-control" name="delivery_firstname">
<iaixsl:attribute name="value"><iaixsl:value-of select="@firstname"/></iaixsl:attribute>
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@name"/></iaixsl:attribute>
<iaixsl:attribute name="required">required</iaixsl:attribute>
</input>
<label for="delivery_firstname" class="f-label">
<iai:variable vid="Imię"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
<div class="form-group --hide">
<div class="has-feedback f-feedback">
<input id="delivery_lastname" type="text" class="form-control validate f-control" name="delivery_lastname">
<iaixsl:attribute name="value"><iaixsl:value-of select="@lastname"/></iaixsl:attribute>
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@name"/></iaixsl:attribute>
<iaixsl:if test="/shop/page/client-data/profile_data/@mandatory_lastname = 'true'"><iaixsl:attribute name="required">required</iaixsl:attribute></iaixsl:if>
</input>
<label for="delivery_lastname" class="f-label">
<iai:variable vid="Nazwisko"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
<div class="form-group --hide f-feedback">
<div class="has-feedback f-feedback">
<input id="delivery_additional" type="text" class="form-control validate f-control" name="delivery_additional">
<iaixsl:attribute name="value"><iaixsl:value-of select="@additional"/></iaixsl:attribute>
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@additional"/></iaixsl:attribute>
</input>
<label for="delivery_additional" class="f-label">
<iai:variable vid="Nazwa firmy"/>
</label>
</div>
</div>
<div class="form-group --hide">
<div class="has-feedback f-feedback">
<input id="delivery_street" type="text" class="form-control validate f-control" name="delivery_street" data-serialize="#delivery_region">
<iaixsl:attribute name="value"><iaixsl:value-of select="@street"/></iaixsl:attribute>
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@addres"/></iaixsl:attribute>
<iaixsl:attribute name="required">required</iaixsl:attribute>
</input>
<label for="delivery_street" class="f-label">
<iai:variable vid="Adres"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
<div class="form-group --hide">
<div class="row">
<div class="zipcode_wrapper col-md-5 has-feedback f-feedback">
<input id="delivery_zipcode" type="text" class="form-control validate f-control" name="delivery_zipcode" data-serialize="#delivery_region">
<iaixsl:attribute name="value"><iaixsl:value-of select="@zipcode"/></iaixsl:attribute>
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@zipcode"/></iaixsl:attribute>
<iaixsl:attribute name="required">required</iaixsl:attribute>
</input>
<label for="delivery_zipcode" class="f-label">
<iai:variable vid="Kod pocztowy"/>
</label>
<span class="form-control-feedback"/>
</div>
<div class="city_wrapper col-md-7 has-feedback f-feedback">
<input id="delivery_city" type="text" class="form-control validate f-control" name="delivery_city">
<iaixsl:attribute name="value"><iaixsl:value-of select="@city"/></iaixsl:attribute>
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@city"/></iaixsl:attribute>
<iaixsl:attribute name="required">required</iaixsl:attribute>
</input>
<label for="delivery_city" class="f-label">
<iai:variable vid="Miasto"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
</div>
<iaixsl:choose>
<iaixsl:when test="count(/shop/page/options/countries/country) = 1 and (/shop/page/options/countries/country/@id = 1143020003)">
<input id="delivery_region" type="hidden" name="delivery_region" class="--hide">
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/options/countries/country/@id"/></iaixsl:attribute>
<iaixsl:attribute name="data-vat_company"><iaixsl:value-of select="/shop/page/options/countries/country/@vat_company"/></iaixsl:attribute>
<iaixsl:attribute name="data-vat"><iaixsl:value-of select="/shop/page/options/countries/country/@vat"/></iaixsl:attribute>
</input>
</iaixsl:when>
<iaixsl:otherwise>
<div class="form-group --hide --region">
<label for="delivery_region" class="control-label">
<iai:variable vid="Kraj"/>:
</label>
<div>
<select class="form-control delivery_countries" id="delivery_region" name="delivery_region" data-revalidate="#delivery_street,#delivery_zipcode">
<iaixsl:for-each select="/shop/page/options/countries/country">
<option>
<iaixsl:attribute name="value"><iaixsl:value-of select="@id"/></iaixsl:attribute>
<iaixsl:attribute name="data-vat_company"><iaixsl:value-of select="@vat_company"/></iaixsl:attribute>
<iaixsl:attribute name="data-vat"><iaixsl:value-of select="@vat"/></iaixsl:attribute>
<iaixsl:if test="(@id = /shop/page/client-data/delivery_data/@region) or (@id = /shop/page/options/countries/@delivery_active)">
<iaixsl:attribute name="selected">selected</iaixsl:attribute>
</iaixsl:if>
<iaixsl:value-of select="@name"/>
</option>
</iaixsl:for-each>
</select>
</div>
</div>
</iaixsl:otherwise>
</iaixsl:choose>
<iaixsl:for-each select="/shop/page/options/countries/country">
<iaixsl:if test="provinces/province">
<div class="form-group client_provinces --hide" style="display: none;">
<iaixsl:attribute name="id">delivery_region_<iaixsl:value-of select="@id"/></iaixsl:attribute>
<label for="delivery_province" class="control-label" style="display:none;">
<iaixsl:for-each select="province_types/type">
<iaixsl:choose>
<iaixsl:when test="text() = 'state'"><iai:variable vid="Stan"/></iaixsl:when>
<iaixsl:when test="text() = 'province'"><iai:variable vid="Prowincja"/></iaixsl:when>
<iaixsl:when test="text() = 'territory'"><iai:variable vid="Terytorium"/></iaixsl:when>
<iaixsl:otherwise><iai:variable vid="Region"/></iaixsl:otherwise>
</iaixsl:choose>
<iaixsl:if test="not(position() = last())">/</iaixsl:if>
</iaixsl:for-each>:
</label>
<div>
<select class="form-control" name="delivery_province">
<iaixsl:for-each select="provinces/province">
<option>
<iaixsl:attribute name="value"><iaixsl:value-of select="@id"/></iaixsl:attribute>
<iaixsl:if test="(@id = /shop/page/client-data/invoice_data/@province) or (@selected = 'true')">
<iaixsl:attribute name="selected">selected</iaixsl:attribute>
</iaixsl:if>
<iaixsl:value-of select="@name"/>
</option>
</iaixsl:for-each>
</select>
</div>
</div>
</iaixsl:if>
</iaixsl:for-each>
<div class="form-group --hide">
<div class="has-feedback f-feedback">
<input id="delivery_phone" type="text" class="form-control validate f-control" name="delivery_phone" data-serialize="#delivery_region">
<iaixsl:attribute name="value"><iaixsl:value-of select="@phone"/></iaixsl:attribute>
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@phone"/></iaixsl:attribute>
<iaixsl:if test="/shop/page/client-data/contact_data/@mandatory_phone = 'true'">
<iaixsl:attribute name="required">required</iaixsl:attribute>
</iaixsl:if>
</input>
<label for="delivery_phone" class="f-label">
<iai:variable vid="Numer telefonu"/>
</label>
<span class="form-control-feedback"/>
</div>
</div>
</iaixsl:for-each>
</form>
</iaixsl:if>
</div>
</div>
<script type="text/javascript" class="ajaxLoad">
<iaixsl:if test="/shop/page/client-data/profile_data/@min_password_length and /shop/page/client-data/profile_data/@max_password_length">
var ClNewPasswordLengthMin ="<iaixsl:value-of select="/shop/page/client-data/profile_data/@min_password_length"/>";
var ClNewPasswordLengthMax ="<iaixsl:value-of select="/shop/page/client-data/profile_data/@max_password_length"/>";
</iaixsl:if>
var is_firm = <iaixsl:value-of select="$is_firm"/>;
var client_new_mode = "<iaixsl:value-of select="$client_new_mode"/>";
</script>
<script type="text/javascript" class="ajaxLoad">
client_new.init();
</script>
</iaixsl:when>
<!-- KLIENT ZALOGOWANY -->
<iaixsl:otherwise>
<div class="client_biling_data billing_data_tabb">
<input type="hidden" name="client_type_logg">
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/client_type/@type"/></iaixsl:attribute>
</input>
<input type="hidden" name="client_firm_additional_logg">
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/delivery_data/@additional"/></iaixsl:attribute>
</input>
<input type="hidden" name="client_mailing_logg">
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/contact_data/@mailing"/></iaixsl:attribute>
</input>
<input type="hidden" name="client_send_sms_logg">
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/contact_data/@mandatory_phone"/></iaixsl:attribute>
</input>
<iaixsl:if test="/shop/page/client-data/contact_data/@email != ''">
<div>
<b><iai:variable vid="Adres e-mail"/>: </b>
<span class="client_email_logg"><iaixsl:value-of select="/shop/page/client-data/contact_data/@email"/></span>
</div>
</iaixsl:if>
<iaixsl:if test="/shop/page/client-data/contact_data/@phone != ''">
<div>
<b><iai:variable vid="Numer telefonu"/>: </b>
<span class="client_phone_logg"><iaixsl:value-of select="/shop/page/client-data/contact_data/@phone"/></span>
</div>
</iaixsl:if>
<iaixsl:if test="/shop/page/client-data/invoice_data/@firm != ''">
<div>
<b><iai:variable vid="Nazwa firmy"/>: </b>
<span class="client_firm_logg"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@firm"/></span>
</div>
</iaixsl:if>
<iaixsl:if test="/shop/page/client-data/invoice_data/@nip != ''">
<div>
<b><iai:variable vid="NIP"/>: </b>
<span class="client_nip_logg"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@nip"/></span>
</div>
</iaixsl:if>
<iaixsl:if test="/shop/page/client-data/invoice_data/@firstname != ''">
<div>
<b><iai:variable vid="Imię"/>: </b>
<span class="client_firstname_logg"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@firstname"/></span>
</div>
</iaixsl:if>
<iaixsl:if test="/shop/page/client-data/invoice_data/@lastname != ''">
<div>
<b><iai:variable vid="Nazwisko"/>: </b>
<span class="client_lastname_logg"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@lastname"/></span>
</div>
</iaixsl:if>
<div>
<b><iai:variable vid="Ulica i numer"/>: </b>
<span class="client_street_logg"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@street"/></span>
</div>
<div>
<b><iai:variable vid="Kod pocztowy"/> <iai:variable vid="i"/> <iai:variable vid="Miasto"/>: </b>
<span><span class="client_zipcode_logg"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@zipcode"/></span>&#160;<span class="client_city_logg"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@city"/></span></span>
</div>
<div>
<b><iai:variable vid="Kraj"/>: </b>
<span class="client_region_logg">
<iaixsl:for-each select="/shop/page/options/countries/country">
<iaixsl:if test="@id = /shop/page/client-data/invoice_data/@region">
<iaixsl:value-of select="@name"/>
</iaixsl:if>
</iaixsl:for-each>
<input type="hidden" name="client_region_logg">
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@region"/></iaixsl:attribute>
</input>
</span>
</div>
</div>
<div id="client_new_additional">
<iaixsl:if test="not(/shop/page/client-data/@edit = 'true') and (/shop/page/client-data/delivery_data/@use != 'hide')">
<div class="form-group" id="delivery_box_switcher">
@@ -875,7 +697,7 @@
<iaixsl:otherwise>
<div class="form-group --hide --region">
<label for="delivery_region" class="control-label">
<iai:variable vid="Kraj"/>:
<iai:variable vid="Kraj"/>
</label>
<div>
<select class="form-control delivery_countries" id="delivery_region" name="delivery_region" data-revalidate="#delivery_street,#delivery_zipcode">
@@ -947,8 +769,8 @@
</div>
</iaixsl:if>
</div>
</iaixsl:otherwise>
</iaixsl:choose>
</div>
<!-- FAKTURY -->
@@ -997,7 +819,7 @@
<div id="checkout_step3_1" class="cop_seectio_sub">
<div class="step3 cop_box">
<div class="step3_sub cop_box_sub">
<h2><span>2. <iai:variable vid="Płatność"/></span></h2>
<h2>3. <iai:variable vid="Płatność"/></h2>
</div>
</div>
</div>
@@ -1005,7 +827,7 @@
<div id="checkout_step2_1" class="cop_seectio_sub">
<div class="step2 cop_box">
<div class="step2_sub cop_box_sub">
<h2><span>3. <iai:variable vid="Dostawa"/></span></h2>
<h2>4. <iai:variable vid="Dostawa"/></h2>
</div>
</div>
</div>
@@ -1070,7 +892,7 @@
</div>
<div class="summary__container">
<div id="checkout_step3_3" class="cop_seectio_sub">
<h2><span><i class="icon-list1"></i> <iai:variable vid="Podsumowanie"/></span></h2>
<h2><i class="icon-list1"></i> <iai:variable vid="Podsumowanie"/></h2>
<!--Produkty-->
<iaixsl:for-each select="basket/product">
<div class="cop_product_wrap">