{capture name=path}{l s='My account'}{$navigationPipe}{l s='Return Merchandise Authorization (RMA)'}{/capture} {include file=$tpl_dir./breadcrumb.tpl}

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

{if $errorQuantity}

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

{/if} {if $errorMsg}

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

{/if} {if $errorDetail1}

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

{/if} {if $errorDetail2}

{l s='Please provide quantity for product you checked.'}

{/if}

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

{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}