{* * 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($invoice_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'}
{$delivery_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'}
{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 isset($carrier)} {l s='Carrier:' pdf='true'}
{$carrier->name}

{/if}
{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='ITEMS TO BE DELIVERED' pdf='true'} {l s='REFERENCE' pdf='true'} {l s='QTY' pdf='true'}
{$order_detail.product_name} {if empty($order_detail.product_reference)} --- {else} {$order_detail.product_reference} {/if} {$order_detail.product_quantity}
{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}
({$customization.quantity})
 
{if isset($HOOK_DISPLAY_PDF)}
 
{$HOOK_DISPLAY_PDF}
{/if}