From 82a228fa999c9439405c452ea7fb7122597e3b46 Mon Sep 17 00:00:00 2001 From: Erastus Date: Fri, 7 Sep 2018 16:35:52 -0500 Subject: [PATCH] fixed in specific_customer change discount_fixed for discount_type --- application/models/reports/Specific_customer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/reports/Specific_customer.php b/application/models/reports/Specific_customer.php index ad7f57a2f..1184f351c 100644 --- a/application/models/reports/Specific_customer.php +++ b/application/models/reports/Specific_customer.php @@ -127,7 +127,7 @@ class Specific_customer extends Report foreach($data['summary'] as $key=>$value) { - $this->db->select('name, category, serialnumber, description, quantity_purchased, subtotal, tax, total, cost, profit, discount_percent, discount_fixed'); + $this->db->select('name, category, serialnumber, description, quantity_purchased, subtotal, tax, total, cost, profit, discount, discount_type'); $this->db->from('sales_items_temp'); $this->db->where('sale_id', $value['sale_id']); $data['details'][$key] = $this->db->get()->result_array();