changes in listing order in igr listing, purchase order listing -j vadivel
This commit is contained in:
parent
1764388a1b
commit
71fdcd8512
@ -378,8 +378,8 @@ class Inwardgateregister_model extends Model
|
||||
->join('t_transporter trans', 'igr.TransporterId = trans.id' , 'left')
|
||||
->join('t_igr_details IGRD', 'igr.IGRNo = IGRD.IGRNo')
|
||||
->where('igr.IGRStatus !=', MRIR_CREATED)
|
||||
->where('igr.CreatedDate >=',"$fromDate")
|
||||
->where('igr.CreatedDate <=', "$toDate")
|
||||
->where('Date(igr.CreatedDate) >=',"$fromDate")
|
||||
->where('Date(igr.CreatedDate) <=', "$toDate")
|
||||
->groupBy('igr.IGRNo')
|
||||
->orderBy('igr.CreatedDate', 'desc');
|
||||
$query = $builder->get();
|
||||
|
||||
@ -403,8 +403,8 @@ mstr.CourierNo,pom.Status,pom.POType') //,bill.BillNo,bill.FilePath,
|
||||
// $builder->orderBy('POMast.Status !=',PO_AMENDED);
|
||||
}
|
||||
|
||||
$builder->where('POMast.CreatedDate >=', $fromDate)
|
||||
->where('POMast.CreatedDate <=', $toDate);
|
||||
$builder->where('Date(POMast.CreatedDate) >=', $fromDate)
|
||||
->where('Date(POMast.CreatedDate) <=', $toDate);
|
||||
|
||||
|
||||
$builder->orderBy('POMast.CreatedDate', 'desc');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user