Set calculation precision to currency + tax decimals (#759)

This commit is contained in:
jekkos committed 2016-07-25 21:28:56 +02:00
1 parent 0727ae06af
commit 28129ef075
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -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);