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->join('T_PurchaseOrder_Master PO','igr.PONO = PO.PONO');
|
||||
$this->db->join('T_SupplierDetailsN` sup','PO.SupplierID = sup.SupplierID');
|
||||
|
||||
$this->db->order_by('igr.CreatedDate','desc');
|
||||
$query = $this->db->get();
|
||||
$result = $query->result();
|
||||
|
||||
@ -128,7 +128,7 @@ class inwardgateregister_model extends CI_Model
|
||||
$this->db->join('T_SupplierDetailsN sup', 'sup.SupplierID = POM.SupplierID');
|
||||
$this->db->join('T_MaterialMaster MM', 'MM.MaterialCode = igrd.MaterialCode');
|
||||
$this->db->where('igr.IGRNO',$IGRNO);
|
||||
|
||||
|
||||
|
||||
$query = $this->db->get();
|
||||
// print_r( $this->db->last_query());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user