{*
* 2007-2020 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@buy-addons.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    Buy-addons    <contact@buy-addons.com>
* @copyright 2007-2020 Buy-addons
* @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
<div class="td_new_address_popup col-sm-4" style="padding: 12px 15px 9px 15px;width: 900px;">
	<div class="td_float_left" style="margin-bottom: 8px;">
		<div class="td_float_left" style="background-color: #fff;border: solid 1px #d3d8db;border-radius: 5px;float: left;overflow-y: scroll; max-height: 450px;">
			<h3 class="page-subheading td_float_left" style="margin:0;padding-left: 10px;">
				<i class="icon-envelope-alt"></i> {l s='Addresses' mod='askforaquotemodul'}
			</h3>
			<div class="td_float_left ba_newsletter_mail_list checkbox" style="line-height:unset;margin: 10px 0 10px 0;">
				<div class="form-group td_float_left" style="margin-bottom: 16px;">
					<label class="control-label col-lg-3 required" style="width: 18%;margin-bottom: 10px;text-align: right;margin-left: 4px;">
						<span class="label-tooltip " data-toggle="tooltip" data-html="true" title="" >
						{l s='Address alias' mod='askforaquotemodul'}
						</span>
					</label>
					<div class="col-lg-4 check_popup_newaddress" style="width: 76%;margin-left: -1px;padding-right: 14px;">
						<input type="text" name=""  value="{$data_address['alias']|escape:'htmlall':'UTF-8'}" class="td_newaddress_val td_popup__address_alias" style="box-shadow: unset;">
						<span class="alert_check_order" style="right: -8px;"><i class="icon-warning-sign"></i></span>
					</div>
				</div>
			</div>
			<div class="dadasdsa" style="float:left;width:50%;">
				<div class="form-group td_float_left" style="">
					<div class="form-group td_float_left" style="">
						<label class="control-label col-lg-3 required" style="width:37%;margin-bottom: 10px;margin-left: -1px;text-align: right;margin-right: 1px;">
							<span class="label-tooltip " data-toggle="tooltip" data-html="true" title="" >
								{l s='First Name' mod='askforaquotemodul'}
							</span>
						</label>
						<div class="col-lg-4  check_popup_newaddress" style="width: 50%;padding-right: 5px;">
							<input type="text" name="" value="{$data_address['firstname']|escape:'htmlall':'UTF-8'}" class="td_newaddress_val td_popup__address_first_name" style="box-shadow: unset;">
							<span class="alert_check_order" style="right: -12px;"><i class="icon-warning-sign"></i></span>
						</div>
					</div>
					<div class="form-group td_float_left" style="">
						<label class="control-label col-lg-3 required" style="width:37%;margin-bottom: 10px;text-align: right;margin-left: -1px;">
							<span class="label-tooltip " data-toggle="tooltip" data-html="true" title="" >
							{l s='Last Name' mod='askforaquotemodul'}
							</span>
						</label>
						<div class="col-lg-4 check_popup_newaddress" style="width:49%;padding-right:0px;">
							<input type="text" name="" value="{$data_address['lastname']|escape:'htmlall':'UTF-8'}" class="td_newaddress_val td_popup__address_last_name" style="box-shadow: unset;">
							<span class="alert_check_order" style="right: -18px;"><i class="icon-warning-sign"></i></span>
						</div>
					</div>
					<div class="form-group td_float_left">
						<label class="control-label col-lg-3" style="width: 36%;margin-bottom: 10px;margin-right: -11px;text-align: right;padding: 0 2px 0 0;">
							<span class="label-tooltip" data-toggle="tooltip" data-html="true" title="" >
							{l s='Company' mod='askforaquotemodul'}
							</span>
						</label>
						<div class="col-lg-4 " style="width:57%;padding: 0 20px 0 20px;float:left;">
							<input type="text" name="" value="{$data_address['company']|escape:'htmlall':'UTF-8'}" class="td_popup__address_company" style="box-shadow: unset;">
						</div>
					</div>
					<div class="form-group td_float_left">
						<label class="control-label col-lg-3 required" style="width: 37%;margin-bottom: 10px;float: left;text-align: right;">
							<span class="label-tooltip " data-toggle="tooltip" data-html="true" title="" >
							{l s='Country' mod='askforaquotemodul'}
							</span>
						</label>
						<div class="col-lg-4 " style="width:51%;float:left;">
							<div class="col-lg-4 check_popup_newaddress" style="padding-left: 0;">
								<select style="width:207px !important;" name="" onchange="getstate_popup_address(this);" class="td_newaddress_val td_popup__address_country fixed-width-xl" style="width: 202px !important;box-shadow: unset;">
									<option value="">{l s='Select Country' mod='askforaquotemodul'}</option>
									{if !empty($name_country)}
										{foreach from=$name_country key=key_name_country item=item_name_country}
											<option value="{$name_country[$key_name_country]['id_country']|escape:'htmlall':'UTF-8'}" {if $data_address['id_country'] == $name_country[$key_name_country]['id_country']} selected {/if}>{$name_country[$key_name_country]['name']|escape:'htmlall':'UTF-8'}</option>
										{/foreach}
									{/if}
								</select>
							<span class="alert_check_order" style="right: -155px;"><i class="icon-warning-sign"></i></span>
							<span class="load_check_order" style="right: -155px;"><i class="icon-refresh icon-spin"></i></span>
							</div>
						</div>
					</div>
					<div class="form-group td_float_left">
						<label class="control-label col-lg-3 required" style="width: 36%;margin-bottom: 10px;float: left;text-align: right;padding-right: 2px;">
							<span class="label-tooltip " data-toggle="tooltip" data-html="true" title="" >
							{l s='City' mod='askforaquotemodul'}
							</span>
						</label>
						<div class="col-lg-4 check_popup_newaddress" style="width: 50%;padding: 0 10px 0 0;margin-left: 9px;float: left;">
							<input type="text" name="" value="{$data_address['city']|escape:'htmlall':'UTF-8'}" class="td_newaddress_val td_popup__address_city" style="box-shadow: unset;">
							<span class="alert_check_order" style="right: -10px;"><i class="icon-warning-sign"></i></span>
						</div>
					</div>
					{if !empty($name_state)}
						<style>
							.showstate{ldelim}display:block;{rdelim}
						</style>
					{/if}
					<div class="form-group td_float_left showstate">
						<label class="control-label col-lg-3" style="width: 37%;margin-bottom: 10px;float: left;text-align: right;">
							<span class="label-tooltip" data-toggle="tooltip" data-html="true" title="" >
							{l s='State' mod='askforaquotemodul'}
							</span>
						</label>
						<div class="col-lg-4 " style="width:51%;float:left;">
							<div class="col-lg-4" style="padding-left: 0;">
								<select style="width:207px !important" name="" class="td_popup__address_state fixed-width-xl" style="width: 202px !important;box-shadow: unset;">
									<option class="td_new_state_address" value="">{l s='Select State' mod='askforaquotemodul'}</option>
									{if !empty($name_state)}
										{foreach from=$name_state key=key_name_state item=item_name_state}
											<option value="{$name_state[$key_name_state]['id_state']|escape:'htmlall':'UTF-8'}" {if $data_address['id_state'] == $name_state[$key_name_state]['id_state']} selected {/if}>{$name_state[$key_name_state]['name']|escape:'htmlall':'UTF-8'}</option>
										{/foreach}
									{/if}
								</select>
							</div>
						</div>
					</div>
					<div class="form-group td_float_left">
						<label class="control-label col-lg-3 required" style="width: 37%;text-align: right;margin-bottom: 10px;">
							<span class="label-tooltip " data-toggle="tooltip" data-html="true" title="" >
							{l s='Home phone' mod='askforaquotemodul'}
							</span>
						</label>
						<div class="col-lg-4 check_popup_newaddress" style="width: 50%;float: left;">
							<input type="text" name="" value="{$data_address['phone']|escape:'htmlall':'UTF-8'}" class="td_newaddress_val td_popup__address_home_phone" style="box-shadow: unset;">
							<span class="alert_check_order" style="right: -16px;"><i class="icon-warning-sign"></i></span>
						</div>
					</div>
				</div>
			</div>
			<div class="ssdsdsdsdsd" style="float:left;width:50%;">
				<div class="form-group td_float_left" >
					<label class="control-label col-lg-3" style="width: 36%;margin-bottom: 10px;text-align: right;padding-right: 2px;">
						<span class="label-tooltip td_float_left" data-toggle="tooltip" data-html="true" title="">
						{l s='Identification Number' mod='askforaquotemodul'}
						</span>
					</label>
					<div class="col-lg-4 " style="width: 50%;float: left;margin-left: 3px;">
						<input type="text" name="" value="{$data_address['dni']|escape:'htmlall':'UTF-8'}" class="td_popup__address_identi_num" style="box-shadow: unset;">
					</div>
				</div>
				
				<div class="form-group td_float_left" style="">
					<label class="control-label col-lg-3" style="width: 36%;margin-bottom: 10px;text-align: right;padding-right: 2px;">
						<span class="label-tooltip" data-toggle="tooltip" data-html="true" title="" >
						{l s='VAT number' mod='askforaquotemodul'}
						</span>
					</label>
					<div class="col-lg-4 " style="width: 50%;float: left;margin-left: 3px;">
						<input type="text" name=""  value="{$data_address['vat_number']|escape:'htmlall':'UTF-8'}" class="td_popup__address_vat_num" style="box-shadow: unset;">
					</div>
				</div>
				
				<div class="form-group td_float_left" style="">
					<label class="control-label col-lg-3 required" style="width: 36%;margin-bottom: 10px;float: left;padding-right: 2px;text-align: right;">
						<span class="label-tooltip " data-toggle="tooltip" data-html="true" title="" >
						{l s='Address' mod='askforaquotemodul'}
						</span>
					</label>
					<div class="col-lg-4 check_popup_newaddress" style="width: 50%;float: left;margin-left: 4px;">
						<input type="text" name="" value="{$data_address['address1']|escape:'htmlall':'UTF-8'}" class="td_newaddress_val td_popup__address_adres1" style="box-shadow: unset;">
						<span class="alert_check_order" style="right: -12px;"><i class="icon-warning-sign"></i></span>
					</div>
				</div>
				<div class="form-group td_float_left" style="">
					<label class="control-label col-lg-3" style="width: 36%;margin-bottom: 10px;float: left;text-align: right;padding-right: 3px;margin-left: 1px;">
						<span class="label-tooltip" data-toggle="tooltip" data-html="true" title="" >
						{l s='Address (2)' mod='askforaquotemodul'}
						</span>
					</label>
					<div class="col-lg-4 " style="width: 50%;float: left;margin-left: 3px;">
						<input type="text" name="" value="{$data_address['address2']|escape:'htmlall':'UTF-8'}" class="td_popup__address_adres2" style="box-shadow: unset;">
					</div>
				</div>
				<div class="form-group td_float_left" style="">
					<label class="control-label col-lg-3 required" style="width: 38%;text-align: right;margin-bottom: 10px;padding: 0;margin-left: -10px;float: left;">
						<span class="label-tooltip " data-toggle="tooltip" data-html="true" title="" >
						{l s='Zip/Postal Code' mod='askforaquotemodul'}
						</span>
					</label>
					<div class="col-lg-4 check_popup_newaddress" style="width: 50%;float: left;margin-left: 4px;">
						<input type="text" name="" value="{$data_address['postcode']|escape:'htmlall':'UTF-8'}" class="td_newaddress_val td_popup__address_zip_code" style="box-shadow: unset;">
						<span class="alert_check_order" style="right: -14px;"><i class="icon-warning-sign"></i></span>
					</div>
				</div>
				<div class="form-group td_float_left" style="">
					<label class="control-label col-lg-3 required" style="width: 37%;text-align: right;margin-bottom: 10px;">
						<span class="label-tooltip " data-toggle="tooltip" data-html="true" title="" >
						{l s='Mobile phone' mod='askforaquotemodul'}
						</span>
					</label>
					<div class="col-lg-4 check_popup_newaddress" style="width: 49%;padding-right: 0px;float: left;margin-left: -1px;">
						<input type="text" name="" value="{$data_address['phone_mobile']|escape:'htmlall':'UTF-8'}" class="td_newaddress_val td_popup__address_mobile_phone" style="box-shadow: unset;">
						<span class="alert_check_order" style="right: -17px;"><i class="icon-warning-sign"></i></span>
					</div>
				</div>
			</div>
			<div class="form-group td_float_left">
				<label class="control-label col-lg-3" style="width: 18%;padding-right: 2px;margin-bottom: 10px;text-align: right;">
					<span class="label-tooltip" data-toggle="tooltip" data-html="true" title="" >
					{l s='Other' mod='askforaquotemodul'}
					</span>
				</label>
				<div class="col-lg-4 " style="width: 75%;padding-right: 1px;padding-left: 8px;float: left;">
					<textarea class="td_popup__address_other" cols="15" rows="3" style="box-shadow: unset;overflow: hidden;word-wrap: break-word;resize: none;height: 65px;">{$data_address['other']|escape:'htmlall':'UTF-8'}</textarea>
				</div>
			</div>
			<div class="panel-footer td_float_left" style="margin: 0;padding: 10px;">
				<button type="button"  class="btn btn-default pull-right td_save_new_address" onClick='saveAddress("{$check_add_or_edit|escape:'htmlall':'UTF-8'}","{$id_delivery|escape:'htmlall':'UTF-8'}","{$id_invoice|escape:'htmlall':'UTF-8'}")'>
					<i class="process-icon-save"></i> {l s='Save' mod='askforaquotemodul'}
				</button>
				<a class="btn btn-default close_popup_td_new_address" onClick='closePopup()'>
					<i class="process-icon-cancel"></i> {l s='Cancel' mod='askforaquotemodul'}
				</a>
			</div>
		</div>
	</div>
	<span class="close_popup_td_new_address"><a title="Close" class="fancybox-close exit_popup" href="javascript:;" onClick='closePopup()'></a></span>
</div>