[*] PDF : PDF is now rendered by TCPDF throught HTML template

This commit is contained in:
fBrignoli committed 2011-11-17 17:15:23 +00:00
1 parent 73e98a4f56
commit fddc403a09
33 files changed
+1917 -213

No files matched your search

+2 -2
View File
@@ -131,11 +131,11 @@ class TaxCalculatorCore
{
if ($this->computation_method == TaxCalculator::ONE_AFTER_ANOTHER_METHOD)
{
$taxes_amounts[$tax->rate] = $price_te * (abs($tax->rate) / 100);
$taxes_amounts[$tax->id] = $price_te * (abs($tax->rate) / 100);
$price_te = $price_te + $taxes_amounts[$tax->rate];
}
else
$taxes_amounts[$tax->rate] = ($price_te * (abs($tax->rate) / 100));
$taxes_amounts[$tax->id] = ($price_te * (abs($tax->rate) / 100));
}
return $taxes_amounts;