Rename sales_tax_amount to sale_tax_amount

This commit is contained in:
Steve Ireland committed 2019-01-16 21:45:55 -05:00
1 parent cbfb8e5a89
commit 0dc5a8e3a2
1 file changed
+2 -2
+2 -2
View File
@@ -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']);
}
}