[-] PDF : Canadian taxes

This commit is contained in:
fBrignoli committed 2012-07-12 16:45:14 +00:00
1 parent 0c3f43cb5e
commit 6e1dda9572
9 files changed
+66 -12

No files matched your search

+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));