{* * 2007-2011 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-2011 PrestaShop SA * @version Release: $Revision: 9025 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if !isset($smarty.get.ajax)} {capture name=path}{l s='Order detail'}{/capture} {include file="$tpl_dir./breadcrumb.tpl"}

{l s='Order placed on'} {dateFormat date=$order->date_add full=0}

{/if}
{*

{l s='Order placed on'} {dateFormat date=$order->date_add full=0}

*}
{if count($order_history)} {*

{l s='Follow your order step by step'}

*}
{**} {foreach from=$order_history item=state name=orderStates} {if $smarty.foreach.orderStates.first} {/if} {/foreach}
{l s='Date'} {l s='Status'}
{displayWtPriceWithCurrency price=$order->total_paid currency=$currency} {if $invoice AND $invoiceAllowed} {l s='PDF'} {l s='Invoice'} {else}-{/if}
{dateFormat date=$state.date_add full=0} {$state.ostate_name|escape:'htmlall':'UTF-8'}
{/if}
{if $carrier->id}

{$carrier->delay} {displayWtPriceWithCurrency price=$order->total_shipping currency=$currency}

{/if}

{if count($numbers) > 0}

{l s='Numero de suivi'}

{/if} {*

{l s='Order:'} {l s='#'}{$order->id|string_format:"%06d"}

{if $carrier->id}

{l s='Carrier:'} {if $carrier->name == "0"}{$shop_name|escape:'htmlall':'UTF-8'}{else}{$carrier->name|escape:'htmlall':'UTF-8'}{/if}

{/if}

{l s='Payment method:'} {$order->payment|escape:'htmlall':'UTF-8'}

{if $invoice AND $invoiceAllowed}

{l s='Download your invoice as a .PDF file'}

{/if} {if $order->recyclable && isset($isRecyclable) && $isRecyclable}

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

{/if} {if $order->gift}

 {l s='You requested gift-wrapping for your order.'}

{l s='Message:'} {$order->gift_message|nl2br}

{/if}
*} {if $order->valid && isset($delivery_date)}

{l s='Delivery Delay'}

{foreach from=$delivery_date key=k item=date} {if $k == 1}

{$date.name} : {l s='Date de réception prévue entre le'} {$date.date_start|date_format:'%d/%m/%Y'} {l s='et le'} {$date.date_end|date_format:'%d/%m/%Y'}

{elseif $k == 5}

{$date.name} : {l s='Date de réception prévue avant le'} {l s='24/12'}

{elseif $k == 8}

{l s='Livraison avant Noel'} : {l s='Envoi en 48h'}

{else}

{$date.name}

{/if} {/foreach}
{/if} {$HOOK_ORDERDETAILDISPLAYED} {if !$is_guest}
{/if}
{* {if $return_allowed}{/if} *} {if $priceDisplay && $use_tax} {/if} {if $order->total_discounts > 0} {/if} {if $order->total_wrapping > 0} {/if} {foreach from=$products item=details} {foreach from=$details.products item=product name=products} {if !isset($product.deleted)} {assign var='productId' value=$product.product_id} {assign var='productAttributeId' value=$product.product_attribute_id} {if isset($customizedDatas.$productId.$productAttributeId)}{assign var='productQuantity' value=$product.product_quantity-$product.customizationQuantityTotal}{else}{assign var='productQuantity' value=$product.product_quantity}{/if} {if isset($customizedDatas.$productId.$productAttributeId)} {if $return_allowed}{/if} {foreach from=$customizedDatas.$productId.$productAttributeId item='customization' key='customizationId'} {if $return_allowed}{/if} {/foreach} {/if} {if $product.product_quantity > $product.customizationQuantityTotal} {**} {*{if $return_allowed}{/if} *} {/if} {/if} {/foreach} {/foreach} {foreach from=$discounts item=discount} {**} {**} {**} {/foreach}
{l s='Reference'} {l s='Product'} {l s='Quantity'} {l s='Unit price'} {l s='Total price'}
{l s='Total products (tax excl.):'} {displayWtPriceWithCurrency price=$order->getTotalProductsWithoutTaxes() currency=$currency}
{l s='Total products'} {if $use_tax}{l s='(tax incl.)'}{/if}: {displayWtPriceWithCurrency price=$order->getTotalProductsWithTaxes() currency=$currency}
{l s='Total vouchers:'} {displayWtPriceWithCurrency price=$order->total_discounts currency=$currency}
{l s='Total gift-wrapping:'} {displayWtPriceWithCurrency price=$order->total_wrapping currency=$currency}
{l s='Total shipping'} {if $use_tax}{l s='(tax incl.)'}{/if}: {displayWtPriceWithCurrency price=$order->total_shipping currency=$currency}
{l s='Total:'} {displayWtPriceWithCurrency price=$order->total_paid currency=$currency}

{$details.title}

{foreach from=$customization.datas key='type' item='datas'} {if $type == $CUSTOMIZE_FILE}
    {foreach from=$datas item='data'}
  • {/foreach}
{elseif $type == $CUSTOMIZE_TEXTFIELD}
    {counter start=0 print=false} {foreach from=$datas item='data'} {assign var='customizationFieldName' value="Text #"|cat:$data.id_customization_field}
  • {$data.name|default:$customizationFieldName}{l s=':'} {$data.value}
  • {/foreach}
{/if} {/foreach}
{if $return_allowed}{/if}{$customization.quantity|intval}
{$product.name|escape:'htmlall':'UTF-8'} {**}
{**} {$product.product_name|escape:'htmlall':'UTF-9'} {**}
{if isset($product.attributes) && $product.attributes} {$product.attributes|escape:'htmlall':'UTF-8'} {/if}
{if $group_use_tax} {convertPriceWithCurrency price=$product.total_wt currency=$currency convert=0} {else} {convertPriceWithCurrency price=$product.total_price currency=$currency convert=0} {/if}
{if isset($customizedDatas.$productId.$productAttributeId) AND $quantityDisplayed == 0} {$product.customizationQuantityTotal} {/if} {if !isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed > 0} {/if}
X
{*
{$product.name|escape:'htmlall':'UTF-8'}
{if isset($product.attributes) && $product.attributes}{$product.attributes|escape:'htmlall':'UTF-8'}{/if}
{if !$priceDisplay}{convertPrice price=$product.price_wt}{else}{convertPrice price=$product.price}{/if}
{if isset($customizedDatas.$productId.$productAttributeId) AND $quantityDisplayed == 0} {$product.customizationQuantityTotal} {/if} {if !isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed > 0} {/if}
X
*}
{$discount.name|escape:'htmlall':'UTF-8'}{l s='Voucher'} {l s='Code'}: {$discount.name|escape:'htmlall':'UTF-8'}1  {if $discount.value != 0.00}{l s='-'}{/if}{convertPriceWithCurrency price=$discount.value currency=$currency convert=0}
    isVirtual()}style="display:none;"{/if}>
  • {l s='Invoice'}
  • {foreach from=$inv_adr_fields name=inv_loop item=field_item} {if $field_item eq "company" && isset($address_invoice->company)}
  • {$address_invoice->company|escape:'htmlall':'UTF-8'}
  • {elseif $field_item eq "address2" && $address_invoice->address2}
  • {$address_invoice->address2|escape:'htmlall':'UTF-8'}
  • {elseif $field_item eq "phone_mobile" && $address_invoice->phone_mobile}
  • {$address_invoice->phone_mobile|escape:'htmlall':'UTF-8'}
  • {else} {assign var=address_words value=" "|explode:$field_item}
  • {foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}{$invoiceAddressFormatedValues[$word_item]|escape:'htmlall':'UTF-8'}{/foreach}
  • {/if} {/foreach}
  • {l s='Delivery'}
  • {foreach from=$dlv_adr_fields name=dlv_loop item=field_item} {if $field_item eq "company" && isset($address_delivery->company)}
  • {$address_delivery->company|escape:'htmlall':'UTF-8'}
  • {elseif $field_item eq "address2" && $address_delivery->address2}
  • {$address_delivery->address2|escape:'htmlall':'UTF-8'}
  • {elseif $field_item eq "phone_mobile" && $address_delivery->phone_mobile}
  • {$address_delivery->phone_mobile|escape:'htmlall':'UTF-8'}
  • {else} {assign var=address_words value=" "|explode:$field_item}
  • {foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}{$deliveryAddressFormatedValues[$word_item]|escape:'htmlall':'UTF-8'}{/foreach}
  • {/if} {/foreach}
{if !$is_guest} {*{if $return_allowed}

{l s='Merchandise return'}

{l s='If you wish to return one or more products, please mark the corresponding boxes and provide an explanation for the return. Then click the button below.'}


{/if}*}
{if count($messages)}

{l s='Messages'}

{foreach from=$messages item=message name="messageList"} {/foreach}
{l s='From'} {l s='Message'}
{if isset($message.ename) && $message.ename} {$message.efirstname|escape:'htmlall':'UTF-8'} {$message.elastname|escape:'htmlall':'UTF-8'} {elseif $message.clastname} {$message.cfirstname|escape:'htmlall':'UTF-8'} {$message.clastname|escape:'htmlall':'UTF-8'} {else} {$shop_name|escape:'htmlall':'UTF-8'} {/if}
{dateFormat date=$message.date_add full=1}
{$message.message|nl2br}
{/if} {if isset($errors) && $errors}

{if $errors|@count > 1}{l s='There are'}{else}{l s='There is'}{/if} {$errors|@count} {if $errors|@count > 1}{l s='errors'}{else}{l s='error'}{/if} :

    {foreach from=$errors key=k item=error}
  1. {$error}
  2. {/foreach}
{/if} {*

{l s='Add a message:'}

{l s='If you would like to add a comment about your order, please write it below.'}

*} {else}

 {l s='You can\'t make a merchandise return with a guest account'}

{/if} {if !isset($smarty.get.ajax)}
{/if}