// 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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user