From 9307ebbaa9bca2a5065868f719531a5bcd44a438 Mon Sep 17 00:00:00 2001 From: jekkos Date: Sun, 16 Sep 2018 17:19:10 +0200 Subject: [PATCH] Revert wrong change --- application/migrations/20170502221506_sales_tax_data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/migrations/20170502221506_sales_tax_data.php b/application/migrations/20170502221506_sales_tax_data.php index 47fc17c5b..5b986fae0 100644 --- a/application/migrations/20170502221506_sales_tax_data.php +++ b/application/migrations/20170502221506_sales_tax_data.php @@ -67,7 +67,7 @@ class Migration_Sales_Tax_Data extends CI_Migration { $item_tax_amount = $this->tax_lib->get_sales_tax_for_amount($tax_basis, $item['percent'], PHP_ROUND_HALF_UP, $tax_decimals); } - $this->update_sales_items_taxes_amount($sale_id, $item['line'], $item['name'], $item['percentcustomer_sales_tax_support'], $tax_type, $item_tax_amount); + $this->update_sales_items_taxes_amount($sale_id, $item['line'], $item['name'], $item['percent'], $tax_type, $item_tax_amount); $this->tax_lib->update_sales_taxes($sales_taxes, $tax_type, $tax_group, $item['percent'], $tax_basis, $item_tax_amount, $tax_group_sequence, PHP_ROUND_HALF_UP, $sale_id, $item['name']); $tax_group_sequence += 1; }