{* * 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: 1.4 $ * @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} {include file="$tpl_dir./breadcrumb.tpl"}

{l s='My Vouchers'}

{if isset($discount) && count($discount) && $nbDiscounts} {foreach from=$discount 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.name} {$discountDetail.description} {$discountDetail.quantity_for_user} {if $discountDetail.id_discount_type == 1} {$discountDetail.value|escape:'htmlall':'UTF-8'}% {elseif $discountDetail.id_discount_type == 2} {convertPrice price=$discountDetail.value} {else} {l s='Free shipping'} {/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}

*{l s='Tax included'}

{else}

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

{/if}