[*] PDF : PDF is now rendered by TCPDF throught HTML template

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10231 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fBrignoli
2011-11-17 17:15:23 +00:00
parent ab22eaf449
commit e5f3c3ca2a
33 changed files with 1917 additions and 213 deletions
+6 -5
View File
@@ -1,5 +1,5 @@
{*
* 2007-2011 PrestaShop
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -24,7 +24,7 @@
* International Registered Trademark & Property of PrestaShop SA
*}
{include file="$tpl_dir./errors.tpl"}
{if isset($orderRe)}
{if isset($orderRet)}
<h4>{l s='RE#'}<span class="color-myaccount">{$orderRet->id|string_format:"%06d"}</span> {l s='on'} {dateFormat date=$order->date_add full=0}</h4>
<div>
<p class="bold">{l s='We have logged your return request.'}</p>
@@ -43,7 +43,7 @@
</thead>
<tbody>
{foreach from=$products item=product name=products}
{assign var='quantityDisplayed' value=0}
{foreach from=$returnedCustomizations item='customization' name=products}
{if $customization.product_id == $product.product_id}
@@ -78,7 +78,7 @@
{assign var='quantityDisplayed' value=$quantityDisplayed+$customization.product_quantity}
{/if}
{/foreach}
{if $product.product_quantity > $quantityDisplayed}
<tr class="{if $smarty.foreach.products.first}first_item{/if} {if $smarty.foreach.products.index % 2}alternate_item{else}item{/if}">
<td>{if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</td>
@@ -105,4 +105,5 @@
{elseif $orderRet->state == 1}
<p class="bold">{l s='You must wait for our confirmation before returning any merchandise.'}</p>
{/if}
{/if}
{/if}
+95
View File
@@ -0,0 +1,95 @@
<div style="font-size: 9pt; color: #444">
<table>
<tr><td>&nbsp;</td></tr>
</table>
<!-- ADDRESSES -->
<table style="width: 100%">
<tr>
<td style="width: 20%"></td>
<td style="width: 80%">
{if !empty($invoice_address)}
<table style="width: 100%">
<tr>
<td style="width: 50%">
<span style="font-weight: bold; font-size: 11pt; color: #9E9F9E">{ŀ s='Delivery Address' pdf='true'}</span><br />
{$delivery_address}
</td>
<td style="width: 50%">
<span style="font-weight: bold; font-size: 11pt; color: #9E9F9E">{l s='Billing Address' pdf='true'}</span><br />
{$invoice_address}
</td>
</tr>
</table>
{else}
<table style="width: 100%">
<tr>
<td style="width: 50%">
<span style="font-weight: bold; font-size: 11pt; color: #9E9F9E">{l s='Billing & Delivery Address' pdf='true'}</span><br />
{$delivery_address}
</td>
<td style="width: 50%">
</td>
</tr>
</table>
{/if}
</td>
</tr>
</table>
<!-- / ADDRESSES -->
<table>
<tr><td style="line-height: 8px">&nbsp;</td></tr>
</table>
<!-- PRODUCTS TAB -->
<table style="width: 100%">
<tr>
<td style="width: 20%; padding-right: 7px; text-align: right; vertical-align: top">
<!-- CUSTOMER INFORMATIONS -->
<b>{l s='Order Number:' pdf='true'}</b><br />
{'%06d'|sprintf:$order->id}<br />
<br />
<b>{l s='Order Date:' pdf='true'}</b><br />
{$order->date_add|date_format:"%d-%m-%Y %H:%M"}<br />
<br />
<b>{l s='Payment Method:' pdf='true'}</b><br />
{$order->payment}<br />
<br />
<!-- / CUSTOMER INFORMATIONS -->
</td>
<td style="width: 80%; text-align: right">
<table style="width: 100%">
<tr style="line-height:6px;">
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 10px; font-weight: bold; width: 60%">{l s='ITEMS MARKED AS RETURNED' pdf='true'}</td>
<td style="background-color: #4D4D4D; color: #FFF; text-align: left; font-weight: bold; width: 20%">{l s='REFERENCE' pdf='true'}</td>
<td style="background-color: #4D4D4D; color: #FFF; text-align: center; font-weight: bold; width: 20%">{l s='QTY' pdf='true'}</td>
</tr>
{foreach $order_details as $product}
{cycle values='#FFF,#DDD' assign=bgcolor}
<tr style="line-height:6px;background-color:{$bgcolor};">
<td style="text-align: left; width: 60%">{$product.product_name}</td>
<td style="text-align: left; width: 20%">
{if empty($product.product_reference)}
---
{else}
{$product.product_reference}
{/if}
</td>
<td style="text-align: center; width: 20%">{$product.product_quantity}</td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
<!-- / PRODUCTS TAB -->
<table>
<tr><td style="line-height: 8px">&nbsp;</td></tr>
</table>
</div>
+32
View File
@@ -0,0 +1,32 @@
<table>
<tr>
<td style="text-align: center; font-size: 6pt; color: #444">
{if $available_in_your_account}
{l s='An electronic version of this invoice is available in your account. To access it, log in to our website using your e-mail address and password (which you created when placing your first order).' pdf='true'}
<br />
{/if}
{$shop_address|escape:'htmlall':'UTF-8'}<br />
{if !empty($shop_phone) OR !empty($shop_fax)}
{l s='For more assistance, contact Support:' pdf='true'}<br />
{if !empty($shop_phone)}
Tel: {$shop_phone|escape:'htmlall':'UTF-8'}
{/if}
{if !empty($shop_fax)}
Fax: {$shop_fax|escape:'htmlall':'UTF-8'}
{/if}
<br />
{/if}
{if isset($shop_details)}
{$shop_details|escape:'htmlall':'UTF-8'}<br />
{/if}
{if isset($free_text)}
{$free_text|escape:'htmlall':'UTF-8'}<br />
{/if}
</td>
</tr>
</table>
+11
View File
@@ -0,0 +1,11 @@
<?php
global $_LANGPDF;
$_LANGPDF = array();
$_LANGPDF['PDF_invoice6c2fbe34c186a6b5725d212ad8cd2432'] = 'Facture';
$_LANGPDF['PDF_invoice2f2f0f119a907c6c67a3c6fcde0193ab'] = 'Adresse de livraison';
$_LANGPDF['PDF_invoice28a59051cd90053f87bacd5f1ffbc0b8'] = 'Adresse de facturation';
$_LANGPDF['PDF_invoicee2f324b87eac820c81e4d4a1105dcddf'] = 'Adresses de livraison et facturation';
$_LANGPDF['PDF_invoice5082245495aa792b3d0874088d2b111b'] = 'Total Produit';
?>
+23
View File
@@ -0,0 +1,23 @@
<table style="width: 100%">
<tr>
<td style="width: 50%">
{if $logo_path}
<img src="{$logo_path}" />
{/if}
</td>
<td style="width: 50%; text-align: right;">
<table style="width: 100%">
<tr>
<td style="font-weight: bold; font-size: 14pt; color: #444; width: 100%">{$shop_name|escape:'htmlall':'UTF-8'}</td>
</tr>
<tr>
<td style="font-size: 11pt; color: #9E9F9E">{$date|escape:'htmlall':'UTF-8'}</td>
</tr>
<tr>
<td style="font-size: 11pt; color: #9E9F9E">{$title|escape:'htmlall':'UTF-8'}</td>
</tr>
</table>
</td>
</tr>
</table>
+46
View File
@@ -0,0 +1,46 @@
<!-- TAX DETAILS -->
<table style="width: 100%">
<tr>
<td style="width: 20%"></td>
<td style="width: 80%">
{if $tax_exempt}
{l s='Exempt of VAT according section 259B of the General Tax Code.' pdf='true'}
{else if (count($shipping_tax_breakdown) + count($product_tax_breakdown) == 0)}
{l s='No tax' pdf='true'}
{else}
<table style="width: 70%" >
<tr style="line-height:5px;">
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 10px; font-weight: bold; width: 30%">{l s='Tax Detail' pdf='true'}</td>
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 10px; font-weight: bold; width: 20%">{l s='Tax Rate' pdf='true'}</td>
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 10px; font-weight: bold; width: 20%">{l s='Total Tax Excl' pdf='true'}</td>
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 10px; font-weight: bold; width: 20%">{l s='Total Tax' pdf='true'}</td>
</tr>
{foreach $product_tax_breakdown as $rate => $product_tax_infos}
<tr style="line-height:6px;background-color:{cycle values='#FFF,#DDD'};">
<td style="width: 30%">{l s='Products' pdf='true'}</td>
<td style="width: 20%">{$rate}</td>
<td style="width: 20%">
{if !$use_one_after_another_method}
{displayPrice currency=$order->id_currency price=$product_tax_infos.total_price_tax_excl}
{/if}
</td>
<td style="width: 20%; text-align: right;">{displayPrice currency=$order->id_currency price=$product_tax_infos.total_amount}</td>
</tr>
{/foreach}
{foreach $shipping_tax_breakdown as $shipping_tax_infos}
<tr style="line-height:6px;background-color:{cycle values='#FFF,#DDD'};">
<td style="width: 30%">{l s='Shipping' pdf='true'}</td>
<td style="width: 20%">{$shipping_tax_infos.rate}</td>
<td style="width: 20%">{displayPrice currency=$order->id_currency price=$order->total_shipping_tax_excl}</td>
<td style="width: 20%; text-align: right;">{displayPrice currency=$order->id_currency price=$shipping_tax_infos.total_amount}</td>
</tr>
{/foreach}
</table>
{/if}
</td>
</tr>
</table>
<!-- / TAX DETAILS -->
+206
View File
@@ -0,0 +1,206 @@
<div style="font-size: 8pt; color: #444">
<table>
<tr><td>&nbsp;</td></tr>
</table>
<!-- ADDRESSES -->
<table style="width: 100%">
<tr>
<td style="width: 15%"></td>
<td style="width: 85%">
{if !empty($delivery_address)}
<table style="width: 100%">
<tr>
<td style="width: 50%">
<span style="font-weight: bold; font-size: 10pt; color: #9E9F9E">{l s='Delivery Address' pdf='true'}</span><br />
{$delivery_address}
</td>
<td style="width: 50%">
<span style="font-weight: bold; font-size: 10pt; color: #9E9F9E">{l s='Billing Address' pdf='true'}</span><br />
{$invoice_address}
</td>
</tr>
</table>
{else}
<table style="width: 100%">
<tr>
<td style="width: 50%">
<span style="font-weight: bold; font-size: 10pt; color: #9E9F9E">{l s='Billing & Delivery Address.' pdf='true'}</span><br />
{$invoice_address}
</td>
<td style="width: 50%">
</td>
</tr>
</table>
{/if}
</td>
</tr>
</table>
<!-- / ADDRESSES -->
<div style="line-height: 1pt">&nbsp;</div>
<!-- PRODUCTS TAB -->
<table style="width: 100%">
<tr>
<td style="width: 15%; padding-right: 7px; text-align: right; vertical-align: top; font-size: 7pt;">
<!-- CUSTOMER INFORMATIONS -->
<b>{l s='Order Number:' pdf='true'}</b><br />
{'%06d'|sprintf:$order->id}<br />
<br />
<b>{l s='Order Date:' pdf='true'}</b><br />
{$order->date_add|date_format:"%d-%m-%Y %H:%M"}<br />
<br />
<b>{l s='Payment Method:' pdf='true'}</b><br />
{$order->payment}<br />
<br />
<!-- / CUSTOMER INFORMATIONS -->
</td>
<td style="width: 85%; text-align: right">
<table style="width: 100%; font-size: 8pt;">
<tr style="line-height:4px;">
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 10px; font-weight: bold; width: 45%">{l s='Product / Reference' pdf='true'}</td>
<!-- unit price tax excluded is mandatory -->
{if !$tax_excluded_display}
<td style="background-color: #4D4D4D; color: #FFF; text-align: right; font-weight: bold;; width: 10%">{l s='Unit Price' pdf='true'} <br />{l s='(Tax Excl.)' pdf='true'}</td>
{/if}
<td style="background-color: #4D4D4D; color: #FFF; text-align: right; font-weight: bold;; width: 10%">{l s='Unit Price' pdf='true'}</td>
<td style="background-color: #4D4D4D; color: #FFF; text-align: right; font-weight: bold;; width: 10%">{l s='Discount' pdf='true'}</td>
<td style="background-color: #4D4D4D; color: #FFF; text-align: center; font-weight: bold; width: 10%">{l s='Qty' pdf='true'}</td>
<td style="background-color: #4D4D4D; color: #FFF; text-align: right; font-weight: bold;; width: 15%">{l s='Total' pdf='true'}</td>
</tr>
{foreach $order_details as $order_detail}
{cycle values='#FFF,#DDD' assign=bgcolor}
<tr style="line-height:6px;background-color:{$bgcolor};">
<td style="text-align: left; width: 45%">{$order_detail.product_name}</td>
<!-- unit price tax excluded is mandatory -->
{if !$tax_excluded_display}
<td style="text-align: right; width: 10%">
{displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl}
</td>
{/if}
<td style="text-align: right; width: 10%">
{if $tax_excluded_display}
{displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl}
{else}
{displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_incl}
{/if}
</td>
<td style="text-align: right; width: 10%">
{if (isset($order_detail.reduction_amount) && $order_detail.reduction_amount > 0)}
-{displayPrice currency=$order->id_currency price=$order_detail.reduction_amount}
{else if (isset($order_detail.reduction_percent) && $order_detail.reduction_percent > 0)}
-{$order_detail.reduction_percent}%
{else}
--
{/if}
</td>
<td style="text-align: center; width: 10%">{$order_detail.product_quantity}</td>
<td style="width: 15%; text-align: right; width: 15%">
{if $tax_excluded_display}
{displayPrice currency=$order->id_currency price=$order_detail.total_price_tax_excl}
{else}
{displayPrice currency=$order->id_currency price=$order_detail.total_price_tax_incl}
{/if}
</td>
</tr>
{foreach $order_detail.customizedDatas as $customization}
<tr style="line-height:6px;background-color:{$bgcolor}; ">
<td style="line-height:3px; text-align: left; width: 60%; vertical-align: top">
{foreach $customization.datas as $customization_types}
<blockquote>
{foreach $customization_types as $customization_infos name=custo_foreach}
{$customization_infos.name}: {$customization_infos.value}
{if !$smarty.foreach.custo_foreach.last}<br />
{else}
<div style="line-height:0.4pt">&nbsp;</div>
{/if}
{/foreach}
</blockquote>
{/foreach}
</td>
<td style="text-align: right; width: 15%"></td>
<td style="text-align: center; width: 10%; vertical-align: top">({$customization.quantity})</td>
<td style="width: 15%; text-align: right;"></td>
</tr>
{/foreach}
{/foreach}
</table>
<table style="width: 100%">
{if (($order->total_paid_tax_incl - $order->total_paid_tax_excl) > 0)}
<tr style="line-height:5px;">
<td style="width: 85%; text-align: right; font-weight: bold">{l s='Product Total (Tax Excl.)' pdf='true'}</td>
<td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=$order->total_products}</td>
</tr>
<tr style="line-height:5px;">
<td style="width: 85%; text-align: right; font-weight: bold">{l s='Product Total (Tax Incl.)' pdf='true'}</td>
<td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=$order->total_products_wt}</td>
</tr>
{else}
<tr style="line-height:5px;">
<td style="width: 85%; text-align: right; font-weight: bold">{l s='Product Total' pdf='true'}</td>
<td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=$order->total_products}</td>
</tr>
{/if}
{if $order->total_discounts_tax_incl > 0}
<tr style="line-height:5px;">
<td style="text-align: right; font-weight: bold">{l s='Total Vouchers' pdf='true'}</td>
<td style="width: 15%; text-align: right;">-{displayPrice currency=$order->id_currency price=$order->total_discounts_tax_incl}</td>
</tr>
{/if}
{if $order->total_wrapping_tax_incl > 0}
<tr style="line-height:5px;">
<td style="text-align: right; font-weight: bold">{l s='Wrapping Cost' pdf='true'}</td>
<td style="width: 15%; text-align: right;">
{if $tax_excluded_display}
{displayPrice currency=$order->id_currency price=$order->total_wrapping_tax_excl}
{else}
{displayPrice currency=$order->id_currency price=$order->total_wrapping_tax_incl}
{/if}
</td>
</tr>
{/if}
{if $order->total_shipping_tax_incl > 0}
<tr style="line-height:5px;">
<td style="text-align: right; font-weight: bold">{l s='Shipping Cost' pdf='true'}</td>
<td style="width: 15%; text-align: right;">
{if $tax_excluded_display}
{displayPrice currency=$order->id_currency price=$order->total_shipping_tax_excl}
{else}
{displayPrice currency=$order->id_currency price=$order->total_shipping_tax_incl}
{/if}
</td>
</tr>
{/if}
{if ($order->total_paid_tax_incl - $order->total_paid_tax_excl) > 0}
<tr style="line-height:5px;">
<td style="text-align: right; font-weight: bold">{l s='Total Tax' pdf='true'}</td>
<td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=($order->total_paid_tax_incl - $order->total_paid_tax_excl)}</td>
</tr>
{/if}
<tr style="line-height:5px;">
<td style="text-align: right; font-weight: bold">{l s='Total' pdf='true'}</td>
<td style="width: 15%; text-align: right;">{displayPrice currency=$order->id_currency price=$order->total_paid_tax_incl}</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- / PRODUCTS TAB -->
<div style="line-height: 1pt">&nbsp;</div>
{$tax_tab}
</div>
+38
View File
@@ -0,0 +1,38 @@
<?php
global $_LANGPDF;
$_LANGPDF = array();
$_LANGPDF['PDF6c2fbe34c186a6b5725d212ad8cd2432'] = 'Facture';
$_LANGPDF['PDF28a59051cd90053f87bacd5f1ffbc0b8'] = 'Adresse de Paiement';
$_LANGPDF['PDFe2f324b87eac820c81e4d4a1105dcddf'] = 'Adresse de Paiement & Livraison';
$_LANGPDF['PDFd8b2145d049378e78bd41e65b31213f0'] = 'Num. commande :';
$_LANGPDF['PDF8a5a12ba783d8cbb761974430d0a4d6a'] = 'Date commande :';
$_LANGPDF['PDFd36a6948b01d3a75ed99858e2bfea939'] = 'Méthode de paiement :';
$_LANGPDF['PDF24488494b2a9126a5ef1dfdaea5913da'] = 'Produits à retourner';
$_LANGPDF['PDFdcd320d017d7f3c317bc8b234287bc9f'] = 'Réference';
$_LANGPDF['PDFe36ba4b339b83cbb3c807bd0eb5610bc'] = 'Qté';
$_LANGPDF['PDFff5db4935fb0fbf583796b50f05e25bc'] = 'Une version electronique de ce document est disponible dans votre compte. Pour y accèder connectez vous sur notre site internet en utilisant votre adresse email et mot de passe (Crée lors de votre première commande). ';
$_LANGPDF['PDF59aac4eb50a8249cbc9c12240c6a0a14'] = 'Pour plus d\'informations contactez notre Support:';
$_LANGPDF['PDF6f3455d187a23443796efdcbe044096b'] = 'Pas de taxe';
$_LANGPDF['PDF023f66b09075fa1cc29e74bed9f5ac40'] = 'Détail des taxes';
$_LANGPDF['PDF8fe77c2601e54f1aaef28cfde997bbad'] = 'Taux';
$_LANGPDF['PDF22caf639b05c0fa192e81d58c553c89a'] = 'Total HT';
$_LANGPDF['PDFb602e0d0c6a72053d0a5be60cb2f8126'] = 'Total Taxes';
$_LANGPDF['PDF068f80c7519d0528fb08e82137a72131'] = 'Produits';
$_LANGPDF['PDFea9cf7e47ff33b2be14e6dd07cbcefc6'] = 'Transport';
$_LANGPDF['PDF2f2f0f119a907c6c67a3c6fcde0193ab'] = 'Addresse de Livraison';
$_LANGPDF['PDF2b56b5ec383be252fe778c4c6066b2fb'] = 'Adresse de Paiement & Livraison';
$_LANGPDF['PDF1a22913fb1b16ada25c2637af9d44013'] = 'Produit / Référence';
$_LANGPDF['PDF197101c4a1b1fc503dcd6ebee127aa10'] = 'Prix Unitaire';
$_LANGPDF['PDF078ac079d154d21533c57bced9fcb10f'] = '(HT)';
$_LANGPDF['PDF104d9898c04874d0fbac36e125fa1369'] = 'Réduction';
$_LANGPDF['PDF03ab340b3f99e03cff9e84314ead38c0'] = 'Qté';
$_LANGPDF['PDF96b0141273eabab320119c467cdcaf17'] = 'Total';
$_LANGPDF['PDF7926243ab60a08b15932021bf108c578'] = 'Total Produits HT';
$_LANGPDF['PDF984a93f9899bf0b0a250ba66f022c630'] = 'Total Produits TTC';
$_LANGPDF['PDF5082245495aa792b3d0874088d2b111b'] = 'Total Produits';
$_LANGPDF['PDF3796bba38e4bc7dbc3ec97d73be42328'] = '\r\n ';
$_LANGPDF['PDF67606e3dd25c5effeb991c704b96d19c'] = '\r\n ';
$_LANGPDF['submitTranslationsPdf'] = 'Update translations';
?>
+129
View File
@@ -0,0 +1,129 @@
<div style="font-size: 9pt; color: #444">
<table>
<tr><td>&nbsp;</td></tr>
</table>
<!-- ADDRESSES -->
<table style="width: 100%">
<tr>
<td style="width: 20%"></td>
<td style="width: 80%">
{if !empty($invoice_address)}
<table style="width: 100%">
<tr>
<td style="width: 50%">
<span style="font-weight: bold; font-size: 11pt; color: #9E9F9E">{l s='Delivery Address' pdf='true'}</span><br />
{$delivery_address}
</td>
<td style="width: 50%">
<span style="font-weight: bold; font-size: 11pt; color: #9E9F9E">{l s='Billing Address' pdf='true'}</span><br />
{$invoice_address}
</td>
</tr>
</table>
{else}
<table style="width: 100%">
<tr>
<td style="width: 50%">
<span style="font-weight: bold; font-size: 11pt; color: #9E9F9E">{l s='Billing & Delivery Address' pdf='true'}</span><br />
{$delivery_address}
</td>
<td style="width: 50%">
</td>
</tr>
</table>
{/if}
</td>
</tr>
</table>
<!-- / ADDRESSES -->
<table>
<tr><td style="line-height: 8px">&nbsp;</td></tr>
</table>
<table style="width: 100%">
<tr>
<td style="width: 20%; padding-right: 7px; text-align: right; vertical-align: top">
</td>
<td style="width: 80%; padding-right: 7px; text-align: left; vertical-align: top">
{l s='We have logged your return request.' pdf='true'}<br />
{l s='Your package must be returned to us within' pdf='true'} {$return_nb_days} {l s='days of receiving your order.' pdf='true'}<br />
</td>
</tr>
</table>
<!-- PRODUCTS TAB -->
<table style="width: 100%">
<tr>
<td style="width: 20%; padding-right: 7px; text-align: right; vertical-align: top">
<!-- CUSTOMER INFORMATIONS -->
<b>{l s='Return Number:' pdf='true'}</b><br />
{'%06d'|sprintf:$order_return->id}<br />
<br />
<b>{l s='Date:' pdf='true'}</b><br />
{$order_return->date_add|date_format:"%d-%m-%Y %H:%M"}<br />
<br />
<!-- / CUSTOMER INFORMATIONS -->
</td>
<td style="width: 80%; text-align: right">
<table style="width: 100%">
<tr style="line-height:6px;">
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 10px; font-weight: bold; width: 60%">{l s='ITEMS MARKED AS RETURNED' pdf='true'}</td>
<td style="background-color: #4D4D4D; color: #FFF; text-align: left; font-weight: bold; width: 20%">{l s='REFERENCE' pdf='true'}</td>
<td style="background-color: #4D4D4D; color: #FFF; text-align: center; font-weight: bold; width: 20%">{l s='QTY' pdf='true'}</td>
</tr>
{foreach $products as $product}
{cycle values='#FFF,#DDD' assign=bgcolor}
<tr style="line-height:6px;background-color:{$bgcolor};">
<td style="text-align: left; width: 60%">{$product.product_name}</td>
<td style="text-align: left; width: 20%">
{if empty($product.product_reference)}
---
{else}
{$product.product_reference}
{/if}
</td>
<td style="text-align: center; width: 20%">{$product.product_quantity}</td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
<table style="width: 100%">
<tr>
<td style="width: 20%; padding-right: 7px; text-align: right; vertical-align: top">
</td>
<td style="width: 80%; padding-right: 7px; text-align: left; vertical-align: top">
<table style="background-color:#DDD; line-height: 4px; padding: 7px;">
<tr>
<td style="font-weight: bold">{l s='If the following conditions are not respected we reserve the rights to refuse your package and/or reimbursement:' pdf='true'}</td>
</tr>
<tr>
<td>
<ul>
<li>{l s='Please include this number return reference on your return package:' pdf='true'} {$order_return->id}</li>
<li>{l s='All products must be returned in their original package without damage or wear.' pdf='true'}</li>
<li>{l s='Please print out this document and slip it into your package.' pdf='true'}</li>
<li>{l s='The package should be sent to the following address:' pdf='true'}</li>
</ul>
{$shop_address}
</td>
</tr>
</table>
<br />
{l s='Upon receiving your package, we will notify you by e-mail. We will then begin processing the reimbursement of your order total.
Let us know if you have any questions' pdf='true'}
</td>
</tr>
</table>
</div>