{* * 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}
 
{if $customer->siret or $customer->ape}
{if $customer->siret} {l s='Company:'} {$customer->company} {/if} {if $customer->siret}
{l s='SIRET:'} {$customer->siret} {/if} {if $customer->ape}
{l s='APE:'} {$customer->ape} {/if}
{/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'}
{foreach from=$order_invoice->getOrderPaymentCollection() item=payment} {foreachelse} {/foreach}
{$payment->payment_method} {displayPrice price=$payment->amount currency=$order->id_currency}
{l s='No payment'}

{if !$tax_excluded_display} {/if} {foreach $order_details as $order_detail} {cycle values='#FFF,#DDD' assign=bgcolor} {if !$tax_excluded_display} {/if} {foreach $order_detail.customizedDatas as $customization} {/foreach} {/foreach}
{l s='Product / Reference' pdf='true'} {l s='Unit Price' pdf='true'}
{l s='(Tax Excl.)' pdf='true'}
{l s='Unit Price' pdf='true'} {l s='Discount' pdf='true'} {l s='Qty' pdf='true'} {l s='Total' pdf='true'}
{$order_detail.product_name}{if isset($order_detail.product_reference) && !empty($order_detail.product_reference)} ({l s='Reference:' pdf='true'} {$order_detail.product_reference}){/if} {displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl} {if $tax_excluded_display} {displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl} {else} {displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_incl} {/if} {if (isset($order_detail.reduction_amount) && $order_detail.reduction_amount > 0)} -{displayPrice currency=$order->id_currency price=$order_detail.reduction_amount} {elseif (isset($order_detail.reduction_percent) && $order_detail.reduction_percent > 0)} -{$order_detail.reduction_percent}% {else} -- {/if} {$order_detail.product_quantity} {if $tax_excluded_display} {displayPrice currency=$order->id_currency price=$order_detail.total_price_tax_excl} {else} {displayPrice currency=$order->id_currency price=$order_detail.total_price_tax_incl} {/if}
{foreach $customization.datas as $customization_types}
{foreach $customization_types as $customization_infos name=custo_foreach} {$customization_infos.name}: {$customization_infos.value} {if !$smarty.foreach.custo_foreach.last}
{else}
 
{/if} {/foreach}
{/foreach}
({$customization.quantity})
{if (($order_invoice->total_paid_tax_incl - $order_invoice->total_paid_tax_excl) > 0)} {else} {/if} {if $order_invoice->total_discount_tax_incl > 0} {/if} {if $order_invoice->total_wrapping_tax_incl > 0} {/if} {if $order_invoice->total_shipping_tax_incl > 0} {/if} {if ($order_invoice->total_paid_tax_incl - $order_invoice->total_paid_tax_excl) > 0} {/if} {if $order_invoice->getRestPaid()} {/if}
{l s='Product Total (Tax Excl.)' pdf='true'} {displayPrice currency=$order->id_currency price=$order_invoice->total_products}
{l s='Product Total (Tax Incl.)' pdf='true'} {displayPrice currency=$order->id_currency price=$order_invoice->total_products_wt}
{l s='Product Total' pdf='true'} {displayPrice currency=$order->id_currency price=$order_invoice->total_products}
{l s='Total Vouchers' pdf='true'} -{displayPrice currency=$order->id_currency price=$order_invoice->total_discount_tax_incl}
{l s='Wrapping Cost' pdf='true'} {if $tax_excluded_display} {displayPrice currency=$order->id_currency price=$order_invoice->total_wrapping_tax_excl} {else} {displayPrice currency=$order->id_currency price=$order_invoice->total_wrapping_tax_incl} {/if}
{l s='Shipping Cost' pdf='true'} {if $tax_excluded_display} {displayPrice currency=$order->id_currency price=$order_invoice->total_shipping_tax_excl} {else} {displayPrice currency=$order->id_currency price=$order_invoice->total_shipping_tax_incl} {/if}
{l s='Total Tax' pdf='true'} {displayPrice currency=$order->id_currency price=($order_invoice->total_paid_tax_incl - $order_invoice->total_paid_tax_excl)}
{l s='Total' pdf='true'} {displayPrice currency=$order->id_currency price=$order_invoice->total_paid_tax_incl}
{l s='Remaining Amount Due' pdf='true'} {displayPrice currency=$order->id_currency price=$order_invoice->getRestPaid()}
 
{$tax_tab} {if isset($order_invoice->note) && $order_invoice->note}
 
{$order_invoice->note|nl2br}
{/if} {if isset($HOOK_DISPLAY_PDF)}
 
{$HOOK_DISPLAY_PDF}
{/if}