// Fix Ecotax breakdown on invoices

This commit is contained in:
rGaillard
2012-10-08 12:51:39 +00:00
parent 3b2165f9bb
commit 534bcad1d6
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;
}