{* * 2007-2013 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2013 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {capture name=path}{l s='Your addresses'}{/capture} {include file="$tpl_dir./breadcrumb.tpl"}

{l s='Your addresses'}

{if isset($id_address) && (isset($smarty.post.alias) || isset($address->alias))} {l s='Modify address'} {if isset($smarty.post.alias)} "{$smarty.post.alias}" {else} {if isset($address->alias)}"{$address->alias|escape:'html'}"{/if} {/if} {else} {l s='To add a new address, please fill out the form below.'} {/if}

{include file="$tpl_dir./errors.tpl"}

* {l s='Required field'}

{if isset($id_address)}{l s='Your address'}{else}{l s='New address'}{/if}

{l s='DNI / NIF / NIE'}

{assign var="stateExist" value="false"} {assign var="postCodeExist" value="false"} {foreach from=$ordered_adr_fields item=field_name} {if $field_name eq 'company'}

{/if} {if $field_name eq 'vat_number'}

{/if} {if $field_name eq 'firstname'}

{/if} {if $field_name eq 'lastname'}

{/if} {if $field_name eq 'address1'}

{/if} {if $field_name eq 'address2'}

{/if} {if $field_name eq 'postcode'} {assign var="postCodeExist" value="true"}

{/if} {if $field_name eq 'city'}

{* if customer hasn't update his layout address, country has to be verified but it's deprecated *} {/if} {if $field_name eq 'Country:name' || $field_name eq 'country'}

{if $vatnumber_ajax_call} {/if} {/if} {if $field_name eq 'State:name'} {assign var="stateExist" value="true"}

{/if} {/foreach} {if $postCodeExist eq "false"} {/if} {if $stateExist eq "false"}

{/if}

{if isset($one_phone_at_least) && $one_phone_at_least}

{l s='You must register at least one phone number.'}

{/if}

{if isset($id_address)}{/if} {if isset($back)}{/if} {if isset($mod)}{/if} {if isset($select_address)}{/if}