{* * 2007-2016 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-2016 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.reduction_percent > 0} {$discountDetail.reduction_percent|escape:'html':'UTF-8'}% {/if} {if $discountDetail.reduction_amount > 0} {if $discountDetail.reduction_percent > 0} + {/if} {convertPrice price=$discountDetail.reduction_amount} ({if $discountDetail.reduction_tax == 1}{l s='Tax included'}{else}{l s='Tax excluded'}{/if}) {/if} {if $discountDetail.free_shipping} {if $discountDetail.reduction_percent > 0 || $discountDetail.reduction_amount > 0} + {/if} {l s='Free shipping'} {/if} {if $discountDetail.gift_product > 0} {if $discountDetail.reduction_percent > 0 || $discountDetail.reduction_amount > 0 || $discountDetail.gift_product} + {/if} {$discountDetail.gift_product_name} {l s='Free %s!' sprintf=$discountDetail.gift_product_name}! {/if} {if $discountDetail.minimal == 0} {l s='None'} {else} {convertPrice price=$discountDetail.minimal} ({if $discountDetail.minimum_amount_tax == 1}{l s='Tax included'}{else}{l s='Tax excluded'}{/if}) {/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}