From ec38dd63a5222d96096a5d52023d8ae0b430947e Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Wed, 5 Dec 2018 17:37:25 +0530 Subject: [PATCH] new reg deact course --- Apollo/api/application/models/Reports_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Apollo/api/application/models/Reports_model.php b/Apollo/api/application/models/Reports_model.php index 1c064c90..2a52dd20 100755 --- a/Apollo/api/application/models/Reports_model.php +++ b/Apollo/api/application/models/Reports_model.php @@ -607,8 +607,8 @@ where STU.IsActive = '1' and APFS.ID in (select max(ID) from T_ApplicationFormS } $sql.="and STU.BranchCode='".$br."'"; - $sql.=" group by regid,Student_id "; - $sql.=" ORDER BY StatusUpdationOn DESC "; + $sql.=" group by regid,Student_id,RD.CourseID,Sem_Year "; + $sql.=" ORDER BY StatusUpdationOn,InitialPayDate DESC "; $leadDet=$this->db->query($sql); $answer = $leadDet->result();