mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-20 07:14:33 -04:00
Set calculation precision to currency + tax decimals (#759)
This commit is contained in:
1 parent
0727ae06af
commit
28129ef075
2 files changed
+1
-2
No files matched your search
@@ -644,7 +644,6 @@ class Sale_lib
|
||||
public function get_item_tax($quantity, $price, $discount_percentage, $tax_percentage)
|
||||
{
|
||||
$price = $this->get_item_total($quantity, $price, $discount_percentage, TRUE);
|
||||
|
||||
if($this->CI->config->config['tax_included'])
|
||||
{
|
||||
$tax_fraction = bcadd(100, $tax_percentage);
|
||||
|
||||
Reference in new issue
Block a user