Wprowadzenie kraju ostatniego zamówienia do localStorage i sprawdzenie go przy uzupełnianiu danych o płatnościach i dostawie
This commit is contained in:
20
index.xslt
20
index.xslt
@@ -379,7 +379,7 @@
|
||||
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
||||
</input>
|
||||
<label for="client_street" class="f-label">
|
||||
<iai:variable vid="Adres"/>
|
||||
<iai:variable vid="Ulica i numer"/>
|
||||
</label>
|
||||
<span class="form-control-feedback"/>
|
||||
</div>
|
||||
@@ -656,7 +656,7 @@
|
||||
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
||||
</input>
|
||||
<label for="delivery_street" class="f-label">
|
||||
<iai:variable vid="Adres"/>
|
||||
<iai:variable vid="Ulica i numer"/>
|
||||
</label>
|
||||
<span class="form-control-feedback"/>
|
||||
</div>
|
||||
@@ -709,9 +709,19 @@
|
||||
<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: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: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">
|
||||
<iaixsl:attribute name="selected">selected</iaixsl:attribute>
|
||||
</iaixsl:when>
|
||||
</iaixsl:choose>
|
||||
<iaixsl:value-of select="@name"/>
|
||||
</option>
|
||||
</iaixsl:for-each>
|
||||
|
||||
Reference in New Issue
Block a user