{*************************************************************************************/ /* This file is part of the Thelia package. */ /* */ /* Copyright (c) OpenStudio */ /* email : dev@thelia.net */ /* web : http://www.thelia.net */ /* */ /* For the full copyright and license information, please view the LICENSE.txt */ /* file that was distributed with this source code. */ /*************************************************************************************} {* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *} {default_translation_domain domain='pdf.default'}
{intl l="page"} [[page_cu]]/[[page_nb]]
{loop name="order.invoice" type="order" id=$order_id customer="*"} {loop name="currency.order" type="currency" id=$CURRENCY} {assign "orderCurrency" $SYMBOL} {/loop}

{config key="store_name"}

{intl l='Delivery module'}
{$DELIVERY_REF}

{intl l="invoice ref"} {intl l="invoice date"}
{$REF} {format_date date=$INVOICE_DATE}
{intl l="invoice"} {intl l="customer number"}
{$INVOICE_REF} {loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}
{intl l="delivery address"}
{loop type="order_address" name="delivery_address" id=$DELIVERY_ADDRESS} {loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop}{$FIRSTNAME} {$LASTNAME}
{$ADDRESS1} {$ADDRESS2} {$ADDRESS3}
{$ZIPCODE} {$COUNTRY}
{loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop} {/loop}
{intl l="invoice address"}
{loop type="order_address" name="delivery_address" id=$INVOICE_ADDRESS} {loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop}{$FIRSTNAME} {$LASTNAME}
{$ADDRESS1} {$ADDRESS2} {$ADDRESS3}
{$ZIPCODE} {$COUNTRY}
{loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop} {/loop}
{loop type="order_product" name="order-products" order=$ID} {/loop}
{intl l="Ref"} {intl l="product"} {intl l="Quantity"}
{$REF} {$TITLE} {$QUANTITY}
{intl l="delivery module"} {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}
{/loop}