[+] MO : Mailalerts - Add Total tax paid to order confirmation

This commit is contained in:
Jerome Nadaud
2013-08-29 17:13:48 +02:00
parent 4a8f6c3116
commit 40c64b54e2
3 changed files with 6 additions and 0 deletions
+1
View File
@@ -380,6 +380,7 @@ class MailAlerts extends Module
'{total_products}' => Tools::displayPrice($order->getTotalProductsWithTaxes(), $currency),
'{total_discounts}' => Tools::displayPrice($order->total_discounts, $currency),
'{total_shipping}' => Tools::displayPrice($order->total_shipping, $currency),
'{total_tax_paid}' => Tools::displayPrice(($order->total_products_wt - $order->total_products) + ($order->total_shipping_tax_incl - $order->total_shipping_tax_excl), $currency, false),
'{total_wrapping}' => Tools::displayPrice($order->total_wrapping, $currency),
'{currency}' => $currency->sign,
'{message}' => $message