Merge pull request #2127 from erastus/master

fixed in specific_customer change discount_fixed for discount_type
This commit is contained in:
FrancescoUK
2018-09-08 06:43:45 +01:00
committed by GitHub

View File

@@ -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();