mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-24 09:08:42 -04:00
Rename sales_tax_amount to sale_tax_amount
This commit is contained in:
1 parent
cbfb8e5a89
commit
0dc5a8e3a2
1 file changed
+2
-2
@@ -1272,9 +1272,9 @@ class Sale_lib
|
||||
|
||||
if(!$this->CI->config->item('tax_included'))
|
||||
{
|
||||
foreach($this->CI->tax_lib->get_taxes($this->get_cart()) as $tax)
|
||||
foreach($this->CI->tax_lib->get_taxes($this->get_cart())[0] as $tax)
|
||||
{
|
||||
$total = bcadd($total, $tax['sales_tax_amount']);
|
||||
$total = bcadd($total, $tax['sale_tax_amount']);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user