[-] FO : Undefined variable price
This commit is contained in:
1 parent
170e8758c7
commit
3cbac2362c
1 file changed
+1
-1
@@ -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