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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10231 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fBrignoli
2011-11-17 17:15:23 +00:00
parent ab22eaf449
commit e5f3c3ca2a
33 changed files with 1917 additions and 213 deletions
+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;