mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-29 03:15:58 -04:00
Update Specific_supplier.php
This commit is contained in:
@@ -95,8 +95,8 @@ class Specific_supplier extends Report
|
||||
$this->db->where('sale_type', SALE_TYPE_RETURN);
|
||||
}
|
||||
|
||||
$this->db->group_by('sale_id');
|
||||
$this->db->order_by('MAX(sale_date)');
|
||||
$this->db->group_by('item_id');
|
||||
$this->db->order_by('sale_id');
|
||||
|
||||
return $this->db->get()->result_array();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user