109 lines
6.2 KiB
Smarty
109 lines
6.2 KiB
Smarty
{**
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to a commercial license from Common-Services Co., Ltd.
|
|
* Use, copy, modification or distribution of this source file without written
|
|
* license agreement from the SARL SMC is strictly forbidden.
|
|
* In order to obtain a license, please contact us: contact@common-services.com
|
|
* ...........................................................................
|
|
* INFORMATION SUR LA LICENCE D'UTILISATION
|
|
*
|
|
* L'utilisation de ce fichier source est soumise a une licence commerciale
|
|
* concedee par la societe Common-Services Co., Ltd.
|
|
* Toute utilisation, reproduction, modification ou distribution du present
|
|
* fichier source sans contrat de licence ecrit de la part de la Common-Services Co. Ltd. est
|
|
* expressement interdite.
|
|
* Pour obtenir une licence, veuillez contacter Common-Services Co., Ltd. a l'adresse: contact@common-services.com
|
|
* ...........................................................................
|
|
*
|
|
* @package So Colissimo Flexibilite
|
|
* @author Alexandre D.
|
|
* @copyright Copyright (c) 2011-2015 Common Services Co Ltd - 90/25 Sukhumvit 81 - 10260 Bangkok - Thailand
|
|
* @license Commercial license
|
|
* Support by mail : support.soflexibilite@common-services.com
|
|
*}
|
|
|
|
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>
|
|
|
|
|
|
{*<input type="hidden" id="soflexibilite_id_customer" value="{$soflexibilite_id_customer|escape:'htmlall':'UTF-8'}">*}
|
|
{*<input type="hidden" id="soflexibilite_id_order" value="{$soflexibilite_id_order|escape:'htmlall':'UTF-8'}">*}
|
|
{*<input type="hidden" id="soflexibilite_change_pickup_alert" value="{l s='Enter Pickup ID' mod='soflexibilite'}">*}
|
|
|
|
<input type="hidden" id="soflexibilite_point_list_url" value="{$soflexibilite_point_list_url|escape:'htmlall':'UTF-8'}">
|
|
<input type="hidden" id="soflexibilite_change_pickup_url" value="{$soflexibilite_change_pickup_url|escape:'htmlall':'UTF-8'}">
|
|
<input type="hidden" id="soflexibilite_save_info_commande_url" value="{$soflexibilite_save_info_commande_url|escape:'htmlall':'UTF-8'}">
|
|
<input type="hidden" id="soflexibilite_id_cart" value="{$soflexibilite_id_cart|intval}">
|
|
|
|
{if !$soflexibilite_is_ps16x}<br>{/if}
|
|
<fieldset id="sf_panel" class="panel" {if !$soflexibilite_version}style="width: 400px;"{/if}>
|
|
<div class="float-left">
|
|
<img src="{$soflexibilite_socolissimo_logo|escape:'htmlall':'UTF-8'}" alt="Colissimo"><br>
|
|
<br>
|
|
<span class="sf_delivery_mode">
|
|
{$soflexibilite_bo_title|escape:'htmlall':'UTF-8'}
|
|
{if $soflexibilite_delivery_address.prid}
|
|
<br>
|
|
(#{$soflexibilite_delivery_address.prid|escape:'htmlall':'UTF-8'})
|
|
<img src="{$images_url|escape:'htmlall':'UTF-8'}bullet_edit_16px.png" id="sf_modify_relay" title="Modifier le point de retrait" style="cursor: pointer;">
|
|
|
|
<div class="soflexibilite_overlay"></div>
|
|
<div id="so_box" class="col-lg-12">
|
|
<input type="text" id="sf_address" class="col-lg-10" value="{$soflexibilite_delivery_address.search_address|escape:'htmlall':'UTF-8'}">
|
|
<button type="button" id="sf_lookup_address" class="button btn btn-default col-lg-2 float-right">{l s='Search' mod='soflexibilite'}</button>
|
|
<div class="clearfix"> </div>
|
|
<div class="clearfix"> </div>
|
|
<div id="sf_map"></div>
|
|
</div>
|
|
{/if}
|
|
</span>
|
|
</div>
|
|
<div class="float-left">
|
|
<a class="float-right" id="modif_address" style="cursor: pointer; float:right;" ><img src="../img/admin/edit.gif" alt=""></a>
|
|
<strong>{$soflexibilite_delivery_address.name|escape:'htmlall':'UTF-8'}</strong><br>
|
|
{if $soflexibilite_delivery_address.libelle}<strong>
|
|
<span style="color: green">{$soflexibilite_delivery_address.libelle|escape:'htmlall':'UTF-8'}</span>
|
|
</strong>
|
|
<br>
|
|
{/if}
|
|
{if $soflexibilite_delivery_address.company}{$soflexibilite_delivery_address.company|escape:'htmlall':'UTF-8'}
|
|
<br>
|
|
{/if}
|
|
{if $soflexibilite_delivery_address.prname != ''}<span>{$soflexibilite_delivery_address.prname|escape:'htmlall':'UTF-8'}</span><br />{/if}
|
|
<span id="sf_address1">{$soflexibilite_delivery_address.address1|escape:'htmlall':'UTF-8'}</span><br>
|
|
{if $soflexibilite_delivery_address.address2}{$soflexibilite_delivery_address.address2|escape:'htmlall':'UTF-8'}
|
|
<br>
|
|
{/if}
|
|
<span id="sf_postcode">{$soflexibilite_delivery_address.postcode|escape:'htmlall':'UTF-8'}</span> <span id="sf_city">{$soflexibilite_delivery_address.city|escape:'htmlall':'UTF-8'}</span>
|
|
<br>
|
|
<span id="sf_country">{$soflexibilite_delivery_address.country|escape:'htmlall':'UTF-8'}</span><br>
|
|
<input type="hidden" id="sf_iso_country" value="{$soflexibilite_delivery_address.iso_country|escape:'htmlall':'UTF-8'}">
|
|
<br>
|
|
<strong>Mobile :</strong> <span id="sf_phone">{$soflexibilite_delivery_address.mobile|escape:'htmlall':'UTF-8'}</span>
|
|
<img src="{$images_url|escape:'htmlall':'UTF-8'}bullet_edit_16px.png" id="sf_modify_phone" title="Modifier le numéro de téléphone" style="cursor: pointer;"><br>
|
|
<strong>Email :</strong>
|
|
<a href="mailto:{$soflexibilite_delivery_address.email|escape:'htmlall':'UTF-8'}">{$soflexibilite_delivery_address.email|escape:'htmlall':'UTF-8'}</a>
|
|
</div>
|
|
<div class="clearfix"> </div>
|
|
{if $soflexibilite_delivery_address.informations}
|
|
<div>
|
|
<strong>Message du client :</strong>
|
|
<i>{$soflexibilite_delivery_address.informations|escape:'htmlall':'UTF-8'}<i>
|
|
</div>
|
|
{/if}
|
|
</fieldset>
|
|
|
|
{literal}
|
|
<script>
|
|
$(document).ready(function () {
|
|
if ($('#myTab').length) {
|
|
$('#myTab').parent().append('<hr>');
|
|
$('#sf_panel').appendTo($('#myTab').parent());
|
|
}
|
|
$('#modif_address').click(function(){
|
|
var p = window.open('scaddressedit.php?id_cart={/literal}{$soflexibilite_id_cart}{literal}', 'Modification SoColissimo', 'width=720, height=360, resizable=1, scrollbars=1');
|
|
return false;
|
|
});
|
|
});
|
|
</script>
|
|
{/literal} |