[-] PDF : Canadian taxes

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16386 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fBrignoli
2012-07-12 16:45:14 +00:00
parent cf395ce0ca
commit 7af140d285
9 changed files with 66 additions and 12 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ class TaxCalculatorCore
if ($this->computation_method == TaxCalculator::ONE_AFTER_ANOTHER_METHOD)
{
$taxes_amounts[$tax->id] = $price_te * (abs($tax->rate) / 100);
$price_te = $price_te + $taxes_amounts[$tax->rate];
$price_te = $price_te + $taxes_amounts[$tax->id];
}
else
$taxes_amounts[$tax->id] = ($price_te * (abs($tax->rate) / 100));