Fix cash rounding issue

This commit is contained in:
Steve Ireland
2017-08-12 21:17:52 -04:00
parent 2a4668a80f
commit 2177e71f47

View File

@@ -1155,7 +1155,7 @@ class Sale_lib
$cash_rounding_code = $this->CI->config->item('cash_rounding_code');
$rounded_total = $total;
return Rounding_mode::round_number($total, $cash_decimals);
return Rounding_mode::round_number($cash_rounding_code, $total, $cash_decimals);
}
}