{* * 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 !empty($delivery_address)}
{l s='Delivery Address' pdf='true'}
{$delivery_address}
{l s='Billing Address' pdf='true'}
{$invoice_address}
{else}
{l s='Billing & Delivery Address.' pdf='true'}
{$invoice_address}
{/if}
 
{l s='Order Number:' pdf='true'}
{$order->getUniqReference()}

{l s='Order Date:' pdf='true'}
{dateFormat date=$order->date_add full=0}

{l s='Payment Method:' pdf='true'}
{$order->payment}

{foreach $order_details as $order_detail} {cycle values='#FFF,#DDD' assign=bgcolor} {foreach $order_detail.customizedDatas as $customizationPerAddress} {foreach $customizationPerAddress as $customizationId => $customization} {/foreach} {/foreach} {/foreach}
{l s='Product / Reference' pdf='true'} {l s='Qty' pdf='true'} {l s='Price' pdf='true'}
{l s='(Tax Excl.)' pdf='true'}
{l s='Price' pdf='true'}
{l s='(Tax Incl.)' pdf='true'}
{$order_detail.product_name} {$order_detail.product_quantity} - {displayPrice currency=$order->id_currency price=$order_detail.total_price_tax_excl} - {displayPrice currency=$order->id_currency price=$order_detail.total_price_tax_incl}
{foreach $customization.datas as $customization_types}
{if isset($customization.datas[$smarty.const._CUSTOMIZE_TEXTFIELD_]) && count($customization.datas[$smarty.const._CUSTOMIZE_TEXTFIELD_]) > 0} {foreach $customization.datas[$smarty.const._CUSTOMIZE_TEXTFIELD_] as $customization_infos} {$customization_infos.name}: {$customization_infos.value} {if !$smarty.foreach.custo_foreach.last}
{else}
 
{/if} {/foreach} {/if} {if isset($customization.datas[$smarty.const._CUSTOMIZE_FILE_]) && count($customization.datas[$smarty.const._CUSTOMIZE_FILE_]) > 0} {count($customization.datas[$smarty.const._CUSTOMIZE_FILE_])} {l s='image(s)' pdf='true'} {/if}
{/foreach}
({$customization.quantity})
{if $order_slip->shipping_cost_amount} {/if} {if (($order->total_paid_tax_incl - $order->total_paid_tax_excl) > 0)} {else} {/if} {if ($order->total_paid_tax_incl - $order->total_paid_tax_excl) > 0} {/if}
{l s='Shipping' pdf='true'} - {displayPrice currency=$order->id_currency price=$order_slip->shipping_cost_amount}
{l s='Product Total (Tax Excl.)' pdf='true'} - {displayPrice currency=$order->id_currency price=$order->total_products}
{l s='Product Total (Tax Incl.)' pdf='true'} - {displayPrice currency=$order->id_currency price=$order->total_products_wt}
{l s='Product Total' pdf='true'} - {displayPrice currency=$order->id_currency price=$order->total_products}
{l s='Total Tax' pdf='true'} - {displayPrice currency=$order->id_currency price=($order->total_paid_tax_incl - $order->total_paid_tax_excl)}
{l s='Total ' pdf='true'} - {displayPrice currency=$order->id_currency price=$order->total_paid_tax_incl}
 
{$tax_tab} {if isset($HOOK_DISPLAY_PDF)}
 
{$HOOK_DISPLAY_PDF}
{/if}