Sorting changed in table
This commit is contained in:
parent
6ffa08ee37
commit
b9c6163fc6
@ -24,7 +24,7 @@ class inwardgateregister_model extends CI_Model
|
|||||||
$this->db->from('T_IGR_Master igr');
|
$this->db->from('T_IGR_Master igr');
|
||||||
$this->db->join('T_PurchaseOrder_Master PO','igr.PONO = PO.PONO');
|
$this->db->join('T_PurchaseOrder_Master PO','igr.PONO = PO.PONO');
|
||||||
$this->db->join('T_SupplierDetailsN` sup','PO.SupplierID = sup.SupplierID');
|
$this->db->join('T_SupplierDetailsN` sup','PO.SupplierID = sup.SupplierID');
|
||||||
|
$this->db->order_by('igr.CreatedDate','desc');
|
||||||
$query = $this->db->get();
|
$query = $this->db->get();
|
||||||
$result = $query->result();
|
$result = $query->result();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user