{* * 2007-2014 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-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {capture name=path} {l s='My account'} {$navigationPipe} {l s='Return Merchandise Authorization (RMA)'} {/capture}

{l s='Return Merchandise Authorization (RMA)'}

{if isset($errorQuantity) && $errorQuantity}

{l s='You do not have enough products to request an additional merchandise return.'}

{/if} {if isset($errorMsg) && $errorMsg}

{l s='Please provide an explanation for your RMA.'}

{foreach $ids_order_detail as $id_order_detail} {/foreach} {foreach $order_qte_input as $key => $value} {/foreach}

{/if} {if isset($errorDetail1) && $errorDetail1}

{l s='Please check at least one product you would like to return.'}

{/if} {if isset($errorDetail2) && $errorDetail2}

{l s='For each product you wish to add, please specify the desired quantity.'}

{/if} {if isset($errorNotReturnable) && $errorNotReturnable}

{l s='This order cannot be returned.'}

{/if}

{l s='Here is a list of pending merchandise returns'}.

{if $ordersReturn && count($ordersReturn)} {foreach from=$ordersReturn item=return name=myLoop} {/foreach}
{l s='Return'} {l s='Order'} {l s='Package status'} {l s='Date issued'} {l s='Return slip'}
{l s='#'}{$return.id_order_return|string_format:"%06d"} {$return.reference} {$return.state_name|escape:'html':'UTF-8'} {dateFormat date=$return.date_add full=0} {if $return.state == 2} {l s='Print out'} {else} -- {/if}
 
{else}

{l s='You have no merchandise return authorizations.'}

{/if}