Merge branch 'pdf'

This commit is contained in:
Manuel Raynaud
2014-04-22 12:35:44 +02:00
4 changed files with 331 additions and 377 deletions

View File

@@ -1,13 +1,18 @@
<?php <?php
return array( return array(
'Custmer Number' => 'Custmer Number',
'DELIVERY' => 'DELIVERY',
'Delivery module' => 'Delivery module', 'Delivery module' => 'Delivery module',
'Page' => 'Page', 'INVOICE' => 'INVOICE',
'Invoice REF' => 'Invoice REF',
'Invoice date' => 'Invoice date',
'Payment module' => 'Payment module', 'Payment module' => 'Payment module',
'Postage' => 'Postage', 'Postage' => 'Postage',
'Product' => 'Product', 'Product' => 'Product',
'Quantity' => 'Quantity', 'Quantity' => 'Quantity',
'Ref' => 'Ref', 'Ref' => 'Ref',
'THANK YOU' => 'THANK YOU',
'Tax' => 'Tax', 'Tax' => 'Tax',
'Taxed total' => 'Taxed total', 'Taxed total' => 'Taxed total',
'Total' => 'Total', 'Total' => 'Total',
@@ -15,13 +20,9 @@ return array(
'Total without tax' => 'Total without tax', 'Total without tax' => 'Total without tax',
'Unit taxed price' => 'Unit taxed price', 'Unit taxed price' => 'Unit taxed price',
'Unit. price' => 'Unit. price', 'Unit. price' => 'Unit. price',
'customer number' => 'customer number', 'delivery adress' => 'Delivery Adress',
'delivery address' => 'delivery address',
'delivery module' => 'delivery module', 'delivery module' => 'delivery module',
'invoice' => 'invoice',
'invoice address' => 'invoice address', 'invoice address' => 'invoice address',
'invoice date' => 'invoice date',
'invoice ref' => 'invoice ref',
'page' => 'page', 'page' => 'page',
'product' => 'product', 'product' => 'product',
); );

View File

@@ -1,13 +1,18 @@
<?php <?php
return array( return array(
'Custmer Number' => 'Numéro client',
'DELIVERY' => 'LIVRAISON',
'Delivery module' => 'Module de livraison', 'Delivery module' => 'Module de livraison',
'Page' => 'Page', 'INVOICE' => 'FACTURE',
'Invoice REF' => 'Ref de facture',
'Invoice date' => 'Date de facturation',
'Payment module' => 'Module de paiement', 'Payment module' => 'Module de paiement',
'Postage' => 'Frais de livraison', 'Postage' => 'Frais de livraison',
'Product' => 'Produit', 'Product' => 'Produit',
'Quantity' => 'Quantité', 'Quantity' => 'Quantité',
'Ref' => 'Ref', 'Ref' => 'Ref',
'THANK YOU' => 'MERCI',
'Tax' => 'Taxes', 'Tax' => 'Taxes',
'Taxed total' => 'Montant total des taxes', 'Taxed total' => 'Montant total des taxes',
'Total' => 'Total', 'Total' => 'Total',
@@ -15,13 +20,9 @@ return array(
'Total without tax' => 'Total HT', 'Total without tax' => 'Total HT',
'Unit taxed price' => 'Prix unitaire TTC', 'Unit taxed price' => 'Prix unitaire TTC',
'Unit. price' => 'Prix unitaire', 'Unit. price' => 'Prix unitaire',
'customer number' => 'Numéro client', 'delivery adress' => 'adresse de livraison',
'delivery address' => 'Adresse de livraison',
'delivery module' => 'Mode de livraison', 'delivery module' => 'Mode de livraison',
'invoice' => 'Facture',
'invoice address' => 'Adresse de facturation', 'invoice address' => 'Adresse de facturation',
'invoice date' => 'Date de la facture',
'invoice ref' => 'Référence de la facture',
'page' => 'page', 'page' => 'page',
'product' => 'Produit', 'product' => 'Produit',
); );

View File

@@ -11,49 +11,73 @@
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *} {* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
{default_translation_domain domain='pdf.default'} {default_translation_domain domain='pdf.default'}
{literal}
<style>
h1, h2, h3, h4 {
color:#f6993c;
}
<!-- h1 {
THELIA - Delivery template font-size: 60px;
For more information about formatting, please see html2pdf documentation: http://html2pdf.fr/ }
-->
h3 {
font-size: 14px;
}
p {
font-size: 9px;
}
p, td {
color:#58585a;
}
li {
list-style: none;
}
footer p{
color: #bcbdc0;
}
<style type="text/css">
<!-- <!--
table { table {
border-collapse: collapse; border-collapse: collapse;
width: 100%; width: 100%;
} }
td,th { tr {
padding: 1.5mm; width: 100%;
border: 0.2mm solid #333; }
.clear {
padding: 0.5%;
border-bottom:solid 1px #dddddd;
} }
th { .clear-none {
background-color: #D83C46; padding: 0.5%;
color: #fff;
text-align: center;
font-weight: normal;
} }
td.total {
background-color: #ccc;
font-weight: bold;
}
-->
</style> </style>
{/literal}
<page backtop="10mm" backleft="10mm" backright="10mm" backbottom="10mm"> <page backtop="10mm" backleft="10mm" backright="10mm" backbottom="10mm">
<page_header> <page_header>
</page_header> </page_header>
<page_footer> <page_footer>
<table> <table>
<col style="width: 80%; padding: 3mm; border: none; text-align: center;" /> <col style="width: 80%; padding: 3mm; border: none; text-align: left;" />
<col style="width: 20%; padding: 3mm; border: none; text-align: right;" /> <col style="width: 20%; padding: 3mm; border: none; text-align: right;" />
<tbody> <tbody>
<tr>
<td>
<h1 style="color:#58585a;font-size:34px;">{intl l="THANK YOU"}</h1>
</td>
<td style="text-align:right;">
<h4>{config key="store_name"}</h4>
</td>
</tr>
<tr> <tr>
<td><!-- Insérer ici les mentions légales --></td> <td><!-- Insérer ici les mentions légales --></td>
<td>{intl l="page"} [[page_cu]]/[[page_nb]]</td> <td>{intl l="page"} [[page_cu]]/[[page_nb]]</td>
@@ -67,139 +91,108 @@
{assign "orderCurrency" $SYMBOL} {assign "orderCurrency" $SYMBOL}
{/loop} {/loop}
<!-- En-tete du document --> <table style="padding-top: 5mm;">
<table style="padding-bottom: 5mm;"> <col style="width: 50%;" />
<col style="width: 50%;" />
<col style="width:50%; padding: 0; border: none;" /> <tr >
<col style="width:50%; padding: 0; border: none;" /> <td colspan="2">
<h1>{intl l="DELIVERY"}</h1>
</td>
</tr>
<tr>
<td colspan="2">
<h3>{intl l="Invoice date"}</h3>
<p>{format_date date=$INVOICE_DATE}</p>
</td>
</tr>
<tr>
<td colspan="2">
<h3>{intl l="Invoice REF"}</h3>
<p>{$REF}</p>
</td>
</tr>
<tr>
<td colspan="2">
<h3>{intl l="Custmer Number"}</h3>
<p>{loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}</p>
</td>
</tr>
<tr> <tr>
<!-- A gauche: informations sur le BL --> <td class="clear" colspan="2"></td>
<td class="clear"></td>
</tr>
<tr>
<td class="clear-none" colspan="2"></td>
<td class="clear-none"></td>
</tr>
<td valign="bottom"> <tr>
<td style="border-left:solid 3px #f6993c;" >
<h3 style="margin-left:1%">{intl l="delivery adress"}</h3>
<p style="margin-left:1%">
{loop type="order_address" name="delivery_address" id=$DELIVERY_ADDRESS}
{loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop}{$FIRSTNAME} {$LASTNAME}<br />
{$ADDRESS1} {$ADDRESS2} {$ADDRESS3}<br />
{$ZIPCODE} {$COUNTRY}<br/>
{loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop}
{/loop}
</p>
</td>
<td style="border-left:solid 3px #f6993c;">
<h3 style="margin-left:1%">{intl l="invoice address"}</h3>
<p style="margin-left:1%">
{loop type="order_address" name="delivery_address" id=$INVOICE_ADDRESS}
{loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop}{$FIRSTNAME} {$LASTNAME}<br />
{$ADDRESS1} {$ADDRESS2} {$ADDRESS3}<br />
{$ZIPCODE} {$COUNTRY}<br/>
{loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop}
{/loop}
</p>
</td>
</tr>
</table>
<div style="text-align: center; padding-bottom: 5mm;"> <table style="padding-top: 5mm;">
<h1 style="font-size: 5mm;"> <col style="width: 40%; padding: 3mm;" />
{config key="store_name"} <col style="width: 40%; padding: 3mm;" />
<!-- Vous pouvez remplacer #VARIABLE(nomsite) par le nom de votre entreprise --> <col style="width: 20%; padding: 3mm;" />
</h1> <tr>
<td style="border:solid 1px #dddddd;background:#f1f3f4;" >
<h3 style="color:#58585a;">{intl l="Ref"}</h3>
</td>
<td style="border:solid 1px #dddddd;background:#f1f3f4;">
<h3 style="color:#58585a;">{intl l="product"}</h3>
</td>
<td style="border:solid 1px #dddddd;background-color:#f6993c;">
<h3 style="color:white;">{intl l="Quantity"}</h3>
</td>
</tr>
{loop type="order_product" name="order-products" order=$ID}
<tr>
<td style="border:solid 1px #dddddd;">
<p>{$REF}</p>
</td>
<td style="border:solid 1px #dddddd;">
<p>{$TITLE}</p>
</td>
<td style="border:solid 1px #dddddd;">
<p>{$QUANTITY}</p>
</td>
</tr>
{/loop}
<!-- <tr>
<p> Vous pouvez insérer ici l'adresse de votre entreprise</p> <td style="border-left:solid 3px #f6993c;padding-top: 2mm">
--> <h3>{intl l='Delivery module'}</h3>
<p>{$DELIVERY_REF}</p>
<h2 style="font-size: 5mm;">{intl l='Delivery module'}<br />{$DELIVERY_REF}</h2> </td>
</div> </tr>
<tr>
<table style="width: 80%"> <td class="clear-none"></td>
<col style="width:50%;text-align: center;" /> </tr>
<col style="width:50%;text-align: center;" />
<tr>
<th>{intl l="invoice ref"}</th>
<th>{intl l="invoice date"}</th>
</tr>
<tr>
<td>{$REF}</td>
<td>{format_date date=$INVOICE_DATE}</td>
</tr>
</table>
<table style="width: 80%; margin-top: 3mm;">
<col style="width:50%;text-align: center;" />
<col style="width:50%;text-align: center;" />
<tr>
<th>{intl l="invoice"} </th>
<th>{intl l="customer number"}</th>
</tr>
<tr>
<td>{$INVOICE_REF}</td>
<td>{loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}</td>
</tr>
</table>
</td>
<!-- A droite: adresses de livraison et de facturation -->
<td valign="bottom">
<table style="padding-bottom: 5mm;">
<tr>
<th style="width: 100%; text-align: left;">{intl l="delivery address"}</th>
</tr>
<tr>
<td>
{loop type="order_address" name="delivery_address" id=$DELIVERY_ADDRESS}
{loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop}{$FIRSTNAME} {$LASTNAME}<br />
{$ADDRESS1} {$ADDRESS2} {$ADDRESS3}<br />
{$ZIPCODE} {$COUNTRY}<br/>
{loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop}
{/loop}
</td>
</tr>
</table>
<table>
<tr>
<th style="width: 100%; text-align: left;">{intl l="invoice address"}</th>
</tr>
<tr>
<td>
{loop type="order_address" name="delivery_address" id=$INVOICE_ADDRESS}
{loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop}{$FIRSTNAME} {$LASTNAME}<br />
{$ADDRESS1} {$ADDRESS2} {$ADDRESS3}<br />
{$ZIPCODE} {$COUNTRY}<br/>
{loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop}
{/loop}
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- Liste des articles -->
<table>
<col style="width: 20%;" />
<col style="width: 65%;" />
<col style="width: 15%; text-align: right" />
<thead>
<tr>
<th style="text-align: center;">{intl l="Ref"}</th>
<th style="text-align: center;">{intl l="product"}</th>
<th style="text-align: center;">{intl l="Quantity"}</th>
</tr>
</thead>
<tbody>
{loop type="order_product" name="order-products" order=$ID}
<tr>
<td>{$REF}</td>
<td>{$TITLE}</td>
<td>{$QUANTITY}</td>
</tr>
{/loop}
</tbody>
</table>
<!-- Mode de livraison -->
<table style="width: 100%; margin-top: 5mm;">
<col style="width: 20%;" />
<col style="width: 80%;" />
<tbody>
<tr>
<th>{intl l="delivery module"}</th>
<td>{loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}</td>
</tr>
</tbody>
</table>
</table>
{/loop} {/loop}
</page> </page>

View File

@@ -11,235 +11,194 @@
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *} {* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
{default_translation_domain domain='pdf.default'} {default_translation_domain domain='pdf.default'}
{literal}
<!-- <style>
THELIA - Invoice template h1, h2, h3, h4 {
For more information about formatting, please see html2pdf documentation: http://html2pdf.fr/ color:#f6993c;
-->
<style type="text/css">
<!--
table {
border-collapse: collapse;
width: 100%;
} }
td,th { h1 {
padding: 1.5mm; font-size: 60px;
border: 0.2mm solid #333;
} }
th { h4 {
background-color: #D83C46; color:#58585a;
color: #fff; font-size: 14px;
text-align: center;
font-weight: normal;
} }
td.total {
background-color: #ccc; p, td {
font-weight: bold; color:#58585a;
}
.table-1 td {
background: #f1f3f4;
border:solid 1px #bcbdc0;
}
.table-2 td {
border:solid 1px #bcbdc0;
}
.table-3-1 {
border:solid 1px #bcbdc0;
}
span {
font-size: 9px;
} }
-->
</style> </style>
{/literal}
<page backtop="10mm" backleft="10mm" backright="10mm" backbottom="10mm"> <page backtop="10mm" backleft="10mm" backright="10mm" backbottom="10mm">
<page_header>
</page_header>
<page_header> <page_footer>
</page_header> <table>
<col style="width: 80%; padding: 1mm; border: none; text-align: left;" />
<page_footer> <col style="width: 20%; padding: 1mm; border: none; text-align: right;" />
<table> <tbody>
<col style="width: 80%; padding: 3mm; border: none; text-align: center;" /> <tr>
<col style="width: 20%; padding: 3mm; border: none; text-align: right;" /> <td><!-- Insérer ici les mentions légales --></td>
<tbody> <td>{intl l="page"} [[page_cu]]/[[page_nb]]</td>
<tr> </tr>
<td><!-- Insérer ici les mentions légales --></td> </tbody>
<td>{intl l="Page"} [[page_cu]]/[[page_nb]]</td> </table>
</tr> </page_footer>
</tbody>
</table>
</page_footer>
{loop name="order.invoice" type="order" id=$order_id customer="*"} {loop name="order.invoice" type="order" id=$order_id customer="*"}
{loop name="currency.order" type="currency" id=$CURRENCY} {loop name="currency.order" type="currency" id=$CURRENCY}
{assign "orderCurrency" $SYMBOL} {assign "orderCurrency" $SYMBOL}
{/loop}
<table>
<col style="width: 100%; padding: 0mm;" />
<tr >
<td>
<h1>{intl l="INVOICE"}</h1>
</td>
</tr>
<tr>
<td>
<h3>{intl l="Invoice date"}</h3>
<span>{format_date date=$INVOICE_DATE}</span>
</td>
</tr>
<tr>
<td>
<h3>{intl l="Invoice REF"}</h3>
<span>{$REF}</span>
</td>
</tr>
<tr>
<td>
<h3>{intl l="Custmer Number"}</h3>
<span>{loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}</span>
</td>
</tr>
</table>
<table>
<col style="width: 50%; padding: 3mm;" />
<col style="width: 50%; padding: 3mm;" />
<tr>
<td style="border-left:solid 1mm #f6993c;" >
<h3>{intl l="delivery adress"}</h3>
<p>
{loop type="order_address" name="delivery_address" id=$DELIVERY_ADDRESS}
{loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop}{$FIRSTNAME} {$LASTNAME}<br />
{$ADDRESS1} {$ADDRESS2} {$ADDRESS3}<br />
{$ZIPCODE} {$COUNTRY}<br/>
{loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop}
{/loop}
</p>
</td>
<td style="border-left:solid 1mm #f6993c;">
<h3>{intl l="invoice address"}</h3>
<p>
{loop type="order_address" name="delivery_address" id=$INVOICE_ADDRESS}
{loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop}{$FIRSTNAME} {$LASTNAME}<br />
{$ADDRESS1} {$ADDRESS2} {$ADDRESS3}<br />
{$ZIPCODE} {$COUNTRY}<br/>
{loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop}
{/loop}
</p>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" style="padding-top: 5mm;">
<col style="width: 40%; padding: 1mm;" />
<col style="width: 12%; padding: 1mm;" />
<col style="width: 12%; padding: 1mm;" />
<col style="width: 12%; padding: 1mm;" />
<col style="width: 12%; padding: 1mm;" />
<col style="width: 12%; padding: 1mm;" />
<tr class="table-1">
<td><h4>{intl l="Product"}</h4></td>
<td><h4>{intl l="Unit. price"}</h4></td>
<td><h4>{intl l="Tax"}</h4></td>
<td><h4>{intl l="Unit taxed price"}</h4></td>
<td><h4>{intl l="Quantity"}</h4></td>
<td style="background:#f6993c"><h3 style="color:white;">{intl l="Taxed total"}</h3></td>
</tr>
{loop type="order_product" name="order-products" order=$ID}
{if $WAS_IN_PROMO == 1}
{assign "realPrice" $PROMO_PRICE}
{assign "realTax" $PROMO_PRICE_TAX}
{assign "realTaxedPrice" $TAXED_PROMO_PRICE}
{else}
{assign "realPrice" $PRICE}
{assign "realTax" $PRICE_TAX}
{assign "realTaxedPrice" $TAXED_PRICE}
{/if}
<tr class="table-2">
<td><p>{$TITLE}</p>
{ifloop rel="combinations"}
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}
{$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}<br>
{/loop}
{/ifloop}
</td>
<td><p>{$orderCurrency} {$realPrice}</p></td>
<td><p>{$orderCurrency} {$realTax}</p></td>
<td><p>{$orderCurrency} {$realTaxedPrice}</p></td>
<td><p>{$QUANTITY}</p></td>
<td><p>{$orderCurrency} {$realTaxedPrice * $QUANTITY}</p></td>
</tr>
{/loop} {/loop}
<table style="padding-bottom: 5mm;"> </table>
<tr>
<td style="width:50%; padding: 0; border: none;" valign="bottom">
<div style="text-align: center; padding-bottom: 10mm;">
<h1>{config key="store_name"}</h1>
<p><!-- Insérer ici l'adresse de votre entreprise --></p>
<h2>{intl l="invoice"} {$INVOICE_REF}</h2>
</div>
<table style="width: 100%">
<tr>
<th>{intl l="invoice ref"}</th>
<th>{intl l="customer number"}</th>
<th>{intl l="invoice date"}</th>
</tr>
<tr>
<td>{$REF}</td>
<td>{loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}</td>
<td>{format_date date=$INVOICE_DATE}</td>
</tr>
</table>
</td>
<td style="width:50%; padding: 0; border: none;" valign="bottom">
<table style="padding-bottom: 5mm;">
<tr>
<th style="width: 100%; text-align: left;">{intl l="delivery address"}</th>
</tr>
<tr>
<td>
{loop type="order_address" name="delivery_address" id=$DELIVERY_ADDRESS}
{loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop}{$FIRSTNAME} {$LASTNAME}<br />
{$ADDRESS1} {$ADDRESS2} {$ADDRESS3}<br />
{$ZIPCODE} {$CITY}<br/>
{loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop}
{/loop}
</td>
</tr>
</table>
<table>
<tr>
<th style="width: 100%; text-align: left;">{intl l="invoice address"}</th>
</tr>
<tr>
<td>
{loop type="order_address" name="delivery_address" id=$INVOICE_ADDRESS}
{loop type="title" name="order-invoice-address-title" id=$TITLE}{$LONG}{/loop}{$FIRSTNAME} {$LASTNAME}<br />
{$ADDRESS1} {$ADDRESS2} {$ADDRESS3}<br />
{$ZIPCODE} {$CITY}<br/>
{loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop}
{/loop}
</td>
</tr>
</table>
</td>
</tr>
</table>
<table>
<col style="width: 38%;" />
<col style="width: 15%;" />
<col style="width: 15%; text-align: right" />
<col style="width: 12%; text-align: right" />
<col style="width: 5%; text-align: right" />
<col style="width: 15%; text-align: right" />
<thead>
<tr>
<th style="text-align: center;">{intl l="Product"}</th>
<th style="text-align: center;">{intl l="Unit. price"}</th>
<th style="text-align: center;">{intl l="Tax"}</th>
<th style="text-align: center;">{intl l="Unit taxed price"}</th>
<th style="text-align: center;">{intl l="Quantity"}</th>
<th style="text-align: center;">{intl l="Taxed total"}</th>
</tr>
</thead>
<tbody>
{loop type="order_product" name="order-products" order=$ID}
{if $WAS_IN_PROMO == 1}
{assign "realPrice" $PROMO_PRICE}
{assign "realTax" $PROMO_PRICE_TAX}
{assign "realTaxedPrice" $TAXED_PROMO_PRICE}
{else}
{assign "realPrice" $PRICE}
{assign "realTax" $PRICE_TAX}
{assign "realTaxedPrice" $TAXED_PRICE}
{/if}
<tr>
<td>
{$TITLE}
{ifloop rel="combinations"}
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}
{$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}<br>
{/loop}
{/ifloop}
</td>
<td>{$orderCurrency} {$realPrice}</td>
<td>{$orderCurrency} {$realTax}</td>
<td>{$orderCurrency} {$realTaxedPrice}</td>
<td>{$QUANTITY}</td>
<td>{$orderCurrency} {$realTaxedPrice * $QUANTITY}</td>
</tr>
{/loop}
</tbody>
</table>
<!-- Pied du tableau -->
<table>
<col style="width: 65%;" />
<col style="width: 35%;" />
<tr>
<td style="padding: 0; padding-top: 5mm; border: none;">
<table style="width: 90%; padding-bottom: 5mm;">
<col style="width: 35%; text-align: right;" />
<col style="width: 65%;" />
<tbody>
<tr>
<th>{intl l="Payment module"}</th>
<td>{loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}</td>
</tr>
<tr>
<th>{intl l="delivery module"}</th>
<td>{loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}</td>
</tr>
</tbody>
</table>
</td>
<td valign="top" style="padding: 0;padding-top: 5mm; border: none;">
<table style="padding-bottom: 5mm;">
<col style="width: 58%; text-align: right;" />
<col style="width: 42%; text-align: right;" />
<tbody>
<tr>
<td>{intl l="Total without tax"}</td>
<td>{$orderCurrency} {$TOTAL_AMOUNT}</td>
</tr>
<tr>
<td>{intl l="Total with tax"}</td>
<td>{$orderCurrency} {$TOTAL_TAXED_AMOUNT - $POSTAGE}</td>
</tr>
<tr>
<td>{intl l="Postage"}</td>
<td>{$orderCurrency} {$POSTAGE}</td>
</tr>
<tr>
<td class="total">{intl l="Total"}</td>
<td class="total">{$orderCurrency} {$TOTAL_TAXED_AMOUNT}</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
<table class="table-3" cellspacing="0" cellpadding="0" tyle="padding-top: 5mm;">
<col style="width: 60%; padding: 1mm;" />
<col style="width: 20%; padding: 1mm;" />
<col style="width: 20%; padding: 1mm;" />
<tr>
<td style="border-left:solid 1mm #bcbdc0"><h3>{intl l="Payment module"}</h3>
<span>{loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}</span>
</td>
<td class="table-3-1"><p>{intl l="Total without tax"}</p></td>
<td class="table-3-1"><p>{$orderCurrency} {$TOTAL_AMOUNT}</p></td>
</tr>
<tr>
<td style="border-left:solid 1mm #bcbdc0"><h3>{intl l="delivery module"}</h3>
<span>{loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}</span></td>
<td class="table-3-1"><p>{intl l="Total with tax"}</p></td>
<td class="table-3-1"><P>{$orderCurrency} {$TOTAL_TAXED_AMOUNT - $POSTAGE}</P></td>
</tr>
<tr>
<td></td>
<td class="table-3-1"><p>{intl l="Postage"}</p></td>
<td class="table-3-1"><p>{$orderCurrency} {$POSTAGE}</p></td>
</tr>
<tr>
<td></td>
<td class="table-3-1" style="background:#f6993c;"><h3 style="color:white;">{intl l="Total"}</h3></td>
<td class="table-3-1" style="background:#f6993c;"><h3 style="color:white;">{$orderCurrency} {$TOTAL_TAXED_AMOUNT}</h3></td>
</tr>
</table>
{/loop} {/loop}
</page> </page>