// Fix Ecotax breakdown on invoices

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17797 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-10-08 12:51:39 +00:00
parent ae304427cf
commit 507c8ff9c7
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -472,7 +472,7 @@ class OrderDetailCore extends ObjectModel
$tax_manager = TaxManagerFactory::getManager($this->vat_address, $id_tax_rules);
$this->tax_calculator = $tax_manager->getTaxCalculator();
$this->reduction_amount_tax_incl = $this->reduction_amount;
$this->reduction_amount_tax_incl = $this->reduction_amount;
$this->reduction_amount_tax_excl = Tools::ps_round($this->tax_calculator->removeTaxes($this->reduction_amount_tax_incl), 2);
break;
}