Merge pull request #2127 from erastus/master

fixed in specific_customer change discount_fixed for discount_type
This commit is contained in:
FrancescoUK authored and GitHub committed 2018-09-08 06:43:45 +01:00
commit 493eb5051c
1 file changed
+1 -1
@@ -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();