[-] FO : Undefined variable price
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9215 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
81a2788184
commit
4d93b9a5fe
1 file changed
+2
-2
@@ -119,7 +119,7 @@ class TaxCalculatorCore
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the tax amount associated to each taxes of the TaxCalculator
|
* Return the tax amount associated to each taxes of the TaxCalculator
|
||||||
*
|
*
|
||||||
* @param float $price_te
|
* @param float $price_te
|
||||||
* @return array $taxes_amount
|
* @return array $taxes_amount
|
||||||
*/
|
*/
|
||||||
@@ -135,7 +135,7 @@ class TaxCalculatorCore
|
|||||||
$price_te = $price_te + $taxes_amounts[$tax->rate];
|
$price_te = $price_te + $taxes_amounts[$tax->rate];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$taxes_amounts[$tax->rate] = ($price * (abs($tax->rate) / 100));
|
$taxes_amounts[$tax->rate] = ($price_te * (abs($tax->rate) / 100));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $taxes_amounts;
|
return $taxes_amounts;
|
||||||
|
|||||||
Reference in new issue
Block a user