{* * 2007-2011 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-2011 PrestaShop SA * @version Release: $Revision: 8088 $ * @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} {include file="$tpl_dir./breadcrumb.tpl"}

{if isset($smarty.server.HTTP_REFERER) && preg_replace('#^https?://[^/]+/#', '/', $smarty.server.HTTP_REFERER) != $request_uri} {l s='Back'} {/if} {l s='Return Merchandise Authorization (RMA)'}

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

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

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

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

{/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='Please provide a quantity for the product you checked.'}

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

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

{/if}

{l s='Here are the merchandise returns you have made'}.

{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"} {l s='#'}{$return.id_order|string_format:"%06d"} {$return.state_name|escape:'htmlall':'UTF-8'} {dateFormat date=$return.date_add full=0} {if $return.state == 2} {l s='Order return'} {l s='#'}{$return.id_order_return|string_format: {l s='Print out'} {else} -- {/if}
{else}

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

{/if}
{**}