{* * 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 *} {include file="./errors.tpl"} {if isset($orderRet)}

{l s='RE#'}{$orderRet->id|string_format:"%06d"} {l s='on'} {dateFormat date=$order->date_add full=0}

{l s='We have logged your return request.'}

{l s='Your package must be returned to us within'} {$nbdaysreturn} {l s='days of receiving your order.'}

{l s='The current status of your merchandise return is:'} {$state_name|escape:'htmlall':'UTF-8'}

{l s='List of items to be returned:'}

{foreach from=$products item=product name=products} {assign var='quantityDisplayed' value=0} {foreach from=$returnedCustomizations item='customization' name=products} {if $customization.product_id == $product.product_id} {assign var='productId' value=$customization.product_id} {assign var='productAttributeId' value=$customization.product_attribute_id} {assign var='customizationId' value=$customization.id_customization} {foreach from=$customizedDatas.$productId.$productAttributeId.$customizationId.datas key='type' item='datas'} {/foreach} {assign var='quantityDisplayed' value=$quantityDisplayed+$customization.product_quantity} {/if} {/foreach} {if $product.product_quantity > $quantityDisplayed} {/if} {/foreach}
{l s='Reference'} {l s='Product'} {l s='Quantity'}
{if $customization.reference}{$customization.reference|escape:'htmlall':'UTF-8'}{else}--{/if} {$customization.name|escape:'htmlall':'UTF-8'} {$customization.product_quantity|intval}
{if $type == $smarty.const._CUSTOMIZE_FILE_}
    {foreach from=$datas item='data'}
  • {/foreach}
{elseif $type == $smarty.const._CUSTOMIZE_TEXTFIELD_}
    {counter start=0 print=false} {foreach from=$datas item='data'} {assign var='customizationFieldName' value="Text #"|cat:$data.id_customization_field}
  • {l s='%s:' sprintf=$data.name|default:$customizationFieldName} {$data.value}
  • {/foreach}
{/if}
{if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if} {$product.product_name|escape:'htmlall':'UTF-8'} {$product.product_quantity|intval}
{if $orderRet->state == 2}

{l s='Reminder:'}

- {l s='All merchandise must be returned in its original packaging and in its original state.'}
- {l s='Please print out the'} id|intval}")}">{l s='PDF return slip'} {l s='and include it with your package.'}
- {l s='Please see the PDF return slip'} (id|intval}")}">{l s='for the correct address'})

{l s='When we receive your package, we will notify you by email. We will then begin processing order reimbursement.'}

{l s='Please let us know if you have any questions.'}

{l s='If the conditions of return listed above are not respected, we reserve the right to refuse your package and/or reimbursement.'}

{elseif $orderRet->state == 1}

{l s='You must wait for confirmation before returning any merchandise.'}

{/if} {/if}