[*] PDF : PDF is now rendered by TCPDF throught HTML template
This commit is contained in:
1 parent
73e98a4f56
commit
fddc403a09
33 files changed
+1917
-213
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user