From d8f5caee7b8af096d2a0dc73ddf22d031abdf355 Mon Sep 17 00:00:00 2001 From: jeromenadaud Date: Thu, 1 Aug 2013 19:09:34 +0200 Subject: [PATCH] [-] BO : FixBug #PSCFV-7824 No total tax not show in order email confirmation --- classes/PaymentModule.php | 3 ++- mails/en/order_conf.html | 5 +++++ mails/en/order_conf.txt | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/classes/PaymentModule.php b/classes/PaymentModule.php index beedc734e..022e580ec 100644 --- a/classes/PaymentModule.php +++ b/classes/PaymentModule.php @@ -605,7 +605,8 @@ abstract class PaymentModuleCore extends Module '{total_products}' => Tools::displayPrice($order->total_paid - $order->total_shipping - $order->total_wrapping + $order->total_discounts, $this->context->currency, false), '{total_discounts}' => Tools::displayPrice($order->total_discounts, $this->context->currency, false), '{total_shipping}' => Tools::displayPrice($order->total_shipping, $this->context->currency, false), - '{total_wrapping}' => Tools::displayPrice($order->total_wrapping, $this->context->currency, false)); + '{total_wrapping}' => Tools::displayPrice($order->total_wrapping, $this->context->currency, false), + '{total_tax_paid}' => Tools::displayPrice(($order->total_products_wt - $order->total_products) + ($order->total_shipping_tax_incl - $order->total_shipping_tax_excl), $this->context->currency, false)); if (is_array($extra_vars)) $data = array_merge($data, $extra_vars); diff --git a/mails/en/order_conf.html b/mails/en/order_conf.html index 22b5ddea8..7852f166f 100644 --- a/mails/en/order_conf.html +++ b/mails/en/order_conf.html @@ -72,6 +72,11 @@   +Total Tax paid +{total_tax_paid} + + +  Total paid {total_paid} diff --git a/mails/en/order_conf.txt b/mails/en/order_conf.txt index 2da5fc054..b5cba1f75 100644 --- a/mails/en/order_conf.txt +++ b/mails/en/order_conf.txt @@ -9,6 +9,7 @@ Thank you for your order on {shop_name}! Discounts: {total_discounts} Shipping: {total_shipping} Gift-wrapping: {total_wrapping} + Total Tax paid: {total_tax_paid} Total paid: {total_paid} Carrier: {carrier}