{* * 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 *} {if $tax_exempt || ((isset($product_tax_breakdown) && $product_tax_breakdown|@count > 0) || (isset($ecotax_tax_breakdown) && $ecotax_tax_breakdown|@count > 0))}
{if $tax_exempt} {l s='Exempt of VAT according section 259B of the General Tax Code.' pdf='true'} {else} {if !$use_one_after_another_method} {/if} {if isset($product_tax_breakdown)} {foreach $product_tax_breakdown as $rate => $product_tax_infos} {if !$use_one_after_another_method} {/if} {/foreach} {/if} {if isset($shipping_tax_breakdown)} {foreach $shipping_tax_breakdown as $shipping_tax_infos} {if !$use_one_after_another_method} {/if} {/foreach} {/if} {if isset($ecotax_tax_breakdown)} {foreach $ecotax_tax_breakdown as $ecotax_tax_infos} {if $ecotax_tax_infos.ecotax_tax_excl > 0} {if !$use_one_after_another_method} {/if} {/if} {/foreach} {/if}
{l s='Tax Detail' pdf='true'} {l s='Tax Rate' pdf='true'}{l s='Total Tax Excl' pdf='true'}{l s='Total Tax' pdf='true'}
{if !isset($pdf_product_tax_written)} {l s='Products' pdf='true'} {assign var=pdf_product_tax_written value=1} {/if} {$rate} % {if isset($is_order_slip) && $is_order_slip}- {/if}{displayPrice currency=$order->id_currency price=$product_tax_infos.total_price_tax_excl} {if isset($is_order_slip) && $is_order_slip}- {/if}{displayPrice currency=$order->id_currency price=$product_tax_infos.total_amount}
{if !isset($pdf_shipping_tax_written)} {l s='Shipping' pdf='true'} {assign var=pdf_shipping_tax_written value=1} {/if} {$shipping_tax_infos.rate} %{if isset($is_order_slip) && $is_order_slip}- {/if}{displayPrice currency=$order->id_currency price=$shipping_tax_infos.total_tax_excl}{if isset($is_order_slip) && $is_order_slip}- {/if}{displayPrice currency=$order->id_currency price=$shipping_tax_infos.total_amount}
{l s='Ecotax' pdf='true'} {$ecotax_tax_infos.rate } %{if isset($is_order_slip) && $is_order_slip}- {/if}{displayPrice currency=$order->id_currency price=$ecotax_tax_infos.ecotax_tax_excl}{if isset($is_order_slip) && $is_order_slip}- {/if}{displayPrice currency=$order->id_currency price=($ecotax_tax_infos.ecotax_tax_incl - $ecotax_tax_infos.ecotax_tax_excl)}
{/if}
{/if}