{* * 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='My vouchers'}{/capture}

{l s='My vouchers'}

{if isset($cart_rules) && count($cart_rules) && $nb_cart_rules} {foreach from=$cart_rules item=discountDetail name=myLoop} {/foreach}
{l s='Code'} {l s='Description'} {l s='Quantity'} {l s='Value'}* {l s='Minimum'} {l s='Cumulative'} {l s='Expiration date'}
{$discountDetail.code} {$discountDetail.name} {$discountDetail.quantity_for_user} {if $discountDetail.id_discount_type == 1} {$discountDetail.value|escape:'html':'UTF-8'}% {elseif $discountDetail.id_discount_type == 2} {convertPrice price=$discountDetail.value} ({if $discountDetail.reduction_tax == 1}{l s='Tax included'}{else}{l s='Tax excluded'}{/if}) {elseif $discountDetail.id_discount_type == 3} {l s='Free shipping'} {else} - {/if} {if $discountDetail.minimal == 0} {l s='None'} {else} {convertPrice price=$discountDetail.minimal} {/if} {if $discountDetail.cumulable == 1} {l s='Yes'} {else} {l s='No'} {/if} {dateFormat date=$discountDetail.date_to}
{else}

{l s='You do not have any vouchers.'}

{/if}