Update Specific_supplier.php

This commit is contained in:
printgeek
2021-01-18 10:24:07 -06:00
committed by jekkos
parent 83ab188c8d
commit 2cb65bc2cb

View File

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