{*************************************************************************************/ /* 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.theliaartabanmarketplacetemplatepdf'} {literal}
{/literal} {hook name="delivery.header" order=$order_id} {hook name="delivery.footer-top" order=$order_id}

{hook name="delivery.imprint" order=$order_id} {elsehook rel="delivery.imprint"} {config key="store_name"} {$addresses="{config key='store_address1'} {config key='store_address2'} {config key='store_address3'}"} {$city="{config key='store_zipcode'} {config key='store_city'}"} {if $addresses != " "}- {$addresses}{/if} {if $city != " " }- {$city}{/if} {if {config key="store_country"} } {loop type="country" visible="*" name="address.country.title" id={config key="store_country"}} - {$TITLE}{/loop} {/if} {if {config key="store_business_id"} } - {config key="store_business_id"} {/if} {if {config key="store_phone"} } {intl l="Phone: "}{config key="store_phone"} {/if} {if {config key="store_email"} } {intl l="Email: "}{config key="store_email"} {/if} {/elsehook} | {intl l="page"} [[page_cu]]/[[page_nb]]

{hook name="delivery.footer-bottom" order=$order_id} {loop type="ampseller_order" name="order.delivery" id=$order_id}

# {intl l="DELIVERY FORM"}
### {intl l="Order date"} : {format_date date=$CREATE_DATE output="date"}
### {intl l="Order REF"} : {$REF}
### {intl l="Customer Number"} : {loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}
{hookblock name="delivery.information" order=$order_id fields="title,value"} {forhook rel="delivery.information"}
### {$title} : {$value}
{/forhook} {/hookblock}

{hook name="delivery.after-information" order=$order_id}

### {intl l="Delivery address"} {ifhook rel="delivery.delivery-address"} {* delivery module can customize the delivery address *} {hook name="delivery.delivery-address" module={$DELIVERY_MODULE} order=$order_id} {/ifhook} {elsehook rel="delivery.delivery-address"} {format_address order_address=$DELIVERY_ADDRESS locale=$locale} {/elsehook} | ### {intl l="Invoice address"} {format_address order_address=$INVOICE_ADDRESS locale=$locale}

{hook name="delivery.after-addresses" order=$order_id}

### {intl l="Ref"} | ### {intl l="product"} | ### {intl l="Quantity"}
{loop type="order_product" name="order-products" order="$ORDER_ID" id="$ORDER_PRODUCT_ID"}
{$REF} {if $REF != $PRODUCT_SALE_ELEMENTS_REF} {$PRODUCT_SALE_ELEMENTS_REF} {/if} | {$TITLE} {ifloop rel="combinations"} {loop type="order_product_attribute_combination" name="combinations" order_product=$ID} {$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE} {/loop} {/ifloop} {hook name="delivery.product-list" order_product=$ID order=$order_id} | {$QUANTITY}
{hook name="delivery.order-product" order="{$order_id}" order_product="{$ID}"} {/loop}

### {intl l="Delivery module"} {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop} {hook name="delivery.after-delivery-module" order=$order_id module_id=$DELIVERY_MODULE}

{hook name="delivery.after-summary" order=$order_id} {/loop}