[-] PDF : Canadian taxes

This commit is contained in:
fBrignoli
2012-07-12 16:45:14 +00:00
parent f04213b347
commit af7bfbfd2e
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));