Initial commit

This commit is contained in:
2019-11-20 07:44:43 +01:00
commit 5bf49c4a81
41188 changed files with 5459177 additions and 0 deletions

View File

@@ -0,0 +1,116 @@
{**
* 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 SoNice Retour
* @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.sonice@common-services.com
*}
<div id="conf-account" class="panel form-horizontal" style="display: none;">
<h2>{l s='Login' mod='sonice_retour'}</h2>
<div class="clearfix">&nbsp;</div>
<div class="form-group">
<label class="control-label col-lg-3" rel="login">{l s='Login' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
<input type="text" data-type="positive_integer" name="return_info[ContractNumber]" value="{$sne_config.ContractNumber|escape:'htmlall':'UTF-8'}" class="connectParam">
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3" rel="pwd">{l s='Password' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
<input type="password" name="return_info[Password]" value="{$sne_config.Password|escape:'htmlall':'UTF-8'}" class="connectParam">
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">&nbsp;</label>
<div class="col-lg-9 margin-form">
<input type="button" class="button btn btn-primary" id="login_checker" value="{l s='Check your login' mod='sonice_retour'}">
&nbsp;<img src="{$snr_img|escape:'htmlall':'UTF-8'}import-loader.gif" alt="loader" id="sne_loader" style="width: 20px; display: none;">
</div>
</div>
<div class="form-group login_checker_result" style="display: none;">
<label class="control-label col-lg-3">&nbsp;</label>
<div class="col-lg-9 margin-form">
<div class="{$alert_class.success|escape:'htmlall':'UTF-8'}" id="login_ok" style="display: none;">
{l s='Your login is correct !' mod='sonice_retour'}
</div>
<div class="{$alert_class.danger|escape:'htmlall':'UTF-8'}" id="login_not_ok" style="display:none">
{l s='Your login is incorrect :' mod='sonice_retour'}<br>
<strong>ID :</strong> <span id="errorID"></span><br>
<strong>Message :</strong> <span id="error"></span>
<span id="error_request"></span>
<span id="error_response"></span>
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">&nbsp;</label>
<div class="margin-form col-lg-9">
<hr>
</div>
</div>
{if array_key_exists('DropBox', $smarty.server) && $smarty.server.DropBox == 1}
<div class="form-group">
<label class="control-label col-lg-3" rel="dev_mode">{l s='Development environment' mod='sonice_etiquetage'}</label>
<div class="margin-form col-lg-9">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="return_info[dev_mode]" id="dev_on" value="1" {if isset($sne_config.dev_mode) && $sne_config.dev_mode}checked{/if}>
<label for="dev_on" class="label-checkbox">{l s='Yes' mod='sonice_etiquetage'}</label>
<input type="radio" name="return_info[dev_mode]" id="dev_off" value="0" {if !isset($sne_config.dev_mode) || !$sne_config.dev_mode}checked{/if}>
<label for="dev_off" class="label-checkbox">{l s='No' mod='sonice_etiquetage'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
{/if}
<div class="form-group">
<label class="control-label col-lg-3" rel="debug_mode">{l s='Debug mode' mod='sonice_retour'}</label>
<div class="margin-form col-lg-9">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="sne_debug" id="debug_on" value="1" {if isset($sne_debug) && $sne_debug}checked{/if}>
<label for="debug_on" class="label-checkbox">{l s='Yes' mod='sonice_retour'}</label>
<input type="radio" name="sne_debug" id="debug_off" value="0" {if !isset($sne_debug) || !$sne_debug}checked{/if}>
<label for="debug_off" class="label-checkbox">{l s='No' mod='sonice_retour'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3" rel="test_mode">{l s='Test mode' mod='sonice_retour'}</label>
<div class="margin-form col-lg-9">
<span class="switch prestashop-switch fixed-width-lg">
<input type="radio" name="sne_test_mode" id="test_mode_on" value="1" {if isset($sne_test_mode) && $sne_test_mode}checked{/if}>
<label for="test_mode_on" class="label-checkbox">{l s='Yes' mod='sonice_retour'}</label>
<input type="radio" name="sne_test_mode" id="test_mode_off" value="0" {if !isset($sne_test_mode) || !$sne_test_mode}checked{/if}>
<label for="test_mode_off" class="label-checkbox">{l s='No' mod='sonice_retour'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
{include file="$sne_module_path/views/templates/admin/configuration/validate.tpl"}
</div>

View File

@@ -0,0 +1,142 @@
{**
* 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 SoNice Retour
* @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.sonice@common-services.com
*}
<div id="conf-address" class="panel form-horizontal" style="display: none;">
<h2>{l s='Address' mod='sonice_retour'}</h2>
<div class="clearfix">&nbsp;</div>
<div class="form-group">
<label class="control-label col-lg-3">&nbsp;</label>
<div class="col-lg-9 margin-form">
<div class="{$alert_class.info|escape:'htmlall':'UTF-8'}">
{l s='This address will be used on the label during its creation.' mod='sonice_retour'}<br>
{l s='It is the sender address.' mod='sonice_retour'}
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">{l s='Company Name' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
<div class="input-group">
<input type="text" name="return_info[companyName]" class="form-control" value="{$sne_config.companyName|escape:'htmlall':'UTF-8'}">
<span class="input-group-addon">*</span>
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">{l s='Name' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
<input type="text" name="return_info[Name]" class="form-control" value="{$sne_config.Name|escape:'htmlall':'UTF-8'}">
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">{l s='Surname' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
<input type="text" name="return_info[Surname]" class="form-control" value="{$sne_config.Surname|escape:'htmlall':'UTF-8'}">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">{l s='Service Name' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
<input type="text" name="return_info[ServiceInfo]" class="form-control" value="{$sne_config.ServiceInfo|escape:'htmlall':'UTF-8'}">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">{l s='Address' mod='sonice_retour'} 1</label>
<div class="col-lg-9 margin-form">
<div class="input-group">
<input type="text" name="return_info[Line2]" class="form-control" value="{$sne_config.Line2|escape:'htmlall':'UTF-8'}">
<span class="input-group-addon">*</span>
</div>
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">{l s='Address' mod='sonice_retour'} 2</label>
<div class="col-lg-9 margin-form">
<input type="text" name="return_info[Line0]" class="form-control" value="{$sne_config.Line0|escape:'htmlall':'UTF-8'}">
</div>
</div>
{*<div class="form-group">*}
{*<label class="col-lg-3 control-label">{l s='Address' mod='sonice_retour'} 3</label>*}
{*<div class="col-lg-9 margin-form">*}
{*<input type="text" name="return_info[Line2]" class="form-control" value="{$sne_config.Line2|escape:'htmlall':'UTF-8'}">*}
{*</div>*}
{*</div>*}
{*<div class="form-group">*}
{*<label class="col-lg-3 control-label">{l s='Address' mod='sonice_retour'} 4</label>*}
{*<div class="col-lg-9 margin-form">*}
{*<input type="text" name="return_info[Line3]" class="form-control" value="{$sne_config.Line3|escape:'htmlall':'UTF-8'}">*}
{*</div>*}
{*</div>*}
<div class="form-group">
<label class="col-lg-3 control-label">{l s='Zip Code' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
<div class="input-group">
<input type="text" name="return_info[PostalCode]" class="form-control" value="{$sne_config.PostalCode|escape:'htmlall':'UTF-8'}">
<span class="input-group-addon">*</span>
</div>
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">{l s='City' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
<div class="input-group">
<input type="text" name="return_info[City]" class="form-control" value="{$sne_config.City|escape:'htmlall':'UTF-8'}">
<span class="input-group-addon">*</span>
</div>
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">{l s='Phone' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
<input type="tel" data-type="positive_integer" name="return_info[phoneNumber]" class="form-control" value="{$sne_config.phoneNumber|escape:'htmlall':'UTF-8'}">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">Email</label>
<div class="col-lg-9 margin-form">
<input type="email" name="return_info[Mail]" class="form-control" value="{$sne_config.Mail|escape:'htmlall':'UTF-8'}" pattern={literal}"^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$"{/literal}>
</div>
</div>
<input type="hidden" name="return_info[countryCode]" value="FR">
<p><span>*</span> {l s='Required field' mod='sonice_retour'}</p>
{include file="$sne_module_path/views/templates/admin/configuration/validate.tpl"}
</div>

View File

@@ -0,0 +1,93 @@
{**
* 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 SoNice Retour
* @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.sonice@common-services.com
*}
<div id="conf-informations" class="panel form-horizontal" style="display: none;">
<h2 style="margin-top: 1px;">{l s='Configuration Check' mod='sonice_retour'}</h2>
<div class="clearfix">&nbsp;</div>
<div class="form-group">
<label class="control-label col-lg-3">So Colissimo Service Retour</label>
<div class="col-lg-9 margin-form">
{if !$sne_info.module_info_ok}
{foreach from=$sne_info.module_infos item=module_info}
<div class="{$module_info.level|escape:'htmlall':'UTF-8'}">
{$module_info.message|escape:'htmlall':'UTF-8'}
</div>
{/foreach}
{else}
<div class="conf confirm alert alert-success">
{l s='Module configuration and integrity check passed successfully' mod='sonice_retour'}
</div>
{/if}
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">{l s='PHP Settings' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
{if !$sne_info.php_info_ok}
{foreach from=$sne_info.php_infos item=php_info}
<div class="{$php_info.level|escape:'htmlall':'UTF-8'}">
{$php_info.message|escape:'htmlall':'UTF-8'}
{if isset($php_info.link)}<br>{l s='More informations' mod='sonice_retour'} : <a href="{$php_info.link|escape:'htmlall':'UTF-8'}" target="_blank">{$php_info.link|escape:'htmlall':'UTF-8'}</a>{/if}
</div>
{/foreach}
{else}
<div class="conf confirm alert alert-success">
{l s='Module configuration and integrity check passed successfully' mod='sonice_retour'}
</div>
{/if}
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">{l s='Prestashop Settings' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
{if !$sne_info.prestashop_info_ok}
{foreach from=$sne_info.prestashop_infos item=prestashop_info}
<div class="{$prestashop_info.level|escape:'htmlall':'UTF-8'}">
{$prestashop_info.message|escape:'htmlall':'UTF-8'}
</div>
{/foreach}
{else}
<div class="conf confirm alert alert-success">
{l s='Module configuration and integrity check passed successfully' mod='sonice_retour'}
</div>
{/if}
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">&nbsp;</label>
<div class="margin-form col-lg-9">
<p>
<button type="button" id="phpinfo_button" class="btn btn-default button">PHP Info</button>&nbsp;&nbsp;&nbsp;
<button type="button" id="psinfo_button" class="btn btn-default button">PrestaShop Info</button>
</p>
<div id="phpinfo" style="display: none;">{$sne_info.phpinfo_str|escape:'quotes':'UTF-8'}</div>
<div id="psinfo" style="display: none;">{$sne_info.psinfo_str|escape:'quotes':'UTF-8'}{$sne_info.dbinfo_str|escape:'quotes':'UTF-8'}</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,81 @@
{**
* 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 SoNice Retour
* @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.sonice@common-services.com
*}
<div id="conf-conf" class="panel form-horizontal" style="display: none;">
<h2>{l s='Settings' mod='sonice_retour'}</h2>
<div class="form-group">
<label class="control-label col-lg-3">Web Service</label>
<div class="col-lg-9 margin-form">
<br>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3" rel="estimated_deposit_date">{l s='Estimated Deposit Date' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
<select name="return_info[deposit_date]" style="width: 60px; display: inline;">
{section name=nb_days start=0 loop=15}
<option value="{$smarty.section.nb_days.index|escape:'htmlall':'UTF-8'}" {if isset($sne_config.deposit_date) && $sne_config.deposit_date == $smarty.section.nb_days.index}selected{/if}>{$smarty.section.nb_days.index|escape:'htmlall':'UTF-8'}</option>
{/section}
</select> {l s='days' mod='sonice_retour'}
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3" rel="return_type_choice">{l s='Send label to customer' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
<select name="return_info[returnType]">
<option value="">{l s='Do not send label to customer' mod='sonice_retour'}</option>
<option value="SendPDFByMail" {if isset($sne_config.returnType) && $sne_config.returnType == "SendPDFByMail"}selected{/if}>{l s='Send by email as an attachment file' mod='sonice_retour'}</option>
<option value="SendPDFLinkByMail" {if isset($sne_config.returnType) && $sne_config.returnType == "SendPDFLinkByMail"}selected{/if}>{l s='Send by email as a URL' mod='sonice_retour'}</option>
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">{l s='Open label in' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
<select name="return_info[printingType]">
<option value="tab" {if isset($sne_config.printingType) && $sne_config.printingType == "tab"}selected{/if}>{l s='Default browser interface' mod='sonice_retour'}</option>
<option value="window" {if isset($sne_config.printingType) && $sne_config.printingType == "window"}selected{/if}>{l s='A new window' mod='sonice_retour'}</option>
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">{l s='Send a mail to customer once label is created' mod='sonice_retour'}</label>
<div class="col-lg-9 margin-form">
<select name="return_info[email_to_customer]">
<option value="0">{l s='Do not send mail' mod='sonice_retour'}</option>
{foreach $sne_mails as $mail}
<option value="{$mail.id|escape:'htmlall':'UTF-8'}" {if isset($sne_config.email_to_customer) && $sne_config.email_to_customer == $mail.id|escape:'htmlall':'UTF-8'}selected{/if}>{$mail.name|escape:'htmlall':'UTF-8'}</option> {* email_to_customer *}
{/foreach}
</select>
</div>
</div>
{include file="$sne_module_path/views/templates/admin/configuration/validate.tpl"}
</div>

View File

@@ -0,0 +1,106 @@
{**
* 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 SoNice Retour
* @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.sonice@common-services.com
*}
<div id="conf-sonice_retour" class="panel form-horizontal">
<h2>SoNice Retour v{$sne_version|escape:'htmlall':'UTF-8'}</h2>
<div class="clearfix">&nbsp;</div>
<div class="form-group">
<label class="control-label col-lg-3">&nbsp;</label>
<div class="margin-form col-lg-9">
<p class="descriptionBold">{l s='This module allows you to edit Colissimo and So Colissimo labels for your national and international shippings.' mod='sonice_retour'}</p>
<hr />
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">{l s='Informations' mod='sonice_retour'}</label>
<div class="margin-form col-lg-9" style="margin-top: 6px;">
<span style="color:navy">{l s='This module is provided by' mod='sonice_retour'} :</span> Common-Services<br>
<br>
<span style="color:navy">{l s='Informations, follow up on our blog' mod='sonice_retour'} :</span><br>
<a href="http://www.common-services.com" target="_blank">http://www.common-services.com</a><br>
<br>
<span style="color:navy">{l s='More informations about us on Prestashop website' mod='sonice_retour'} :</span><br>
<a href="http://www.prestashop.com/fr/agences-web-partenaires/or/common-services" target="_blank">http://www.prestashop.com/fr/agences-web-partenaires/or/common-services</a><br>
<br>
<span style="color:navy">{l s='You will appreciate our other modules' mod='sonice_retour'} :</span><br>
<a href="http://addons.prestashop.com/fr/58_common-services" target="_blank">http://addons.prestashop.com/fr/58_common-services</a>
</div>
</div>
<br>
<div class="form-group">
<label class="control-label col-lg-3">{l s='Documentation' mod='sonice_retour'}</label>
<div class="margin-form col-lg-9">
<div class="col-lg-1"><img src="{$snr_img|escape:'htmlall':'UTF-8'}books.png" alt="docs" /></div>
<div class="col-lg-11">
<span style="color:red; font-weight:bold;">{l s='Please, first read the provided documentation' mod='sonice_retour'} :</span><br>
PDF &nbsp;&nbsp;&nbsp;: <a href="{$sne_module_dir|escape:'htmlall':'UTF-8'}documentation/readme_fr.pdf" target="_blank">{$sne_module_dir|escape:'htmlall':'UTF-8'}documentation/readme_fr.pdf</a><br>
HTML : <a href="{$sne_module_dir|escape:'htmlall':'UTF-8'}documentation/" target="_blank">{$sne_module_dir|escape:'htmlall':'UTF-8'}documentation/</a>
</div>
</div>
</div>
<br>
<div class="form-group">
<label class="control-label col-lg-3">{l s='Support' mod='sonice_retour'}</label>
<div class="margin-form col-lg-9">
<div class="col-lg-1"><img src="{$snr_img|escape:'htmlall':'UTF-8'}submit_support_request.png" alt="support"></div>
<div class="col-lg-11">
<span style="color:red; font-weight:bold;">
{l s='The technical support is available by e-mail only.' mod='sonice_retour'}
</span><br>
<span style="color: navy;">
{l s='For any support, please provide us' mod='sonice_retour'} :<br>
</span>
<ul>
<li>{l s='A detailled description of the issue or encountered problem' mod='sonice_retour'}</li>
<li>{l s='Your Pretashop Addons Order ID available in your Prestashop Addons order history' mod='sonice_retour'}</li>
<li>{l s='Your Prestashop version' mod='sonice_retour'} : <span style="color: red;">Prestashop {$ps_version|escape:'htmlall':'UTF-8'}</span></li>
<li>{l s='Your module version' mod='sonice_retour'} : <span style="color: red;">SoNice Retour v{$sne_version|escape:'htmlall':'UTF-8'}</span></li>
</ul>
<br>
<span style="color:navy">{l s='Support Common-Services' mod='sonice_retour'} :</span>
<a href="mailto:support.sonice@common-services.com?subject={l s='Support for SoNice Retour' mod='sonice_retour'}&body={l s='Dear Support, I am currently having some trouble with your module v%s on my Prestashop v%s.' sprintf=[$sne_version, $ps_version] mod='sonice_retour'}" title="Email" >
support.sonice@common-services.com
</a><br>
<br>
</div>
<hr style="clear: both;">
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3">{l s='Licence' mod='sonice_retour'}</label>
<div class="margin-form col-lg-9">
<p style="padding-top: 5px;">
{l s='This add-on is under a commercial licence from S.A.R.L. SMC' mod='sonice_retour'}.<br>
{l s='In case of purchase on Prestashop Addons, the invoice is the final proof of license.' mod='sonice_retour'}<br>
{l s='Contact us to obtain a license only in other cases' mod='sonice_retour'} : <a href="mailto:contact@common-services.com">contact@common-services.com</a>
</p>
</div>
</div>
</div>

View File

@@ -0,0 +1,51 @@
{**
* 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 SoNice Retour
* @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.sonice@common-services.com
*}
<!-- URL -->
<input type="hidden" id="check_login_url" value="{$sne_check_login|escape:'htmlall':'UTF-8'}">
<!-- MSG -->
<input type="hidden" id="alert_deposit" value="{l s='Estimated deposit time must be a valid number.' mod='sonice_retour'}">
<input type="hidden" id="msg_connect_error" value="{l s='Unable to connect to remote host' mod='sonice_retour'}">
<!-- PRINTER CONF -->
<form id="_form" class="defaultForm blockcms form-horizontal sne" action="{$smarty.server.REQUEST_URI|escape:'htmlall':'UTF-8'}" autocomplete="off" method="post"
enctype="multipart/form-data">
<fieldset id="sonice_configuration">
<input type="hidden" name="selected_tab" id="selected_tab" value="{$selected_tab|escape:'htmlall':'UTF-8'}">
<!-- SoNice Etiquetage -->
{include file="$sne_module_path/views/templates/admin/configuration/conf_sonice_retour.tpl"}
<!-- INFORMATION -->
{include file="$sne_module_path/views/templates/admin/configuration/conf_informations.tpl"}
<!-- ACCOUNT -->
{include file="$sne_module_path/views/templates/admin/configuration/conf_account.tpl"}
<!-- ADDRESS -->
{include file="$sne_module_path/views/templates/admin/configuration/conf_address.tpl"}
<!-- Configuration -->
{include file="$sne_module_path/views/templates/admin/configuration/conf_setting.tpl"}
</fieldset>
<!-- Glossary -->
{include file="$sne_module_path/views/templates/admin/configuration/glossary.tpl"}
</form>

View File

@@ -0,0 +1,64 @@
{**
* 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 SoNice Retour
* @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.sonice@common-services.com
*}
<div id="glossary" style="display: none;">
{* conf_account.tpl *}
<div class="login">
{l s='This is your 6 caracters user number, provided by La Poste Colissimo at the opening of your seller account.' mod='sonice_retour'}<br>
<br>
{l s='You have to subscribe a So Colissimo Flexibilite contract with Coliposte to receive your login and password in order to access this service.' mod='sonice_retour'}<br>
<br>
<img src="{$snr_img|escape:'htmlall':'UTF-8'}/glossary/login.png">
</div>
<div class="pwd">
{l s='Password linked to your credentials upper.' mod='sonice_retour'}<br>
{l s='It must be the same as the one in your customer area.' mod='sonice_retour'}<br>
<br>
{l s='You have to subscribe a So Colissimo Flexibilite contract with Coliposte to receive your login and password in order to access this service.' mod='sonice_retour'}<br>
<br>
<img src="{$snr_img|escape:'htmlall':'UTF-8'}/glossary/login.png">
</div>
<div class="dev_mode">
{l s='Enable to use the Telintrans web service.' mod='sonice_retour'}<br>
<b {if isset($sne_debug) && $sne_debug}style="color: red;"{/if}>{l s='This option must not be active, this is a development option only !' mod='sonice_retour'}</b>
</div>
<div class="debug_mode">
{l s='Enable traces for debugging and developpment purpose.' mod='sonice_retour'}<br>
<b {if isset($sne_debug) && $sne_debug}style="color: red;"{/if}>{l s='In exploitation this option must not be active !' mod='sonice_retour'}</b>
</div>
<div class="test_mode">
{l s='This is a demonstration or developpment mode, API calls are fakes.' mod='sonice_retour'}<br>
{l s='Use for developpment purpose only or for tests and validate the module under this environment.' mod='sonice_retour'}<br>
<b {if isset($sne_test_mode) && $sne_test_mode}style="color: red;"{/if}>{l s='In exploitation this option must not be active !' mod='sonice_retour'}</b>
</div>
{* conf_settings.tpl *}
<div class="estimated_deposit_date">
{l s='Number of days after label creation before you bring your package to the post-office.' mod='sonice_retour'}
</div>
<div class="return_type_choice">
{l s='By default, the return label is only send in the response from the web service.' mod='sonice_retour'}<br>
{l s='You have the possibility to send the return label directly to your customer by selecting one of these options.' mod='sonice_retour'}
</div>
</div>

View File

@@ -0,0 +1,31 @@
{**
* 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 SoNice Retour
* @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.sonice@common-services.com
*}
<div class="row">
<div class="" style="float: right; margin-bottom: 40px;">
<a href="http://blog.common-services.com/" target="_blank"><img src="{$snr_img|escape:'htmlall':'UTF-8'}cs_logo.png" alt="commonservices" /></a>
</div>
<div class="cleaner">&nbsp;</div>
</div>

View File

@@ -0,0 +1,11 @@
<?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,36 @@
{**
* 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 SoNice Retour
* @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.sonice@common-services.com
*}
{if !$ps16x}
<div class="margin-form">
<input type="submit" id="_form_submit_btn" value="{l s='Save' mod='sonice_retour'}" name="submitsonice_retour" class="button submitconf" style="float: right; margin: 20px;">
</div>
{else}
<div class="panel-footer">
<button type="submit" value="1" name="submitsonice_retour" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save' mod='sonice_retour'}
</button>
</div>
{/if}

View File

@@ -0,0 +1,4 @@
<?php
header('Location: ../');
exit;

View File

@@ -0,0 +1,312 @@
{**
* 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 SoNice Retour
* @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.sonice@common-services.com
*}
{if !$ps15x}
{*<link type="text/css" rel="stylesheet" href="{$cssDir|escape:'htmlall':'UTF-8'}sonice_retour.css">*}
{*<script type="text/javascript" src="{$jsDir|escape:'htmlall':'UTF-8'}orderReturn.js"></script>*}
{*<script type="text/javascript" src="{$jquery_ui_url|escape:'htmlall':'UTF-8'}"></script>*}
{/if}
<fieldset id="sonice_retour_env">
<input type="hidden" id="sonice_retour_printing_type" value="{$sonice_retour_printing_type|escape:'htmlall':'UTF-8'}">
<legend>
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}delivery.gif" alt="delivery">
{l s='Merchandise returns' mod='sonice_retour'}
</legend>
<form id="sonice_retour" method="post" action="{$action_merchandise_return_url|escape:'htmlall':'UTF-8'}">
<!-- VARIABLES -->
<input type="hidden" name="sonice_retour[id_order]" value="{$sonice_retour_id_order|intval}">
<input type="hidden" name="sonice_retour[id_customer]" value="{$sonice_retour_id_customer|intval}">
<input type="hidden" name="sonice_retour[id_delivery]" value="{$sonice_retour_id_delivery|intval}">
<input type="hidden" name="sonice_retour[newReturn]" value="0">
<input type="hidden" id="sonice_retour_alert_drag" value="{l s='You have to drag and drop your products to return before choosing an action.' mod='sonice_retour'}">
<input type="hidden" id="demo_send_warning" value="{l s='You cannot do it in demo mode, however you can have a look of it if you try to create a new return.' mod='sonice_retour'}">
<input type="hidden" id="sonice_retour_return_done" value="0">
<input type="hidden" id="sonice_retour_demo" value="{$sonice_retour_demo|escape:'htmlall':'UTF-8'}">
<input type="hidden" id="ps15x" value="{if $ps15x}1{else}0{/if}">
<!-- URL -->
<input type="hidden" id="saveMerchandiseReturn_url" value="{$action_merchandise_return_url|escape:'htmlall':'UTF-8'}">
<input type="hidden" id="get_label_url" value="{$get_label_url|escape:'htmlall':'UTF-8'}">
<input type="hidden" id="change_return_state_url" value="{$change_return_state_url|escape:'htmlall':'UTF-8'}">
<input type="hidden" id="sonice_retour_http_download_folder" value="{$sonice_retour_http_download_folder|escape:'htmlall':'UTF-8'}">
<input type="hidden" id="sonice_retour_function_folder" value="{$sonice_retour_function_folder|escape:'htmlall':'UTF-8'}">
<input type="hidden" id="sonice_retour_baseURL" value="{$sonice_retour_baseURL|escape:'htmlall':'UTF-8'}">
<!-- TPL -->
<div class="clear">&nbsp;</div>
{*
* Drag'n'Drop
*}
{if !$sonice_retour_alreadyChoseReturnProduct || $sonice_retour_stillSome}
<div id="product_drop">
<table class="table sonice_retour_unselectedTable" cellspacing="0" cellpadding="0" id="sonice_retour_drop">
<thead>
<tr>
<th height="39" align="center" style="width: 7%">&nbsp;</th>
<th>{l s='Product' mod='sonice_retour'}</th>
<th style="width: 15%; text-align: center">{l s='Unit Price' mod='sonice_retour'}</th>
<th style="width: 4%; text-align: center">{l s='Qty' mod='sonice_retour'}</th>
{if $ps15x}<th style="width: 3%; text-align: center">{l s='Refunded' mod='sonice_retour'}</th>{/if}
<th style="width: 3%; text-align: center">{l s='Returned' mod='sonice_retour'}</th>
{if !$ps15x}<th>Stock</th>{/if}
{if $ps15x}<th style="width: 10%; text-align: center">{l s='Available quantity' mod='sonice_retour'}</th>{/if}
<th style="width: 10%; text-align: center">Total</th>
{if !$ps15x}<th>Retour</th>{/if}
{if !$ps15x}<th>&nbsp;</th>{/if}
</tr>
</thead>
<tbody class="sonice_retour_tbody">
{if !empty($sonice_retour_productLeft)}
{foreach $sonice_retour_productLeft as $key => $detail}
<input type="hidden" class="sonice_retour_prodLeft" rel="{$key|escape:'htmlall':'UTF-8'}" value="{$detail|escape:'htmlall':'UTF-8'}">
{/foreach}
{/if}
<tr id="sonice_retour_landing_area">
<td height="70" align="center" colspan="8">
<div style="border: 2px dashed black; height: 60px;">
{l s='Drop products here' mod='sonice_retour'}<br>
{l s='To add them in your return label' mod='sonice_retour'}
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div style="border-bottom: 2px solid silver; margin: 40px 0"></div>
{/if}
{* Return already done or being done *}
{if $sonice_retour_alreadyChoseReturnProduct}
<input type="hidden" id="sonice_retour_alreadyReturned">
{foreach $sonice_retour_returnedProduct['return'] as $key => $sonice_retour_return}
{* ID / ID / STATE *}
{* <-- metadata bar *}
{if is_array($sonice_retour_returnDetail[$key]['metadata']) && count($sonice_retour_returnDetail[$key]['metadata'])}
<div class="metadata-command">
<dl>
<dt>Date :</dt>
<dd>{$sonice_retour_returnDetail[$key]['date']|escape:'htmlall':'UTF-8'}</dd>
|
</dl>
<dl>
<dt><img src="{$imgUrl|escape:'htmlall':'UTF-8'}tag_hash.png" alt="label"></dt>
<dd>
# {$sonice_retour_returnDetail[$key]['metadata']['id_order_return']|escape:'htmlall':'UTF-8'}
</dd>
|
</dl>
<dl>
<dt><img src="{$imgUrl|escape:'htmlall':'UTF-8'}so-conf.gif" alt="label"></dt>
<dd>
{if $sonice_retour_returnDetail[$key]['metadata']['pdf']}
<span>
{if $sonice_retour_tracking_url}
<a href="{$sonice_retour_tracking_url|escape:'htmlall':'UTF-8'}{$sonice_retour_returnDetail[$key]['metadata']['pdf']|escape:'htmlall':'UTF-8'}" target="_blank">
{/if}
# {$sonice_retour_returnDetail[$key]['metadata']['pdf']|escape:'htmlall':'UTF-8'}{if $sonice_retour_tracking_url}</a>{/if}
</span>
{else}
{l s='Sorry, there is no label available for this order, you need to create one.' mod='sonice_retour'}
<br>
{/if}
</dd>
|
</dl>
<dl>
<dt><img src="{$imgUrl|escape:'htmlall':'UTF-8'}tag_orange.png" alt="label"></dt>
<dd>
<span style="color: {$sonice_retour_returnDetail[$key]['metadata']['color']|escape:'htmlall':'UTF-8'}"># {$sonice_retour_returnDetail[$key]['metadata']['state']|escape:'htmlall':'UTF-8'}</span>
</dd>
|
</dl>
<dl>
<dt>
<select class="sonice_retour_select" rel="{$sonice_retour_returnDetail[$key]['metadata']['id_order_return']|escape:'htmlall':'UTF-8'}">
{foreach $sonice_retour_stateList as $state}
{if $state['name'] == $sonice_retour_returnDetail[$key]['metadata']['state'] && $state['id_order_return_state'] == 1}
{if $state['name'] == $sonice_retour_returnDetail[$key]['metadata']['state']}
<option value="{$state['id_order_return_state']|escape:'htmlall':'UTF-8'}" class="sonice_retour_return_to_confirm" selected>{$state['name']|escape:'htmlall':'UTF-8'}</option>
{else}
<option value="{$state['id_order_return_state']|escape:'htmlall':'UTF-8'}" class="sonice_retour_return_to_confirm">{$state['name']|escape:'htmlall':'UTF-8'}</option>
{/if}
{else}
{if $state['name'] == $sonice_retour_returnDetail[$key]['metadata']['state']}
<option value="{$state['id_order_return_state']|escape:'htmlall':'UTF-8'}" selected>{$state['name']|escape:'htmlall':'UTF-8'}</option>
{else}
<option value="{$state['id_order_return_state']|escape:'htmlall':'UTF-8'}">{$state['name']|escape:'htmlall':'UTF-8'}</option>
{/if}
{/if}
{/foreach}
</select>
</dt>
<dd>
<span class="sonice_retour_succeed" style="display: none;">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}tick.png" alt="Succeed">
</span>
<span class="sonice_retour_fail" style="display: none;">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}cross.png" alt="Fail">
</span>
</dd>
</dl>
<div class="clear"></div>
</div>
{/if}
<table class="table table-bordered sonice_retour_unselectedTable" cellspacing="0" cellpadding="0" rel="{$sonice_retour_returnDetail[$key]['id_order_return']|intval}">
{*<input type="hidden" name="sonice_retour_pending[id_order_return]" value="{$sonice_retour_return.id_order_return|escape:'htmlall':'UTF-8'}">*}
<thead>
<tr>
<th height="39" align="center" style="width: 7%">&nbsp;</th>
<th>{l s='Product' mod='sonice_retour'}</th>
<th style="width: 15%; text-align: center">{l s='Unit Price' mod='sonice_retour'}</th>
<th style="width: 4%; text-align: center">{l s='Qty' mod='sonice_retour'}</th>
{if $ps15x}<th style="width: 3%; text-align: center">{l s='Refunded' mod='sonice_retour'}</th>{/if}
<th style="width: 3%; text-align: center">{l s='Returned' mod='sonice_retour'}</th>
{if !$ps15x}<th>Stock</th>{/if}
{if $ps15x}<th style="width: 10%; text-align: center">{l s='Available quantity' mod='sonice_retour'}</th>{/if}
<th style="width: 10%; text-align: center">Total</th>
{if !$ps15x}<th>Retour</th>{/if}
{if !$ps15x}<th>&nbsp;</th>{/if}
</tr>
</thead>
<tbody class="sonice_retour_tbody_a">
{foreach $sonice_retour_returnedProduct['return'][$key] as $retour_return}
<input type="hidden" class="sonice_retour_choseProd" rel="{$retour_return['id_order_detail']|escape:'htmlall':'UTF-8'}" value="{$retour_return['product_quantity']|escape:'htmlall':'UTF-8'}">
{/foreach}
</tbody>
{if {$sonice_retour_returnDetail[$key]['pdf']}}
<tfoot style="display: none;">
<tr>
<td>{$sonice_retour_http_download_folder|escape:'htmlall':'UTF-8'}{$sonice_retour_returnDetail[$key]['pdf']|escape:'htmlall':'UTF-8'}.pdf</td>
</tr>
</tfoot>
{/if}
</table>
<div style="border-bottom: 2px solid silver; margin: 40px 0;"></div>
{/foreach}
{/if}
<div class="clear">&nbsp;</div>
<div class="float-right">
<ul id="actionButton" class="etg_action_button">
<li id="actionButtonSave">
<a class="toolbar_btn">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}barcode.png" alt="save"><br>
{l s='Generate return label' mod='sonice_retour'}
</a>
</li>
<li id="actionButtonPrint">
<a class="toolbar_btn">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}printer.png" alt="printer"><br>
{l s='Print return label' mod='sonice_retour'}
</a>
</li>
</ul>
</div>
<div class="clear">&nbsp;</div>
<div id="sonice_retour_return">
<div id="sonice_retour_loader">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}import-loader.gif" alt="loader">
<p>{l s='Generating label...' mod='sonice_retour'}</p>
</div>
<div class="conf confirm" id="msgPrint" style="display: none;">
{l s='Label is ready to be printed.' mod='sonice_retour'}
</div>
<div class="conf confirm" id="msgSave" style="display: none;">
{l s='Label is ready to be saved' mod='sonice_retour'}
</div>
<div class="conf confirm" id="msgSend" style="display: none;">
{l s='The return label has been sent to your customer' mod='sonice_retour'}
</div>
<div class="conf error" style="display:none">
</div>
</div>
</form>
<div id="printLabel"></div>
<!-- Drag' n' Drop Copy -->
<table id="sonice_retour_dragndropTemplate" style="display: none;">
<td height="70" align="center" colspan="8">
<div style="border: 2px dashed black; height: 60px;">
{l s='Drop products here' mod='sonice_retour'}<br>
{l s='To add them in your return label' mod='sonice_retour'}
</div>
</td>
</table>
<!-- Metadata Copy -->
<div class="metadata-model" style="display: none;">
<dl>
<dt>Date</dt>
<dd class="metadata-date"></dd>
|
</dl>
<dl>
<dt><img src="{$imgUrl|escape:'htmlall':'UTF-8'}tag_hash.png" alt="label"></dt>
<dd>
# <span class="metadata-id_order_return"></span>
</dd>
|
</dl>
<dl>
<dt><img src="{$imgUrl|escape:'htmlall':'UTF-8'}so-conf.gif" alt="label"></dt>
<dd>
<span class="metadata-tracking"><a href="#" target="_blank"></a></span>
</dd>
|
</dl>
<dl>
<dt><img src="{$imgUrl|escape:'htmlall':'UTF-8'}tag_orange.png" alt="label"></dt>
<dd>
<span style="color: {$sonice_retour_returnDetail[$key]['metadata']['color']|escape:'htmlall':'UTF-8'}"># <span class="metadata-state"></span></span>
</dd>
|
</dl>
<dl>
<dt>
<select class="sonice_retour_select" rel="{$sonice_retour_returnDetail[$key]['metadata']['id_order_return']|escape:'htmlall':'UTF-8'}">
{foreach $sonice_retour_stateList as $state}
<option value="{$state['id_order_return_state']|escape:'htmlall':'UTF-8'}" class="sonice_retour_return_to_confirm">{$state['name']|escape:'htmlall':'UTF-8'}</option>
{/foreach}
</select>
</dt>
<dd>
<span class="sonice_retour_succeed" style="display: none;">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}tick.png" alt="Succeed">
</span>
<span class="sonice_retour_fail" style="display: none;">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}cross.png" alt="Fail">
</span>
</dd>
</dl>
<div class="clear"></div>
</div>
<!-- iFrame for printing -->
<iframe id="iframe_sonice_retour" style="display: none;" src="#"></iframe>
</fieldset>

View File

@@ -0,0 +1,346 @@
{**
* 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 SoNice Retour
* @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.sonice@common-services.com
*}
{if !$ps15x}
<link type="text/css" rel="stylesheet" href="{$cssDir|escape:'htmlall':'UTF-8'}sonice_retour.css">
<script type="text/javascript" src="{$jsDir|escape:'htmlall':'UTF-8'}orderReturn.js"></script>
<script type="text/javascript" src="{$jquery_ui_url|escape:'htmlall':'UTF-8'}"></script>
{/if}
<fieldset id="sonice_retour_env" class="panel">
<input type="hidden" id="sonice_retour_printing_type" value="{$sonice_retour_printing_type|escape:'htmlall':'UTF-8'}">
{if $ps16x}
<h3>{else}
<legend>{/if}
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}delivery.gif" alt="delivery">
{l s='Merchandise returns' mod='sonice_retour'}
{if $ps16x}</h3>
{else}</legend>{/if}
<form id="sonice_retour" method="post" action="{$action_merchandise_return_url|escape:'htmlall':'UTF-8'}">
<!-- VARIABLES -->
<input type="hidden" name="sonice_retour[id_order]" value="{$sonice_retour_id_order|escape:'htmlall':'UTF-8'}">
<input type="hidden" name="sonice_retour[id_customer]" value="{$sonice_retour_id_customer|escape:'htmlall':'UTF-8'}">
<input type="hidden" name="sonice_retour[id_delivery]" value="{$sonice_retour_id_delivery|escape:'htmlall':'UTF-8'}">
<input type="hidden" name="sonice_retour[newReturn]" value="0">
<input type="hidden" id="sonice_retour_alert_drag" value="{l s='You have to drag and drop your products to return before choosing an action.' mod='sonice_retour'}">
<input type="hidden" id="demo_send_warning" value="{l s='You cannot do it in demo mode, however you can have a look of it if you try to create a new return.' mod='sonice_retour'}">
<input type="hidden" id="sonice_retour_return_done" value="0">
<input type="hidden" id="sonice_retour_demo" value="{$sonice_retour_demo|escape:'htmlall':'UTF-8'}">
<input type="hidden" id="ps15x" value="{if $ps15x}1{else}0{/if}">
<!-- URL -->
<input type="hidden" id="saveMerchandiseReturn_url" value="{$action_merchandise_return_url|escape:'htmlall':'UTF-8'}">
<input type="hidden" id="get_label_url" value="{$get_label_url|escape:'htmlall':'UTF-8'}">
<input type="hidden" id="change_return_state_url" value="{$change_return_state_url|escape:'htmlall':'UTF-8'}">
<input type="hidden" id="sonice_retour_http_download_folder" value="{$sonice_retour_http_download_folder|escape:'htmlall':'UTF-8'}">
<input type="hidden" id="sonice_retour_function_folder" value="{$sonice_retour_function_folder|escape:'htmlall':'UTF-8'}">
<input type="hidden" id="sonice_retour_baseURL" value="{$sonice_retour_baseURL|escape:'htmlall':'UTF-8'}">
<!-- TPL -->
<div class="clear">&nbsp;</div>
{* Drag'n'Drop *}
{if !$sonice_retour_alreadyChoseReturnProduct || $sonice_retour_stillSome}
<div id="product_drop">
<table class="table sonice_retour_unselectedTable" cellspacing="0" cellpadding="0" id="sonice_retour_drop">
<thead>
<tr>
<th height="39" align="center" style="width: 7%">&nbsp;</th>
<th>{l s='Product' mod='sonice_retour'}</th>
<th style="width: 15%; text-align: center">{l s='Unit Price' mod='sonice_retour'}</th>
<th style="width: 4%; text-align: center">{l s='Qty' mod='sonice_retour'}</th>
{if $ps15x}
<th style="width: 3%; text-align: center">{l s='Refunded' mod='sonice_retour'}</th>{/if}
<th style="width: 3%; text-align: center">{l s='Returned' mod='sonice_retour'}</th>
{if !$ps15x}
<th>Stock</th>
{/if}
{if $ps15x}
<th style="width: 10%; text-align: center">{l s='Available quantity' mod='sonice_retour'}</th>{/if}
<th style="width: 10%; text-align: center">Total</th>
{if !$ps15x}
<th>Retour</th>
{/if}
{if !$ps15x}
<th>&nbsp;</th>
{/if}
</tr>
</thead>
<tbody class="sonice_retour_tbody">
{if !empty($sonice_retour_productLeft)}
{foreach $sonice_retour_productLeft as $key => $detail}
<input type="hidden" class="sonice_retour_prodLeft" rel="{$key|escape:'htmlall':'UTF-8'}" value="{$detail|escape:'htmlall':'UTF-8'}">
{/foreach}
{/if}
<tr id="sonice_retour_landing_area">
<td height="70" align="center" colspan="8">
<div style="border: 2px dashed black; padding: 5px 0;">
{l s='Drop products here' mod='sonice_retour'}<br>
{l s='To add them in your return label' mod='sonice_retour'}<br>
<br>
<button type="button" id="snr_return_all" class="btn btn-primary">{l s='Return all products' mod='sonice_retour'}</button>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div style="border-bottom: 2px solid silver; margin: 40px 0"></div>
{/if}
{* Return already done or being done *}
{if $sonice_retour_alreadyChoseReturnProduct}
<input type="hidden" id="sonice_retour_alreadyReturned">
{foreach $sonice_retour_returnedProduct['return'] as $key => $sonice_retour_return}
{* ID / ID / STATE *}
{* <-- metadata bar *}
{if is_array($sonice_retour_returnDetail[$key]['metadata']) && count($sonice_retour_returnDetail[$key]['metadata'])}
<div class="metadata-command">
<dl>
<dt>Date :</dt>
<dd>{$sonice_retour_returnDetail[$key]['date']|escape:'htmlall':'UTF-8'}</dd>
|
</dl>
<dl>
<dt><img src="{$imgUrl|escape:'htmlall':'UTF-8'}tag_hash.png" alt="label"></dt>
<dd>
{* // OCARAT ajout du lien pour afficher le retour dans AdminReturn et motif du retour en title*}
<a href="{$sonice_retour_returnDetail_link}{$sonice_retour_returnDetail[$key]['metadata']['id_order_return']|escape:'htmlall':'UTF-8'}"
target="_blank"
data-content="{$sonice_retour_returnDetail[$key]['metadata']['question']|escape:'htmlall':'UTF-8'}"
data-placement="top"
data-toggle="popover">
{l s='Return' mod='sonice_retour'} # {$sonice_retour_returnDetail[$key]['metadata']['id_order_return']|escape:'htmlall':'UTF-8'}
</a>
</dd>
|
</dl>
<dl>
<dt><img src="{$imgUrl|escape:'htmlall':'UTF-8'}so-conf.gif" alt="label"></dt>
<dd>
{if $sonice_retour_returnDetail[$key]['metadata']['pdf']}
<span>
{if $sonice_retour_tracking_url}
<a href="{$sonice_retour_tracking_url|escape:'htmlall':'UTF-8'}{$sonice_retour_returnDetail[$key]['metadata']['pdf']|escape:'htmlall':'UTF-8'}" target="_blank">
{/if}
# {$sonice_retour_returnDetail[$key]['metadata']['pdf']|escape:'htmlall':'UTF-8'}{if $sonice_retour_tracking_url}</a>{/if}
</span>
{else}
{l s='Sorry, there is no label available for this order, you need to create one.' mod='sonice_retour'}
<br>
{/if}
</dd>
|
</dl>
<dl>
<dt><img src="{$imgUrl|escape:'htmlall':'UTF-8'}tag_orange.png" alt="label"></dt>
<dd>
<span style="color: {$sonice_retour_returnDetail[$key]['metadata']['color']|escape:'htmlall':'UTF-8'}"># {$sonice_retour_returnDetail[$key]['metadata']['state']|escape:'htmlall':'UTF-8'}</span>
</dd>
|
</dl>
<dl>
<dt>
<select class="sonice_retour_select" rel="{$sonice_retour_returnDetail[$key]['metadata']['id_order_return']|escape:'htmlall':'UTF-8'}">
{foreach $sonice_retour_stateList as $state}
{if $state['name'] == $sonice_retour_returnDetail[$key]['metadata']['state'] && $state['id_order_return_state'] == 1}
{if $state['name'] == $sonice_retour_returnDetail[$key]['metadata']['state']}
<option value="{$state['id_order_return_state']|escape:'htmlall':'UTF-8'}" class="sonice_retour_return_to_confirm" selected>{$state['name']|escape:'htmlall':'UTF-8'}</option>
{else}
<option value="{$state['id_order_return_state']|escape:'htmlall':'UTF-8'}" class="sonice_retour_return_to_confirm">{$state['name']|escape:'htmlall':'UTF-8'}</option>
{/if}
{else}
{if $state['name'] == $sonice_retour_returnDetail[$key]['metadata']['state']}
<option value="{$state['id_order_return_state']|escape:'htmlall':'UTF-8'}" selected>{$state['name']|escape:'htmlall':'UTF-8'}</option>
{else}
<option value="{$state['id_order_return_state']|escape:'htmlall':'UTF-8'}">{$state['name']|escape:'htmlall':'UTF-8'}</option>
{/if}
{/if}
{/foreach}
</select>
</dt>
<dd>
<span class="sonice_retour_succeed" style="display: none;">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}tick.png" alt="Succeed">
</span>
<span class="sonice_retour_fail" style="display: none;">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}cross.png" alt="Fail">
</span>
</dd>
</dl>
<div class="clear"></div>
</div>
{/if}
<table class="table table-bordered sonice_retour_unselectedTable" cellspacing="0" cellpadding="0" rel="{$sonice_retour_returnDetail[$key]['id_order_return']|intval}">
{*<input type="hidden" name="sonice_retour_pending[id_order_return]" value="{$sonice_retour_return.id_order_return|escape:'htmlall':'UTF-8'}">*}
<thead>
<tr>
<th height="39" align="center" style="width: 7%">&nbsp;</th>
<th>{l s='Product' mod='sonice_retour'}</th>
<th style="width: 15%; text-align: center">{l s='Unit Price' mod='sonice_retour'}</th>
<th style="width: 4%; text-align: center">{l s='Qty' mod='sonice_retour'}</th>
{if $ps15x}
<th style="width: 3%; text-align: center">{l s='Refunded' mod='sonice_retour'}</th>{/if}
<th style="width: 3%; text-align: center">{l s='Returned' mod='sonice_retour'}</th>
{if !$ps15x}
<th>Stock</th>
{/if}
{if $ps15x}
<th style="width: 10%; text-align: center">{l s='Available quantity' mod='sonice_retour'}</th>{/if}
<th style="width: 10%; text-align: center">Total</th>
{if !$ps15x}
<th>Retour</th>
{/if}
{if !$ps15x}
<th>&nbsp;</th>
{/if}
</tr>
</thead>
<tbody class="sonice_retour_tbody_a centerfont">
{foreach $sonice_retour_returnedProduct['return'][$key] as $retour_return}
<input type="hidden" class="sonice_retour_choseProd" rel="{$retour_return['id_order_detail']|escape:'htmlall':'UTF-8'}" value="{$retour_return['product_quantity']|escape:'htmlall':'UTF-8'}">
{/foreach}
</tbody>
{if {$sonice_retour_returnDetail[$key]['pdf']|escape:'htmlall':'UTF-8'}}
<tfoot style="display: none;">
<tr>
<td>{$sonice_retour_http_download_folder|escape:'htmlall':'UTF-8'}{$sonice_retour_returnDetail[$key]['pdf']|escape:'htmlall':'UTF-8'}.pdf
</td>
</tr>
</tfoot>
{/if}
</table>
<div style="border-bottom: 2px solid silver; margin: 40px 0;"></div>
{/foreach}
{/if}
<div class="clear">&nbsp;</div>
<div class="float-right">
<ul id="actionButton" class="etg_action_button">
<li id="actionButtonPrint">
<a class="toolbar_btn">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}printer.png" alt="save"><br>
{l s='Print return label' mod='sonice_retour'}
</a>
</li>
<li id="actionButtonSave">
<a class="toolbar_btn">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}barcode.png" alt="save"><br>
{l s='Generate return label' mod='sonice_retour'}
</a>
</li>
<li id="actionLoader" style="display: none;">
<a class="toolbar_btn">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}import-loader.gif" width="32px" alt="loading">
</a>
</li>
</ul>
</div>
<div class="clear">&nbsp;</div>
<div id="sonice_retour_return">
<div id="sonice_retour_loader">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}import-loader.gif" alt="loader">
<p>{l s='Generating label...' mod='sonice_retour'}</p>
</div>
<div class="alert alert-success" id="msgPrint" style="display: none;">
{l s='Label is ready to be printed.' mod='sonice_retour'}
</div>
<div class="alert alert-success" id="msgSave" style="display: none;">
{l s='Label is ready to be saved' mod='sonice_retour'}
</div>
<div class="alert alert-success" id="msgSend" style="display: none;">
{l s='The return label has been sent to your customer' mod='sonice_retour'}
</div>
<div class="alert alert-danger" style="display:none">
</div>
</div>
</form>
<div id="printLabel"></div>
<!-- Drag' n' Drop Copy -->
<table id="sonice_retour_dragndropTemplate" style="display: none;">
<td height="70" align="center" colspan="8">
<div style="border: 2px dashed black; height: 60px;">
{l s='Drop products here' mod='sonice_retour'}<br>
{l s='To add them in your return label' mod='sonice_retour'}
</div>
</td>
</table>
<!-- Metadata Copy -->
<div class="metadata-model" style="display: none;">
<dl>
<dt>Date</dt>
<dd class="metadata-date"></dd>
|
</dl>
<dl>
<dt><img src="{$imgUrl|escape:'htmlall':'UTF-8'}tag_hash.png" alt="label"></dt>
<dd>
# <span class="metadata-id_order_return"></span>
</dd>
|
</dl>
<dl>
<dt><img src="{$imgUrl|escape:'htmlall':'UTF-8'}so-conf.gif" alt="label"></dt>
<dd>
<span class="metadata-tracking"><a href="#" target="_blank"></a></span>
</dd>
|
</dl>
<dl>
<dt><img src="{$imgUrl|escape:'htmlall':'UTF-8'}tag_orange.png" alt="label"></dt>
<dd>
<span style=""># <span class="metadata-state"></span></span>
</dd>
|
</dl>
<dl>
<dt>
<select class="sonice_retour_select" rel="">
{foreach $sonice_retour_stateList as $state}
<option value="{$state['id_order_return_state']|escape:'htmlall':'UTF-8'}" class="sonice_retour_return_to_confirm">{$state['name']|escape:'htmlall':'UTF-8'}</option>
{/foreach}
</select>
</dt>
<dd>
<span class="sonice_retour_succeed" style="display: none;">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}tick.png" alt="Succeed">
</span>
<span class="sonice_retour_fail" style="display: none;">
<img src="{$imgUrl|escape:'htmlall':'UTF-8'}cross.png" alt="Fail">
</span>
</dd>
</dl>
<div class="clear"></div>
</div>
<!-- iFrame for printing -->
<iframe id="iframe_sonice_retour" style="display: none;" src="#"></iframe>
</fieldset>

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,64 @@
{* NOTICE OF LICENSE
*
* This source file is subject to a commercial license from SARL SMC
* 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 SMC
* Toute utilisation, reproduction, modification ou distribution du present
* fichier source sans contrat de licence ecrit de la part de la SARL SMC est
* expressement interdite.
* Pour obtenir une licence, veuillez contacter Common-Services Co., Ltd. a l'adresse: contact@common-services.com
* ...........................................................................
* @package CommonServices
* @copyright Copyright (c) 2011-2015 Common Services Co Ltd - 90/25 Sukhumvit 81 - 10260 Bangkok - Thailand
* @author debuss-a
*}
{if $ps16x}
<link href="{$module_url|escape:'htmlall':'UTF-8'}/views/css/shared/shared_conf16.css" rel="stylesheet" type="text/css" media="all">
{else}
<link href="{$module_url|escape:'htmlall':'UTF-8'}/views/css/shared/shared_conf.css" rel="stylesheet" type="text/css" media="all">
{/if}
<script type="text/javascript" src="{$module_url|escape:'htmlall':'UTF-8'}/views/js/shared/configure_tabs.js"></script>
{if $has_line}
{for $i = 1 to $line_number}
{if is_array($tab_list) && count($tab_list)}
<ul class="nav" id="menuTab">
{foreach from=$tab_list item=tab}
{if isset($tab.line) && $tab.line == $i || !isset($tab.line) && $i == 1}
<li id="menu-{$tab.id|escape:'htmlall':'UTF-8'}" class="menuTabButton {if $tab.selected}selected{/if}">
{if $tab.img === $module_name}
<a href="#"><span>&nbsp;<img src="{$module_url|escape:'htmlall':'UTF-8'}logo.png" style="max-width: 32px; height: 32px;" alt=""/>&nbsp;{$tab.name|escape:none:'UTF-8'}</span></a>
{else}
<a href="#"><span>&nbsp;<img src="{$img_dir|escape:'htmlall':'UTF-8'}{$tab.img|escape:'htmlall':'UTF-8'}.png" alt=""/>&nbsp;{$tab.name|escape:none:'UTF-8'}</span></a>
{/if}
</li>
{/if}
{/foreach}
</ul>
{*<div class="clearfix">&nbsp;</div>*}
{/if}
{/for}
{else}
<ul class="nav" id="menuTab">
{if is_array($tab_list) && count($tab_list)}
{foreach from=$tab_list item=tab}
<li id="menu-{$tab.id|escape:'htmlall':'UTF-8'}" class="menuTabButton {if $tab.selected}selected{/if}">
{if $tab.img === $module_name}
<a href="#"><span>&nbsp;<img src="{$module_url|escape:'htmlall':'UTF-8'}logo.png" style="max-width: 32px; height: 32px;" alt=""/>&nbsp;{$tab.name|escape:none:'UTF-8'}</span></a>
{else}
<a href="#"><span>&nbsp;<img src="{$img_dir|escape:'htmlall':'UTF-8'}{$tab.img|escape:'htmlall':'UTF-8'}.png" alt=""/>&nbsp;{$tab.name|escape:none:'UTF-8'}</span></a>
{/if}
</li>
{/foreach}
{/if}
</ul>
{/if}
<div id="ps16_tabs_separator"></div>

View File

@@ -0,0 +1,72 @@
{**
* 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: support.mondialrelay@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: support.mondialrelay@common-services.com
* ...........................................................................
*
* @package sonice_retour
* @author debuss-a
* @copyright Copyright (c) 2011-2015 Common Services Co Ltd - 90/25 Sukhumvit 81 - 10260 Bangkok - Thailand
* @license Commercial license
* Support by mail : support.sonice_retour@common-services.com
*}
<div class="box">
<h3 class="page-subheading">
<img src="http://localhost/ps1730/modules/sonice_suivicolis/views/img/colissimo-h.png" style="float: right; margin-top: -10px;">Retour Colis : 8R28280687483</h3>
<ol>
<li style="
line-height: 1.5em;
/* padding-top: 10px; */
">Vous imprimez votre bordereau de transporteur et le collez sur votre colis :<br>
<a href="#">http://www.ma-boutique.fr/colissimo-retour?tracking_number=8R282800687483&amp;id_customer=42</a>
</li>
<li style="
line-height: 1.5em;
padding-top: 10px;
">
Choisissez de déposer votre colis :
<ul>
<li>- Dans votre boite aux lettres avant 08h00 du matin. Faire une demande sur
<a href="#">
www.colissimo.fr/retourbal
</a>
</li>
<li>- En bureau de Poste (max 30Kg)</li>
<li>- Chez un commerçant du réseau La Poste (max 20Kg).</li>
</ul>
</li><li style="
line-height: 1.5em;
padding-top: 10px;
">Suivez la livraison de votre colis sur
<a href="#">http://www.colissimo.fr</a>
</li>
</ol>
<hr>
<div class="container">
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<h2>Vous êtes éligible au retour en boîte aux lettres !</h2>
<p>Votre facteur viendra récupérer votre colis retour demain (Vendredi 23 Mars 2018) lors de son passage, <strong>le colis devra être déposé dans votre boite aux lettre avant 08h00</strong>, il déposera un avis attestant de la bonne prise en charge du colis.
</p>
<button class="btn btn-success">Accepter et valider le retour en boîte aux lettre</button>
</div>
</div>
</div>
</div>