[+] Project : default theme added
This commit is contained in:
Executable
+95
@@ -0,0 +1,95 @@
|
||||
<div style="font-size: 9pt; color: #444">
|
||||
|
||||
<table>
|
||||
<tr><td> </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"> </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"> </td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
Executable
+32
@@ -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>
|
||||
|
||||
@@ -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';
|
||||
|
||||
?>
|
||||
Executable
+23
@@ -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>
|
||||
|
||||
Executable
+46
@@ -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_invoice->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 -->
|
||||
|
||||
Executable
+206
@@ -0,0 +1,206 @@
|
||||
<div style="font-size: 8pt; color: #444">
|
||||
|
||||
<table>
|
||||
<tr><td> </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"> </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"> </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_invoice->total_paid_tax_incl - $order_invoice->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_invoice->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_invoice->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_invoice->total_products}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{if $order_invoice->total_discount_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_invoice->total_discount_tax_incl}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{if $order_invoice->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_invoice->total_wrapping_tax_excl}
|
||||
{else}
|
||||
{displayPrice currency=$order->id_currency price=$order_invoice->total_wrapping_tax_incl}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{if $order_invoice->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_invoice->total_shipping_tax_excl}
|
||||
{else}
|
||||
{displayPrice currency=$order->id_currency price=$order_invoice->total_shipping_tax_incl}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
{if ($order_invoice->total_paid_tax_incl - $order_invoice->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_invoice->total_paid_tax_incl - $order_invoice->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_invoice->total_paid_tax_incl}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- / PRODUCTS TAB -->
|
||||
|
||||
<div style="line-height: 1pt"> </div>
|
||||
|
||||
{$tax_tab}
|
||||
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
global $_LANGPDF;
|
||||
$_LANGPDF = array();
|
||||
$_LANGPDF['PDF6c2fbe34c186a6b5725d212ad8cd2432'] = 'Facture';
|
||||
$_LANGPDF['PDFf771e4a4df40bf061607fdb8e3f140dc'] = 'Bon de commande';
|
||||
$_LANGPDF['PDF1755ce0e3fd8c2d1a1ca1bbf34048b59'] = 'BonDeCommande';
|
||||
$_LANGPDF['PDF3a80d6ec5285dd5d3930db30d04e2b9e'] = 'HR : hors remise';
|
||||
$_LANGPDF['PDFa58b1c9575ab07c5be819243c96d9c0e'] = 'RC : remise comprise';
|
||||
$_LANGPDF['PDF2f2f0f119a907c6c67a3c6fcde0193ab'] = 'Addresse de Livraison';
|
||||
$_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['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['PDF0d8d58008ef5dd7afce337373ef73993'] = 'Date :';
|
||||
$_LANGPDF['PDF3796bba38e4bc7dbc3ec97d73be42328'] = 'rn ';
|
||||
$_LANGPDF['PDF67606e3dd25c5effeb991c704b96d19c'] = 'rn ';
|
||||
$_LANGPDF['PDF66f6e4bbd0a0af1af6b54763871dd280'] = 'Produits commandés :';
|
||||
$_LANGPDF['PDF63d5049791d9d79d86e9a108b0a999ca'] = 'Référence';
|
||||
$_LANGPDF['PDFf107f5a9ee4ecea58d0f29ae7959baa8'] = 'Nom';
|
||||
$_LANGPDF['PDFc8ba77264f6e923f5ee35abf3108ae7c'] = 'P.U HT';
|
||||
$_LANGPDF['PDF9b8362e5321f70746e9cb8f615c28d05'] = 'Prix HT (HR)';
|
||||
$_LANGPDF['PDF6703aa9936582b4381418f7d523370b4'] = 'Taux de remise';
|
||||
$_LANGPDF['PDFa86dc2fff006afd2deb243d7e26b30e7'] = 'Prix HT (RC)';
|
||||
$_LANGPDF['PDF20a34c4e30c5bbe1d3f870ac55f0d831'] = 'Taux TVA';
|
||||
$_LANGPDF['PDFfa2ce544158555e8f06c69dd9e681832'] = 'Prix TTC';
|
||||
$_LANGPDF['PDF716be2c7de31f063369ca297a9928403'] = 'Taxes :';
|
||||
$_LANGPDF['PDFf4a232c48df10124ee867767a4e7280e'] = 'Base HT';
|
||||
$_LANGPDF['PDF01a2436b8e3782c1f99e6b26adf901b2'] = 'Montant TVA';
|
||||
$_LANGPDF['PDF290612199861c31d1036b185b4e69b75'] = 'Résumé';
|
||||
$_LANGPDF['PDF6b9e9f2472786ed1e76005bfc37bc8af'] = 'Remise globale';
|
||||
$_LANGPDF['PDF699e6bd4690ed3bd5f658052e12aba04'] = 'Montant TVA';
|
||||
$_LANGPDF['PDF448634536559b1f8aaa975e0aa12b930'] = 'NET A PAYER';
|
||||
$_LANGPDF['submitTranslationsPdf'] = 'Enregistrer les modifications';
|
||||
|
||||
?>
|
||||
Executable
+129
@@ -0,0 +1,129 @@
|
||||
<div style="font-size: 9pt; color: #444">
|
||||
|
||||
<table>
|
||||
<tr><td> </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"> </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>
|
||||
|
||||
Executable
+206
@@ -0,0 +1,206 @@
|
||||
<div style="font-size: 8pt; color: #444">
|
||||
|
||||
<table>
|
||||
<tr><td> </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"> </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"> </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"> </div>
|
||||
|
||||
{$tax_tab}
|
||||
|
||||
</div>
|
||||
|
||||
Executable
+53
@@ -0,0 +1,53 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision$
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center; font-size: 6pt; color: #444">
|
||||
{$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>
|
||||
|
||||
@@ -0,0 +1,158 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 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/osl-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 <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision$
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<div style="font-size: 9pt; color: #444">
|
||||
|
||||
<!-- SHOP ADDRESS -->
|
||||
<div>
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<td style="font-size: 13pt; font-weight: bold">{$shop_name}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 13pt; font-weight: bold">{$address_warehouse->address1}</td>
|
||||
</tr>
|
||||
{* if the address has two parts *}
|
||||
{if !empty($address_warehouse->address2)}
|
||||
<tr>
|
||||
<td style="font-size: 13pt; font-weight: bold">{$address_warehouse->address2}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td style="font-size: 13pt; font-weight: bold">{$address_warehouse->postcode} {$address_warehouse->city}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- / SHOP ADDRESS -->
|
||||
|
||||
<!-- SUPPLIER ADDRESS -->
|
||||
<div style="text-align: right;">
|
||||
<table style="width: 70%">
|
||||
<tr>
|
||||
<td style="font-size: 13pt; font-weight: bold">{$supply_order->supplier_name}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- / SUPPLIER ADDRESS -->
|
||||
|
||||
<table>
|
||||
<tr><td style="line-height: 8px"> </td></tr>
|
||||
</table>
|
||||
|
||||
{l s='Products ordered:' pdf='true'}
|
||||
<!-- PRODUCTS -->
|
||||
<div style="font-size: 6pt;">
|
||||
<table style="width: 100%;">
|
||||
<tr style="line-height:6px; border: none">
|
||||
<td style="width: 9%; text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Reference' pdf='true'}</td>
|
||||
<td style="width: 31%; text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Designation' pdf='true'}</td>
|
||||
<td style="width: 4%; text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Qty' pdf='true'}</td>
|
||||
<td style="width: 9%; text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Unit Price TE' pdf='true'}</td>
|
||||
<td style="width: 11%; text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Total TE (DE)' pdf='true'}</td>
|
||||
<td style="width: 10%; text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Discount Rate' pdf='true'}</td>
|
||||
<td style="width: 10%; text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Total TE (DI)' pdf='true'}</td>
|
||||
<td style="width: 7%; text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Tax rate' pdf='true'}</td>
|
||||
<td style="width: 9%; text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Total TI' pdf='true'}</td>
|
||||
</tr>
|
||||
{* for each product ordered *}
|
||||
{foreach $supply_order_details as $supply_order_detail}
|
||||
<tr>
|
||||
<td>{$supply_order_detail->supplier_reference}</td>
|
||||
<td>{$supply_order_detail->name}</td>
|
||||
<td>{$supply_order_detail->quantity_expected}</td>
|
||||
<td>{$currency->prefix} {$supply_order_detail->unit_price_te} {$currency->suffix}</td>
|
||||
<td>{$currency->prefix} {$supply_order_detail->price_te} {$currency->suffix}</td>
|
||||
<td>{$supply_order_detail->discount_rate}</td>
|
||||
<td>{$currency->prefix} {$supply_order_detail->price_with_discount_te} {$currency->suffix}</td>
|
||||
<td>{$supply_order_detail->tax_rate}</td>
|
||||
<td>{$currency->prefix} {$supply_order_detail->price_ti} {$currency->suffix}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
<!-- / PRODUCTS -->
|
||||
|
||||
<table>
|
||||
<tr><td style="line-height: 8px"> </td></tr>
|
||||
</table>
|
||||
|
||||
{l s='Taxes:' pdf='true'}
|
||||
<!-- PRODUCTS TAXES -->
|
||||
<div style="font-size: 6pt;">
|
||||
<table style="width: 30%;">
|
||||
<tr style="line-height:6px; border: none">
|
||||
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Base TE' pdf='true'}</td>
|
||||
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Tax Rate' pdf='true'}</td>
|
||||
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Tax Value' pdf='true'}</td>
|
||||
</tr>
|
||||
{foreach $tax_order_summary as $entry}
|
||||
<tr style="line-height:6px; border: none">
|
||||
<td>{$currency->prefix} {$entry['base_te']} {$currency->suffix}</td>
|
||||
<td>{$entry['tax_rate']}</td>
|
||||
<td>{$currency->prefix} {$entry['total_tax_value']} {$currency->suffix}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
<!-- / PRODUCTS TAXES -->
|
||||
|
||||
<table>
|
||||
<tr><td style="line-height: 8px"> </td></tr>
|
||||
</table>
|
||||
|
||||
{l s='Summary' pdf='true'}
|
||||
<!-- TOTAL -->
|
||||
<div style="font-size: 6pt;">
|
||||
<table style="width: 30%;">
|
||||
<tr style="line-height:6px; border: none">
|
||||
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Total TE (DE)'}</td>
|
||||
<td>{$currency->prefix} {$supply_order->total_te} {$currency->suffix}</td>
|
||||
</tr>
|
||||
<tr style="line-height:6px; border: none">
|
||||
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Order Discount'}</td>
|
||||
<td>{$currency->prefix} {$supply_order->discount_value_te} {$currency->suffix}</td>
|
||||
</tr>
|
||||
<tr style="line-height:6px; border: none">
|
||||
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Total TE (DI)'}</td>
|
||||
<td>{$currency->prefix} {$supply_order->total_with_discount_te} {$currency->suffix}</td>
|
||||
</tr>
|
||||
<tr style="line-height:6px; border: none">
|
||||
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Tax value'}</td>
|
||||
<td>{$currency->prefix} {$supply_order->total_tax} {$currency->suffix}</td>
|
||||
</tr>
|
||||
<tr style="line-height:6px; border: none">
|
||||
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='Total TI'}</td>
|
||||
<td>{$currency->prefix} {$supply_order->total_ti} {$currency->suffix}</td>
|
||||
</tr>
|
||||
<tr style="line-height:6px; border: none">
|
||||
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 5px; font-weight: bold;">{l s='TOTAL TO PAY'}</td>
|
||||
<td>{$currency->prefix} {$supply_order->total_ti} {$currency->suffix}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- / TOTAL -->
|
||||
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user