{* * 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$ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if ($order->total_paid != $order->total_paid_real)}
{l s='Warning:'} {displayPrice price=$order->total_paid_real currency=$currency->id} {l s='paid instead of'} {displayPrice price=$order->total_paid currency=$currency->id} !


{/if} {if ($HOOK_INVOICE)}
{$HOOK_INVOICE}

'; {/if}

{if $previousOrder}{/if} {if ($customer->id)}{$customer->firstname} {$customer->lastname} - {/if}{l s='Order #'}{"%06d"|sprintf:$order->id} {if $nextOrder}{/if}

{if (($currentState->invoice || $order->invoice_number) && count($products))} {l s='View invoice'} {l s='View invoice'} {else} {l s='No invoice'} {l s='No invoice'} {/if} - {if ($currentState->delivery || $order->delivery_number)} {l s='View delivery slip'} {l s='View delivery slip'} {else} {l s='No delivery slip'} {l s='No delivery slip'} {/if} - {l s='Print order'} {l s='Print order'}
 
{foreach from=$history item=row key=key} {if ($key == 0)} {else} {/if} {/foreach}
{dateFormat date=$row['date_add'] full=true} {$row['ostate_name']|stripslashes} {if $row['employee_lastname']}{$row['employee_firstname']|stripslashes} {$row['employee_lastname']|stripslashes}{/if}
{dateFormat date=$row['date_add'] full=true} {$row['ostate_name']|stripslashes} {if $row['employee_lastname']}{$row['employee_firstname']|stripslashes} {$row['employee_lastname']|stripslashes}{/if}

{if $customer->id}
{l s='Customer information'} {$customer->firstname} {$customer->lastname} ({l s='#'}{$customer->id})
({$customer->email})

{if ($customer->isGuest())} {l s='This order has been placed by a'} {l s='guest'} {if (!Customer::customerExists($customer->email))}

{l s='This feature will generate a random password and send an e-mail to the customer'}
{else}
{l s='A registered customer account exists with the same email address'}
{/if} {else} {l s='Account registered:'} {dateFormat date=$customer->date_add full=true}
{l s='Valid orders placed:'} {$customerStats['nb_orders']}
{l s='Total paid since registration:'} {displayPrice price=Tools::ps_round(Tools::convertPrice($customerStats['total_orders'], $currency), 2) currency=$currency->id}
{/if} {/if} {if (sizeof($sources))}
{l s='Sources'}
{/if} {if $HOOK_ADMIN_ORDER} {$HOOK_ADMIN_ORDER} {/if}
{if (($currentState->invoice OR $order->invoice_number) AND count($products))} {l s='Invoice'} {l s='Invoice #'}{Configuration::get('PS_INVOICE_PREFIX', $id_lang)}{"%06d"|sprintf:$order->invoice_number}
{l s='Created on:'} {dateFormat date=$order->invoice_date full=true} {else} {l s='Invoice'} {l s='No invoice yet.'} {/if}

{l s='Shipping information'} {l s='Total weight:'} {$order->getTotalWeight()|string_format:"%.3f"} {Configuration::get('PS_WEIGHT_UNIT')}
{l s='Carrier:'} {if $carrier->name == '0'}{Configuration::get('PS_SHOP_NAME')}{else}{$carrier->name}{/if}
{if ($currentState->delivery || $order->delivery_number)}
{l s='Delivery slip #'}{Configuration::get('PS_DELIVERY_PREFIX', $id_lang)}{"%06d"|sprintf:$order->delivery_number}
{/if} {if $order->shipping_number} {l s='Tracking number:'} {$order->shipping_number} {if $carrier->url} {l s='Track the shipment'} {/if} {/if} {if $carrierModuleCall} {$carrierModuleCall} {/if} {if ($carrier->url && $order->hasBeenShipped())}
{/if}

{l s='Payment detail'}
  • {l s='Set the transaction id:'}
  • {if $paymentCCDetails} {if $paymentCCDetails['card_holder'] != ''}
  • {l s='Card Holder:'} {$paymentCCDetails['card_holder']}
  • {/if} {if $paymentCCDetails['card_number'] != ''}
  • {l s='Card Number:'} ****{$paymentCCDetails['card_number']|substr:-4}
  • {/if} {if $paymentCCDetails['card_brand'] != ''}
  • {l s='Card Brand:'} {$paymentCCDetails['card_brand']}
  • {/if} {if $paymentCCDetails['card_expiration'] != ''}
  • {l s='Card expiration:'} {$paymentCCDetails['card_expiration']}
  • {/if} {/if}

{l s='Order details'} {if (Shop::isFeatureActive())}
{Shop::getInstance($order->id_shop)->name}
{/if}
{l s='Cart #'}{"%06d"|sprintf:$cart->id}
{substr($order->payment, 0, 32)}{if $order->module} ({$order->module}){/if}
{if $order->total_discounts > 0} {/if} {if $order->total_wrapping > 0} {/if}
{l s='Products'} {displayPrice price=$order->getTotalProductsWithTaxes() currency=$currency->id}
{l s='Discounts'} -{displayPrice price=$order->total_discounts currency=$currency->id}
{l s='Wrapping'} {displayPrice price=$order->total_wrapping currency=$currency->id}
{l s='Shipping'} {displayPrice price=$order->total_shipping currency=$currency->id}
{l s='Total'} {displayPrice price=$order->total_paid currency=$currency->id} {if $order->total_paid != $order->total_paid_real}
{l s='Paid:'} {displayPrice price=$order->total_paid_real currency=$currency->id} {/if}
{l s='Recycled package:'} {if $order->recyclable} {else} {/if}
{l s='Gift wrapping:'} {if $order->gift}
{if $order->gift_message}
{l s='Message:'}
{$order->gift_message|nl2br}
{/if} {else} {/if}
 
 
{l s='Shipping address'}{l s='Shipping address'}
{displayAddressDetail address=$addresses.delivery newLine='
'} {if $addresses.delivery->other}
{$addresses.delivery->other}
{/if}
{l s='Invoice address'}{l s='Invoice address'}
{displayAddressDetail address=$addresses.invoice newLine='
'} {if $addresses.invoice->other}
{$addresses.invoice->other}
{/if}
 
{l s='Products'}{l s='Products'}
{if ($order->hasBeenPaid())}{/if} {if ($order->hasBeenDelivered())}{/if} {foreach from=$products item=product key=k} {* Include customized datas partial *} {include file='orders/_customized_data.tpl'} {* Include product line partial *} {include file='orders/_product_line.tpl'} {/foreach}
  {l s='Product'} {l s='UP'} * {l s='Qty'}{l s='Refunded'}{l s='Returned'}{l s='Stock'} {l s='Total'} * {l s='Products'} {if ($order->hasBeenDelivered())} {l s='Return'} {elseif ($order->hasBeenPaid())} {l s='Refund'} {else} {l s='Cancel'} {/if}
* {l s='According to the group of this customer, prices are printed:'} {if ($order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC)} {l s='tax excluded.'} {else} {l s='tax included.'} {/if} {if Configuration::get('PS_ORDER_RETURN')}

{l s='Merchandise returns are disabled'} {/if}
{if (sizeof($discounts))}
{foreach from=$discounts item=discount} {/foreach}
{l s='Discounts'}{l s='Discount name'} {l s='Value'}
{$discount['name']} {if $discount['value'] != 0.00} - {/if} {displayPrice price=$discount['value'] currency=$currency->id}
{/if}
 
{if ($order->hasBeenDelivered() && Configuration::get('PS_ORDER_RETURN'))}  
{/if} {if ((!$order->hasBeenDelivered() && $order->hasBeenPaid()) || ($order->hasBeenDelivered() && Configuration::get('PS_ORDER_RETURN')))}  
 
{/if} {if (!$order->hasBeenDelivered() || ($order->hasBeenDelivered() && Configuration::get('PS_ORDER_RETURN')))}
{/if}
 
{l s='New message'}


{l s='Display to consumer?'} {l s='Yes'} {l s='No'}





{if (sizeof($messages))}
{l s='Messages'} {foreach from=$messages item=message}
{if ($message['is_new_for_me'])} {/if} {l s='At'} {dateFormat date=$message['date_add']} {l s='from'} {if ($message['elastname'])}{$message['efirstname']} {$message['elastname']}{else}{$message['cfirstname']} {$message['clastname']}{/if} {if ($message['private'] == 1)}{l s='Private:'}{/if}

{$message['message']|nl2br}


{/foreach}

{l s='When you read a message, please click on the green check.'}

{/if}
{l s='Merchandise returns'}{l s='Merchandise returns'} {if (!sizeof($returns))} {l s='No merchandise return for this order.'} {else} {foreach from=$returns item=return} ({dateFormat date=$return['date_upd']}) : {l s='#'}{'%06d'|sprintf:$return['id_order_return']} - {$return['state_name']}
{/foreach} {/if}

{l s='Credit slip'}{l s='Credit slip'} {if (!sizeof($slips))} {l s='No slip for this order.'} {else} {foreach from=$slips item=slip} ({dateFormat date=$slip['date_upd']}) : {l s='#'}{'%06d'|sprintf:$slip['id_order_slip']}
{/foreach} {/if}
 


{l s='Back to list'}