{*
* 2007-2020 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@buy-addons.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    Buy-addons    <contact@buy-addons.com>
* @copyright 2007-2020 Buy-addons
* @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
{if !empty($data_coupon)}
	<tr data-voucher="{$data_coupon['id_cart_rule']|escape:'htmlall':'UTF-8'}" class="bacoupon_{$data_coupon['id_cart_rule']|escape:'htmlall':'UTF-8'}">
		<td>
			<span>{$data_coupon['name']|escape:'htmlall':'UTF-8'}</span>
		</td>
		<td>
			<span>{$data_coupon['description']|escape:'htmlall':'UTF-8'}</span>
		</td>
		<td>
			<input type="hidden" value="{$data_coupon['value_tax_exc']|escape:'htmlall':'UTF-8'}" data-tax="{$data_coupon['value_tax']|escape:'htmlall':'UTF-8'}" class="discount_amount">
			<input type="hidden" class="td_id_coupon_order" name="td_id_coupon_order[]" value="{$data_coupon['id_cart_rule']|escape:'htmlall':'UTF-8'}">
			<span>-{displayPrice price=$data_coupon['value_tax_exc'] currency=$id_currency}</span>
		</td>
		<td>
			<a onclick="deletevoucher(this,{$data_coupon['id_cart_rule']|escape:'htmlall':'UTF-8'})" class="btn btn-default"><i class="icon-remove text-danger"></i>{l s='Delete' mod='askforaquotemodul'}</a>
		</td>
	</tr>
{/if}