{* * 2007-2017 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-2017 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='Credit slips'}{/capture}

{l s='Credit slips'}

{l s='Credit slips you have received after canceled orders'}.

{include file="$tpl_dir./errors.tpl"} {if isset($smarty.get.confirmation) && $smarty.get.confirmation}

{l s='Your voucher has been generated successfully and sent via email.'} {'Click here'} {' to see your all vouchers.'}

{/if}
{if $ordersSlip && count($ordersSlip)} {foreach from=$ordersSlip item=slip name=myLoop} {/foreach}
{l s='Credit slip'} {l s='Order'} {l s='Date issued'} {l s='View credit slip'} {l s='Status'} {l s='Actions'}
#{Configuration::get('PS_CREDIT_SLIP_PREFIX', $lang_id)}{$slip.id_order_slip|string_format:"%06d"} #{$slip.id_order|string_format:"%06d"} {dateFormat date=$slip.date_add full=0} {l s='PDF'} {if $slip.redeem_status == OrderSlip::REDEEM_STATUS_REDEEMED} {l s='Redeemed'} {else} {l s='Active'} {/if} {if $slip.redeem_status == OrderSlip::REDEEM_STATUS_ACTIVE && !$slip.id_cart_rule} {l s='Generate Voucher'} {elseif $slip.redeem_status == OrderSlip::REDEEM_STATUS_REDEEMED && $slip.id_cart_rule} {l s='Voucher Generated'} {elseif $slip.redeem_status == OrderSlip::REDEEM_STATUS_REDEEMED && !$slip.id_cart_rule} -- {/if}
 
{else}

{l s='You have not received any credit slips.'}

{/if}