{** * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. *} {extends file='customer/page.tpl'} {block name='page_title'} {l s='Order details' d='Shop.Theme.Customeraccount'} {/block} {block name='page_content'} {block name='order_infos'}

{l s='Order Reference %reference% - placed on %date%' d='Shop.Theme.Customeraccount' sprintf=['%reference%' => $order.details.reference, '%date%' => $order.details.order_date] }

{l s='Carrier: %carrierName%' d='Shop.Theme.Checkout' sprintf=['%carrierName%' => $order.carrier.name]}

{l s='Payment method: %paymentMethod%' d='Shop.Theme.Checkout' sprintf=['%paymentMethod%' => $order.details.payment]}

{if $order.details.invoice_url} {l s='Download your invoice as a PDF file.' d='Shop.Theme.Customeraccount'} {/if} {if $order.details.recyclable}

{l s='You have given permission to receive your order in recycled packaging.' d='Shop.Theme.Customeraccount'}

{/if} {if $order.details.gift_message}

{l s='You have requested gift wrapping for this order.' d='Shop.Theme.Customeraccount'}

{l s='Message' d='Shop.Theme.Customeraccount'} {$order.details.gift_message nofilter}

{/if}
{if $order.details.reorder_url} {/if}
{/block}
{block name='order_history'}

{l s='Follow your order\'s status step-by-step' d='Shop.Theme.Customeraccount'}

{foreach from=$order.history item=state} {/foreach}
{l s='Date' d='Shop.Theme.Global'} {l s='Status' d='Shop.Theme.Global'}
{$state.history_date} {$state.ostate_name}
{/block} {if $order.follow_up}

{l s='Click the following link to track the delivery of your order' d='Shop.Theme.Customeraccount'}

{$order.follow_up}
{/if}
{block name='addresses'}

{l s='Addresses' d='Shop.Theme.Customeraccount'}

{if $order.addresses.delivery}

{l s='Delivery address: %alias%' d='Shop.Theme.Checkout' sprintf=['%alias%' => $order.addresses.delivery.alias]}

{$order.addresses.delivery.formatted nofilter}
{/if}

{l s='Invoice address: %alias%' d='Shop.Theme.Checkout' sprintf=['%alias%' => $order.addresses.invoice.alias]}

{$order.addresses.invoice.formatted nofilter}
{/block}
{$HOOK_DISPLAYORDERDETAIL nofilter}

{l s='Products' d='Shop.Theme.Customeraccount'}

{block name='order_detail'} {if $order.details.is_returnable} {include file='customer/_partials/order-detail-return.tpl'} {else} {include file='customer/_partials/order-detail-no-return.tpl'} {/if} {/block}

{block name='order_carriers'} {if $order.shipping}

{l s='Tracking' d='Shop.Theme.Customeraccount'}

{foreach from=$order.shipping item=line} {/foreach}
{l s='Date' d='Shop.Theme.Global'} {l s='Carrier' d='Shop.Theme.Checkout'} {l s='Weight' d='Shop.Theme.Checkout'} {l s='Shipping cost' d='Shop.Theme.Checkout'} {l s='Tracking number' d='Shop.Theme.Checkout'}
{$line.shipping_date} {$line.carrier_name} {$line.shipping_weight} {$line.shipping_cost} {$line.tracking nofilter}
{foreach from=$order.shipping item=line}
{/foreach}
{/if} {/block}
{block name='order_messages'} {include file='customer/_partials/order-messages.tpl'} {/block} {/block}