Modification de la facture pour intégrer taxe sur frais de port
This commit is contained in:
@@ -15,6 +15,7 @@ return array(
|
||||
'Payment module' => 'Module de paiement',
|
||||
'Phone: ' => 'Tél.: ',
|
||||
'Postage' => 'Frais de livraison',
|
||||
'Postage TTC' => 'Frais de livraison TTC',
|
||||
'Product' => 'Produit',
|
||||
'Product ref : ' => 'Réf. produit : ',
|
||||
'Quantity' => 'Quantité',
|
||||
@@ -22,9 +23,9 @@ return array(
|
||||
'Tax' => 'Taxe',
|
||||
'Taxed total' => 'Total TTC',
|
||||
'Total' => 'Total',
|
||||
'Total products with tax' => 'Total products with tax',
|
||||
'Total products without tax' => 'Total matériel HT',
|
||||
'Total taxes' => 'Total taxes',
|
||||
'Total to pay' => 'Total à payer',
|
||||
'Total with tax' => 'Total matériel TTC',
|
||||
'Total without tax' => 'Sous-total HT',
|
||||
'Unit taxed price' => 'Prix unitaire TTC',
|
||||
|
||||
@@ -105,6 +105,9 @@
|
||||
.table-3-module span {
|
||||
font-size: 11px;
|
||||
}
|
||||
.section {
|
||||
background-color: orange;
|
||||
}
|
||||
|
||||
.align-left {
|
||||
text-align: left;
|
||||
@@ -324,8 +327,10 @@
|
||||
<tr>
|
||||
<td class="table-3-1"><p>{intl l="Total products without tax"}</p></td>
|
||||
<td class="table-3-1 align-right"><p>{format_money number={$totalItemsPriceWtTaxes} currency_id=$CURRENCY}</p></td>
|
||||
<!-- <td class="table-3-1 align-right"><p>{format_money number={$TOTAL_AMOUNT - $POSTAGE_UNTAXED} currency_id=$CURRENCY}</p></td>-->
|
||||
</tr>
|
||||
<!-- Séparateur //-->
|
||||
<tr><td colspan="2" class="table-3-1"></td></tr>
|
||||
|
||||
{strip}
|
||||
{capture name="tax"}
|
||||
{foreach $taxes as $name=>$prices}
|
||||
@@ -350,12 +355,10 @@
|
||||
{/capture}
|
||||
{/strip}
|
||||
|
||||
<!-- Sous-total HT -->
|
||||
<!-- Détail des taxes -->
|
||||
<tr>
|
||||
<td class="table-3-1"><p>{intl l="Total without tax"}</p></td>
|
||||
<td class="table-3-1 align-right"><p>{format_money number={$totalItemsPriceWtTaxes} currency_id=$CURRENCY}</p></td>
|
||||
<td colspan="2" class="table-3-1 section">Détail des taxes</td>
|
||||
</tr>
|
||||
|
||||
<!-- Total taxes -->
|
||||
{if $smarty.capture.tax ne ""}
|
||||
<tr>
|
||||
@@ -365,21 +368,21 @@
|
||||
{$smarty.capture.tax nofilter}
|
||||
{/if}
|
||||
|
||||
<!-- Total TTC -->
|
||||
<tr>
|
||||
<td class="table-3-1" ><p>{intl l="Total products with tax"}</p></td>
|
||||
<td class="table-3-1 align-right"><p>{format_money number={$totalItemsPriceWtTaxes + $TOTAL_TAX} currency_id=$CURRENCY}</p></td>
|
||||
</tr>
|
||||
<!-- Frais de livraison TTC -->
|
||||
<tr>
|
||||
<td class="table-3-1"><p>{intl l="Postage"}</p></td>
|
||||
<td class="table-3-1 align-right"><p>{format_money number=$POSTAGE currency_id=$CURRENCY}</p></td>
|
||||
</tr>
|
||||
<!-- Total TTC -->
|
||||
<!-- Séparateur //-->
|
||||
<tr><td colspan="2" class="table-3-1"></td></tr>
|
||||
|
||||
<!-- Total produits TTC -->
|
||||
<tr>
|
||||
<td class="table-3-1" ><p>{intl l="Total with tax"}</p></td>
|
||||
<td class="table-3-1 align-right"><p>{format_money number={$totalItemsPriceWtTaxes + $TOTAL_TAX + $POSTAGE} currency_id=$CURRENCY}</p></td>
|
||||
<td class="table-3-1 align-right"><p>{format_money number=$TOTAL_TAXED_AMOUNT-$POSTAGE currency_id=$CURRENCY}</p></td>
|
||||
</tr>
|
||||
|
||||
<!-- Frais de livraison TTC -->
|
||||
<tr>
|
||||
<td class="table-3-1"><p>{intl l="Postage TTC"}</p></td>
|
||||
<td class="table-3-1 align-right"><p>{format_money number=$POSTAGE currency_id=$CURRENCY}</p></td>
|
||||
</tr>
|
||||
|
||||
<!-- Remise -->
|
||||
{if $DISCOUNT}
|
||||
<tr>
|
||||
@@ -389,7 +392,7 @@
|
||||
{/if}
|
||||
<!-- Total -->
|
||||
<tr>
|
||||
<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;">{intl l="Total to pay"}</h3></td>
|
||||
<td class="table-3-1 align-right" style="background:#f6993c;"><h3 style="color:white;">{format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}</h3></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user