{*
* 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
*}
<table style="width: 100%; float: left; margin-top: 7px; border-bottom: 3px solid #000; margin-bottom: 20px;">
    <tbody>
        <tr>
            <td style="width: 50%; vertical-align: top;"> </td>
            <td style="width: 50%; vertical-align: top;">
                <table style="width: 355px; float: left;" cellspacing="0" cellpadding="0">
                    <tbody>
                        {if empty($shipping_cost_check) || $shipping_cost_check == '0'} {else}
                        <tr>
                            <td class="text-right;padding: 5px 0;">{l s='Shipping cost' mod='askforaquotemodul'}</td>
                            <td class="text-right " style="float: right;text-align: right;padding: 5px 0;"><span type="text" name="baproduct[shipping_cost]" class="td_shipping_price form-control" id="change"  style="width:85%;"> {$shipping_cost|escape:'htmlall':'UTF-8'}</span>
							</td>
						</tr>
                        {/if} {if empty($tax_cost_check) || $tax_cost_check == '0'} {else}
                        <tr>
                            <td class="text-right;padding: 5px 0;">{l s='Tax cost' mod='askforaquotemodul'}</td>
                            <td class="text-right " style="float: right;text-align: right;padding: 5px 0;"><span type="text" name="baproduct[shipping_cost]" class="td_shipping_price form-control" id="change"  style="width:85%;"> {$tax_cost|escape:'htmlall':'UTF-8'}</span>
                            </td>
                        </tr>
                        {/if}
						{if $infor_coupon == '0'} {else}
                        <tr>                           
                            <td class="text-right">{l s='Coupon' mod='askforaquotemodul'}</td>
                            <td class="text-right " style="float: right;text-align: right;">
								<span type="text" name="baproduct[shipping_cost]" class="td_shipping_price form-control" id="change"  style="width:85%;">
                                {if $infor_coupon[0]['reduction_product']|escape:'htmlall':'UTF-8' == '0'}
                                    {if $infor_coupon[0]['coupon_type']|escape:'htmlall':'UTF-8' == '1'}
                                        -{$infor_coupon[0]['reduction_amount']|escape:'htmlall':'UTF-8'}% {if $infor_coupon[0]['free_shipping']|escape:'htmlall':'UTF-8' == 1}{l s='and Free Shipping' mod='askforaquotemodul'}{/if}
                                    {else}
                                        -{displayPrice price=$infor_coupon[0]['reduction_amount'] currency=$id_currency_q} {if $infor_coupon[0]['free_shipping']|escape:'htmlall':'UTF-8' == 1}{l s='and Free Shipping' mod='askforaquotemodul'}{/if}
                                    {/if}
                                {elseif $infor_coupon[0]['reduction_product']|escape:'htmlall':'UTF-8' == '-1'}
                                    {if $infor_coupon[0]['coupon_type']|escape:'htmlall':'UTF-8' == '1'}
                                        {l s='Cheapest Product ' mod='askforaquotemodul'} -{$infor_coupon[0]['reduction_amount']|escape:'htmlall':'UTF-8'}% {if $infor_coupon[0]['free_shipping']|escape:'htmlall':'UTF-8' == '1'}{l s='and Free Shipping' mod='askforaquotemodul'}{/if}
                                    {else}
                                        {l s='Cheapest Product ' mod='askforaquotemodul'} -{displayPrice price=$infor_coupon[0]['reduction_amount'] currency=$id_currency_q} {if $infor_coupon[0]['free_shipping']|escape:'htmlall':'UTF-8' == '1'}{l s='and Free Shipping' mod='askforaquotemodul'}{/if}
                                    {/if}
                                {/if}
                                {if $infor_pro_coupon|escape:'htmlall':'UTF-8' != '0'}
                                    {if $infor_coupon[0]['coupon_type']|escape:'htmlall':'UTF-8' == '1'}
                                        {l s='Product:' mod='askforaquotemodul'} {$infor_pro_coupon[0]['product_name']|escape:'htmlall':'UTF-8'} -{$infor_coupon[0]['reduction_amount']|escape:'htmlall':'UTF-8'}% {if $infor_coupon[0]['free_shipping']|escape:'htmlall':'UTF-8' == '1'}{l s='and Free Shipping' mod='askforaquotemodul'}{/if}
                                    {else}
                                        {l s='Product:' mod='askforaquotemodul'} {$infor_pro_coupon[0]['product_name']|escape:'htmlall':'UTF-8'} -{displayPrice price=$infor_coupon[0]['reduction_amount'] currency=$id_currency_q} {if $infor_coupon[0]['free_shipping']|escape:'htmlall':'UTF-8' == '1'}{l s='and Free Shipping' mod='askforaquotemodul'}{/if}
                                    {/if}
                                {/if}
                                </span>
                            </td>
                        </tr>
						{/if}
                        <tr>                     
                            <td style="font-family: arial; font-size: 11pt; border-top: 2px solid #000; padding: 5px 0;">{l s='Total' mod='askforaquotemodul'}</td>
                            <td style="font-family: arial; font-size: 11pt; border-top: 2px solid #000; padding: 5px 0; text-align: right;">
                                {if $count > 0}
										{$info_customer[0]['price_full']|escape:'htmlall':'UTF-8'}
                                    {else}
                                        {$info_customer[0]['sign']|escape:'htmlall':'UTF-8'} 0,00 
                                {/if}
                            </td>
                        </tr>
                    </tbody>
                </table>
            </td>
        </tr>
    </tbody>
</table>