{* * 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 *} {if isset($smarty.get.id_address)} {assign var='cur_address' value=$smarty.get.id_address|intval} {else} {assign var='cur_address' value='0'} {/if} {include file="$tpl_dir./header-page.tpl" page=$cur_address} {* ** Compatibility code for Prestashop older than 1.4.2 using a recent theme ** Ignore list isn't require here ** $address exist in every PrestaShop version *} {* Will be deleted for 1.5 version and more *} {* If ordered_adr_fields doesn't exist, it's a PrestaShop older than 1.4.2 *} {if !isset($ordered_adr_fields)} {if isset($address)} {counter start=0 skip=1 assign=address_key_number} {foreach from=$address key=address_key item=address_value} {$ordered_adr_fields.$address_key_number = $address_key} {counter} {/foreach} {else} {$ordered_adr_fields.0 = 'company'} {$ordered_adr_fields.1 = 'firstname'} {$ordered_adr_fields.2 = 'lastname'} {$ordered_adr_fields.3 = 'address1'} {$ordered_adr_fields.4 = 'address2'} {$ordered_adr_fields.5 = 'postcode'} {$ordered_adr_fields.6 = 'city'} {$ordered_adr_fields.7 = 'country'} {$ordered_adr_fields.8 = 'state'} {/if} {/if} {capture name=path} {l s='My account'}{$navigationPipe|escape:'htmlall':'UTF-8'}{l s='My addresses'}{$navigationPipe|escape:'htmlall':'UTF-8'}{l s='Address'}{/capture} {include file="$tpl_dir./breadcrumb.tpl"} {if isset($id_address) && (isset($smarty.post.alias) || isset($address->alias))}

{l s='Modify address'} {if isset($smarty.post.alias)} "{$smarty.post.alias|escape:'htmlall':'UTF-8'}" {else} {if isset($address->alias)}"{$address->alias|escape:'htmlall':'UTF-8'}"{/if} {/if}

{/if} {include file="$tpl_dir./errors.tpl"}
{l s='DNI / NIF / NIE'}
{if $vat_display == 2}
{elseif $vat_display == 1} {include file="$tpl_dir./footer-page.tpl" page=$cur_address}