mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-22 00:07:58 -05:00
Merge pull request #2127 from erastus/master
fixed in specific_customer change discount_fixed for discount_type
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user