diff --git a/Apollo/api/application/config/routes.php b/Apollo/api/application/config/routes.php index 15ed7b05..f8351bb4 100755 --- a/Apollo/api/application/config/routes.php +++ b/Apollo/api/application/config/routes.php @@ -255,10 +255,16 @@ $route['updateSessionScheduleDetails'] = 'SessionSchedule_Controller/updateSessi $route['getCourseSubjectDetails'] = 'HallTickets_Controller/getCourseSubjectDetails'; //Reports -$route['reportstatus'] = 'Report/status'; -$route['reportbatchlist'] = 'Report/batch'; -$route['reportmstatus'] = 'Report/mstatus'; -$route['reportcert_status'] = 'Report/cert_status'; -$route['reportmark_cert_status'] = 'Report/markcert_status'; -$route['reportexpense'] = 'Report/expense'; +$route['report_status'] = 'Report/status'; +$route['report_filters'] = 'Report/filters'; +$route['report_markcard'] = 'Report/markcard'; +$route['report_certificate'] = 'Report/certificate'; +$route['report_markcard_certificate'] = 'Report/mark_cert'; +$route['report_expense'] = 'Report/expense'; +$route['report_answer_booklet'] = 'Report/answer_booklet'; +$route['report_app_pending'] = 'Report/app_pending'; +$route['report_doc_pending'] = 'Report/doc_pending'; +$route['report_wav_ref'] = 'Report/wav_ref'; +$route['report_examfee'] = 'Report/examfee'; +$route['report_balfee'] = 'Report/balfee'; diff --git a/Apollo/api/application/controllers/Report.php b/Apollo/api/application/controllers/Report.php index 3171b2ac..b922ea59 100755 --- a/Apollo/api/application/controllers/Report.php +++ b/Apollo/api/application/controllers/Report.php @@ -40,9 +40,9 @@ class Report extends REST_Controller { public function status_post() { - $bat = $this->post('bname'); - $br = $this->post('brname'); - $u = $this->post('univ'); + $bat = $this->post('batch'); + $br = $this->post('branch'); + $u = $this->post('university'); $getStatus = $this->report_model->status($bat,$br,$u); //print_r($getStatus); if ($getStatus) @@ -62,12 +62,12 @@ class Report extends REST_Controller { } - public function mstatus_post() + public function markcard_post() { - $bat = $this->post('bname'); - $br = $this->post('brname'); - $u = $this->post('univ'); - $getStatus = $this->report_model->mstatus($bat,$br,$u); + $bat = $this->post('batch'); + $br = $this->post('branch'); + $u = $this->post('university'); + $getStatus = $this->report_model->markcard($bat,$br,$u); //print_r($getStatus); if ($getStatus) { @@ -86,11 +86,11 @@ class Report extends REST_Controller { } - public function cert_status_post() + public function certificate_post() { - $bat = $this->post('bname'); - $br = $this->post('brname'); - $u = $this->post('univ'); + $bat = $this->post('batch'); + $br = $this->post('branch'); + $u = $this->post('university'); $getStatus = $this->report_model->certificate_status($bat,$br,$u); //print_r($getStatus); if ($getStatus) @@ -110,11 +110,11 @@ class Report extends REST_Controller { } - public function markcert_status_post() + public function mark_cert_post() { - $bat = $this->post('bname'); - $br = $this->post('brname'); - $u = $this->post('univ'); + $bat = $this->post('batch'); + $br = $this->post('branch'); + $u = $this->post('university'); $from = $this->post('from'); $to = $this->post('to'); $getStatus = $this->report_model->mark_cert_status($bat,$br,$u,$from,$to); @@ -160,10 +160,160 @@ class Report extends REST_Controller { } - public function batch_post() + public function answer_booklet_post() + { + $bat = $this->post('batch'); + $br = $this->post('branch'); + $u = $this->post('university'); + + $getStatus = $this->report_model->answer_booklet($bat,$br,$u); + //print_r($getStatus); + if ($getStatus) + { + $getStatus['status'] = REST_Controller::HTTP_OK; + // Set the response and exit + $this->response($getStatus, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code + } + else + { + // Set the response and exit + $this->response([ + 'message' => 'No records found!', + 'status' => REST_Controller::HTTP_NOT_FOUND + ], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code + } + + + } + public function app_pending_post() + { + $bat = $this->post('batch'); + $br = $this->post('branch'); + $u = $this->post('university'); + + $getStatus = $this->report_model->app_pending($bat,$br,$u); + //print_r($getStatus); + if ($getStatus) + { + $getStatus['status'] = REST_Controller::HTTP_OK; + // Set the response and exit + $this->response($getStatus, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code + } + else + { + // Set the response and exit + $this->response([ + 'message' => 'No records found!', + 'status' => REST_Controller::HTTP_NOT_FOUND + ], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code + } + + + } + public function doc_pending_post() + { + $bat = $this->post('batch'); + $br = $this->post('branch'); + $u = $this->post('university'); + + $getStatus = $this->report_model->doc_pending($bat,$br,$u); + //print_r($getStatus); + if ($getStatus) + { + $getStatus['status'] = REST_Controller::HTTP_OK; + // Set the response and exit + $this->response($getStatus, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code + } + else + { + // Set the response and exit + $this->response([ + 'message' => 'No records found!', + 'status' => REST_Controller::HTTP_NOT_FOUND + ], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code + } + + + } + public function wav_ref_post() + { + $bat = $this->post('batch'); + $br = $this->post('branch'); + $u = $this->post('university'); + + $getStatus = $this->report_model->wav_ref($bat,$br,$u); + //print_r($getStatus); + if ($getStatus) + { + $getStatus['status'] = REST_Controller::HTTP_OK; + // Set the response and exit + $this->response($getStatus, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code + } + else + { + // Set the response and exit + $this->response([ + 'message' => 'No records found!', + 'status' => REST_Controller::HTTP_NOT_FOUND + ], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code + } + + + } + public function examfee_post() + { + $bat = $this->post('batch'); + $br = $this->post('branch'); + $u = $this->post('university'); + + $getStatus = $this->report_model->examfee($bat,$br,$u); + //print_r($getStatus); + if ($getStatus) + { + $getStatus['status'] = REST_Controller::HTTP_OK; + // Set the response and exit + $this->response($getStatus, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code + } + else + { + // Set the response and exit + $this->response([ + 'message' => 'No records found!', + 'status' => REST_Controller::HTTP_NOT_FOUND + ], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code + } + + + } + public function balfee_post() + { + $bat = $this->post('batch'); + $br = $this->post('branch'); + $u = $this->post('university'); + + $getStatus = $this->report_model->balfee($bat,$br,$u); + //print_r($getStatus); + if ($getStatus) + { + $getStatus['status'] = REST_Controller::HTTP_OK; + // Set the response and exit + $this->response($getStatus, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code + } + else + { + // Set the response and exit + $this->response([ + 'message' => 'No records found!', + 'status' => REST_Controller::HTTP_NOT_FOUND + ], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code + } + + + } + public function filters_post() { - $getStatus = $this->report_model->batch(); + $getStatus = $this->report_model->filters(); //print_r($getStatus); if ($getStatus) { diff --git a/Apollo/api/application/models/Reports_model.php b/Apollo/api/application/models/Reports_model.php index c1e70126..e63eb5ee 100755 --- a/Apollo/api/application/models/Reports_model.php +++ b/Apollo/api/application/models/Reports_model.php @@ -70,10 +70,8 @@ class Reports_model extends CI_Model return $results; } - public function batch(){ - - - $sql = "SELECT BatchCode as batch,BatchName as bname FROM T_BatchMaster + public function filters(){ + $sql = "SELECT BatchCode as batch_code,BatchName as batch FROM T_BatchMaster group by batch;"; $b=$this->db->query($sql); $batch = $b->result(); @@ -84,22 +82,22 @@ class Reports_model extends CI_Model $results['batchlist'] = false; $results['message'] = 'No record found'; } - $sql = "SELECT BranchCode as brcode,BranchName as bname FROM T_BranchMaster"; + $sql = "SELECT BranchCode as brcode,BranchName as branch FROM T_BranchMaster"; $b=$this->db->query($sql); $batch = $b->result(); if (count($batch) > 0) { - $results['branchlist'] = true; + $results['branchlist'] = true; $results['branch'] = $batch; } else { $results['branchlist'] = false; $results['message'] = 'No record found'; } - $sql = "SELECT UniversityID as uid,UniversityName as uname FROM T_UniversityMaster"; + $sql = "SELECT UniversityID as uid,UniversityName as university FROM T_UniversityMaster"; $b=$this->db->query($sql); $batch = $b->result(); if (count($batch) > 0) { $results['univlist'] = true; - $results['univ'] = $batch; + $results['university'] = $batch; } else { $results['univlist'] = false; $results['message'] = 'No record found'; @@ -107,7 +105,7 @@ class Reports_model extends CI_Model return $results; } - public function mstatus($bat=null,$br=null,$u=null){ + public function markcard($bat=null,$br=null,$u=null){ $sql = "select @s:=@s+1 sl,sms.sid as ssid,std.name as name,std.father as father,br.bname as bname,ifnull(b.batch,'-') as batch,std.phone as phone,sms.cid as scid,sfp.bdate as bdate,list.status as status,u.uname as uname,cm.course as course,sms.sem as sem,sms.cdate as cdate,sfs.batch as fbatch,sfs.cid as fcid,cfd.syear as syear,sum(sfs.cf) as crsfee,sum(sfs.stf) as stf,sum(sfs.others) as others,(sum(sfs.cf) + sum(sfs.stf) + sum(sfs.others)) as total,ifnull(sfp.bamount,0) as bamount,(sum(sfs.cf) + (sum(sfs.stf) + sum(sfs.others)) - ifnull(sfp.bamount,0)) as balance from @@ -159,11 +157,11 @@ class Reports_model extends CI_Model $leadDet=$this->db->query($sql); $mstatusDetails = $leadDet->result(); if (count($mstatusDetails) > 0) { - $results['mstatusList'] = true; - $results['mstatusr'] = $mstatusDetails; + $results['markcardList'] = true; + $results['markcard_data'] = $mstatusDetails; } else { - $results['mstatusList'] = false; - $results['mmessage'] = 'No record found'; + $results['markcardList'] = false; + $results['message'] = 'No record found'; } return $results; @@ -221,11 +219,11 @@ class Reports_model extends CI_Model $leadDet=$this->db->query($sql); $cert_statusDetails = $leadDet->result(); if (count($cert_statusDetails) > 0) { - $results['cert_statusList'] = true; - $results['cert_status'] = $cert_statusDetails; + $results['certList'] = true; + $results['cert_data'] = $cert_statusDetails; } else { - $results['cert_statusList'] = false; - $results['cert_message'] = 'No record found'; + $results['certList'] = false; + $results['message'] = 'No record found'; } return $results; @@ -292,11 +290,11 @@ class Reports_model extends CI_Model $leadDet=$this->db->query($sql); $mcert_statusDetails = $leadDet->result(); if (count($mcert_statusDetails) > 0) { - $results['markcert_statusList'] = true; - $results['markcert_status'] = $mcert_statusDetails; + $results['mark_certList'] = true; + $results['mark_cert_data'] = $mcert_statusDetails; } else { - $results['markcert_statusList'] = false; - $results['markcert_message'] = 'No record found'; + $results['mark_certList'] = false; + $results['message'] = 'No record found'; } return $results; @@ -304,7 +302,7 @@ class Reports_model extends CI_Model } public function expense($from=null,$to=null){ - $sql = "SELECT exp.TypeName as exp_name,sum(dbm.Amount) as amount FROM T_Income_Outcome_Master exp + $sql = "SELECT dbm.Date as date,exp.TypeName as exp_name,sum(dbm.Amount) as amount FROM T_Income_Outcome_Master exp join T_DayBookMaster dbm on dbm.Type=exp.ID where dbm.Name = 'I001' "; @@ -323,16 +321,431 @@ class Reports_model extends CI_Model $leadDet=$this->db->query($sql); $expense = $leadDet->result(); if (count($expense) > 0) { - $results['expense_list'] = true; - $results['expense'] = $expense; + $results['expenseList'] = true; + $results['expense_data'] = $expense; } else { - $results['expense_list'] = false; - $results['expense_message'] = 'No record found'; + $results['expenseList'] = false; + $results['message'] = 'No record found'; } return $results; } - + public function answer_booklet($bat=null,$br=null,$u=null){ + + $sql = "select @s:=@s+1 sl,sms.sid as ssid,std.name as name,std.father as father,br.bname as bname,ifnull(b.batch,'-') as batch,std.phone as phone,sms.cmts as cmts,sms.cid as scid,sfp.bdate as bdate,list.status as status,u.uname as uname,cm.course as course,sms.sem as sem,sms.adate as adate,sfs.batch as fbatch,sfs.cid as fcid,cfd.syear as syear,sum(sfs.cf) as crsfee,sum(sfs.stf) as stf,sum(sfs.others) as others,(sum(sfs.cf) + sum(sfs.stf) + sum(sfs.others)) as total,ifnull(sfp.bamount,0) as bamount,(sum(sfs.cf) + (sum(sfs.stf) + sum(sfs.others)) - ifnull(sfp.bamount,0)) as balance + from + (SELECT StudentID as sid,CourseID as cid,BranchCode as branch,AnsDate as adate,ListCode as lcode,Comments as cmts,Sem as sem FROM T_AnswerBookletStatus) as sms + left join + (SELECT FeesID as fid,BatchCode as batch,StudentID as sid,CourseID as cid,FeesType as ftype,sum(CourseFees) as cf,Sum(STFOrWR) as stf,sum(Others) as others FROM T_Students_Fees_Status + group by sid,batch) as sfs on sfs.sid=sms.sid + left join + (SELECT StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount + FROM T_Students_Fees_PaidDetails, (SELECT @s:= 0) AS s + group by sid,fid,bdate) as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid + left join + (SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd + on cfd.cid=sms.cid + left join + (SELECT CourseID as cid,UniversityID as uid,CourseName as course FROM T_CourseMaster) as cm + on cm.cid=sfs.cid + left join + (SELECT UniversityID as uid,UniversityName as uname FROM T_UniversityMaster) as u + on u.uid=cm.uid + left join + (SELECT ListCode as lcode,ListName as status FROM T_PickListDetails) as list + on list.lcode=sms.lcode + left join + (SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father FROM T_StudentDetails) as std on std.sid=sms.sid + left join + (SELECT BatchCode as bcode,BatchName as batch FROM T_BatchMaster) as b on b.bcode=sfs.batch + left join + (SELECT BranchCode as brcode,BranchName as bname FROM T_BranchMaster) as br on br.brcode=sms.branch + where std.name != 'null' + "; + + if ($br!= ''){ + + $sql.=" and sms.branch = '".$br."'"; + + } + if ($bat!= ''){ + + $sql.=" and b.bcode = '".$bat."'"; + + } + if ($u!= ''){ + + $sql.=" and u.uid = '".$u."'"; + + } + $sql.=" group by ssid,sem,fbatch"; + $sql.=" order by sl"; + + + $leadDet=$this->db->query($sql); + $answer = $leadDet->result(); + if (count($answer) > 0) { + $results['ans_bookletList'] = true; + $results['ans_book_data'] = $answer; + } else { + $results['ans_bookletList'] = false; + $results['message'] = 'No record found'; + } + + return $results; + + } + public function app_pending($bat=null,$br=null,$u=null){ + + $sql = " select @s:=@s+1 sl,sms.sid as ssid,std.name as name,std.father as father,br.bname as bname,ifnull(b.batch,'-') as batch,std.phone as phone,sms.cmts as cmts,sms.cid as scid,sfp.bdate as bdate,list.status as status,u.uname as uname,cm.course as course,sms.adate as adate,sfs.batch as fbatch,sfs.cid as fcid,cfd.syear as syear,sum(sfs.cf) as crsfee,sum(sfs.stf) as stf,sum(sfs.others) as others,(sum(sfs.cf) + sum(sfs.stf) + sum(sfs.others)) as total,ifnull(sfp.bamount,0) as bamount,(sum(sfs.cf) + (sum(sfs.stf) + sum(sfs.others)) - ifnull(sfp.bamount,0)) as balance + from + (SELECT StudentID as sid,CourseID as cid,BranchCode as branch,AppDate as adate,ListCode as lcode,Comments as cmts FROM T_ApplicationStatus) as sms + left join + (SELECT FeesID as fid,BatchCode as batch,StudentID as sid,CourseID as cid,FeesType as ftype,sum(CourseFees) as cf,Sum(STFOrWR) as stf,sum(Others) as others FROM T_Students_Fees_Status + group by sid,batch) as sfs on sfs.sid=sms.sid + left join + (SELECT StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount + FROM T_Students_Fees_PaidDetails, (SELECT @s:= 0) AS s + group by sid,fid,bdate) as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid + left join + (SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd + on cfd.cid=sms.cid + left join + (SELECT CourseID as cid,UniversityID as uid,CourseName as course FROM T_CourseMaster) as cm + on cm.cid=sfs.cid + left join + (SELECT UniversityID as uid,UniversityName as uname FROM T_UniversityMaster) as u + on u.uid=cm.uid + left join + (SELECT ListCode as lcode,ListName as status FROM T_PickListDetails) as list + on list.lcode=sms.lcode + left join + (SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father FROM T_StudentDetails) as std on std.sid=sms.sid + left join + (SELECT BatchCode as bcode,BatchName as batch FROM T_BatchMaster) as b on b.bcode=sfs.batch + left join + (SELECT BranchCode as brcode,BranchName as bname FROM T_BranchMaster) as br on br.brcode=sms.branch + where std.name != 'null' + "; + + if ($br!= ''){ + + $sql.=" and sms.branch = '".$br."'"; + + } + if ($bat!= ''){ + + $sql.=" and b.bcode = '".$bat."'"; + + } + if ($u!= ''){ + + $sql.=" and u.uid = '".$u."'"; + + } + $sql.=" group by ssid,fbatch"; + $sql.=" order by sl"; + + + $leadDet=$this->db->query($sql); + $answer = $leadDet->result(); + if (count($answer) > 0) { + $results['app_pendingList'] = true; + $results['app_pending_data'] = $answer; + } else { + $results['app_pendingList'] = false; + $results['message'] = 'No record found'; + } + + return $results; + + } + public function doc_pending($bat=null,$br=null,$u=null){ + + $sql = "select @s:=@s+1 sl,sms.sid as ssid,std.name as name,std.father as father,br.bname as bname,ifnull(b.batch,'-') as batch,std.phone as phone,sms.cmts as cmts,sms.cid as scid,sfp.bdate as bdate,list.status as status,u.uname as uname,cm.course as course,sms.adate as adate,sfs.batch as fbatch,sfs.cid as fcid,cfd.syear as syear,sum(sfs.cf) as crsfee,sum(sfs.stf) as stf,sum(sfs.others) as others,(sum(sfs.cf) + sum(sfs.stf) + sum(sfs.others)) as total,ifnull(sfp.bamount,0) as bamount,(sum(sfs.cf) + (sum(sfs.stf) + sum(sfs.others)) - ifnull(sfp.bamount,0)) as balance, + (SELECT BillDate FROM T_Students_Fees_PaidDetails order by date(BillDate) limit 0,1) AS addate + from + (SELECT StudentID as sid,CourseID as cid,BranchCode as branch,AppDate as adate,ListCode as lcode,Comments as cmts FROM T_ApplicationStatus) as sms + left join + (SELECT FeesID as fid,BatchCode as batch,StudentID as sid,CourseID as cid,FeesType as ftype,sum(CourseFees) as cf,Sum(STFOrWR) as stf,sum(Others) as others FROM T_Students_Fees_Status + group by sid,batch) as sfs on sfs.sid=sms.sid + left join + (SELECT StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount + FROM T_Students_Fees_PaidDetails, (SELECT @s:= 0) AS s + group by sid,fid,bdate) as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid + left join + (SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd + on cfd.cid=sms.cid + left join + (SELECT CourseID as cid,UniversityID as uid,CourseName as course FROM T_CourseMaster) as cm + on cm.cid=sfs.cid + left join + (SELECT UniversityID as uid,UniversityName as uname FROM T_UniversityMaster) as u + on u.uid=cm.uid + left join + (SELECT ListCode as lcode,ListName as status FROM T_PickListDetails) as list + on list.lcode=sms.lcode + left join + (SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father FROM T_StudentDetails) as std on std.sid=sms.sid + left join + (SELECT BatchCode as bcode,BatchName as batch FROM T_BatchMaster) as b on b.bcode=sfs.batch + left join + (SELECT BranchCode as brcode,BranchName as bname FROM T_BranchMaster) as br on br.brcode=sms.branch + where std.name != 'null' + "; + + if ($br!= ''){ + + $sql.=" and sms.branch = '".$br."'"; + + } + if ($bat!= ''){ + + $sql.=" and b.bcode = '".$bat."'"; + + } + if ($u!= ''){ + + $sql.=" and u.uid = '".$u."'"; + + } + $sql.=" group by ssid,fbatch"; + $sql.=" order by sl"; + + + $leadDet=$this->db->query($sql); + $answer = $leadDet->result(); + if (count($answer) > 0) { + $results['doc_pendingList'] = true; + $results['doc_pending_data'] = $answer; + } else { + $results['doc_pendingList'] = false; + $results['message'] = 'No record found'; + } + + return $results; + + } + public function wav_ref($bat=null,$br=null,$u=null){ + + $sql = " select @s:=@s+1 sl,sms.sid as ssid,std.name as name,std.father as father,br.bname as bname,ifnull(b.batch,'-') as batch,std.phone as phone,sfp.cmts as cmts,u.uname as uname,cm.course as course,sfs.batch as fbatch,sfs.cid as fcid,cfd.syear as syear,sfp.waiver_bill as wbill,sfp.waiver as wamount,sfp.referal_bill as rbill,sfp.referal as ramount + from + (SELECT StudentID as sid,CourseID as cid,BranchCode as branch,AppDate as adate,ListCode as lcode,Comments as cmts FROM T_ApplicationStatus + + ) as sms + left join + (SELECT FeesID as fid,BatchCode as batch,StudentID as sid,CourseID as cid,FeesType as ftype,sum(CourseFees) as cf,Sum(STFOrWR) as stf,sum(Others) as others FROM T_Students_Fees_Status + group by sid,batch) as sfs on sfs.sid=sms.sid + left join + (SELECT StudentID as sid,CommentsForStudent as cmts,FeesId as fid, + IF(ModeOfPayment = 'WAIVER', BillNO,0) AS waiver_bill, + IF(ModeOfPayment = 'WAIVER', sum(BillAmount), 0) AS waiver, + IF(ModeOfPayment = 'REFERRAL', BillNO, 0) AS referal_bill, + IF(ModeOfPayment = 'REFERRAL', sum(BillAmount), 0) AS referal FROM T_Students_Fees_PaidDetails, (SELECT @s:= 0) AS s + group by waiver_bill,referal_bill) as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid + left join + (SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd + on cfd.cid=sfs.cid + left join + (SELECT CourseID as cid,UniversityID as uid,CourseName as course FROM T_CourseMaster) as cm + on cm.cid=sfs.cid + left join + (SELECT UniversityID as uid,UniversityName as uname FROM T_UniversityMaster) as u + on u.uid=cm.uid + left join + (SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father FROM T_StudentDetails) as std on std.sid=sms.sid + left join + (SELECT BatchCode as bcode,BatchName as batch FROM T_BatchMaster) as b on b.bcode=sfs.batch + left join + (SELECT BranchCode as brcode,BranchName as bname FROM T_BranchMaster) as br on br.brcode=sms.branch + where std.name != 'null' + + "; + + if ($br!= ''){ + + $sql.=" and sms.branch = '".$br."'"; + + } + if ($bat!= ''){ + + $sql.=" and b.bcode = '".$bat."'"; + + } + if ($u!= ''){ + + $sql.=" and u.uid = '".$u."'"; + + } + $sql.=" group by wbill,rbill"; + $sql.=" order by sl"; + + + $leadDet=$this->db->query($sql); + $answer = $leadDet->result(); + if (count($answer) > 0) { + $results['wav_refList'] = true; + $results['wav_ref_data'] = $answer; + } else { + $results['wav_refList'] = false; + $results['message'] = 'No record found'; + } + + return $results; + + } + public function examfee($bat=null,$br=null,$u=null){ + + $sql = " select @s:=@s+1 sl,sms.sid as ssid,std.name as name,std.father as father,br.bname as bname,ifnull(b.batch,'-') as batch,std.phone as phone,sfs.cmts as cmts,sms.cid as scid,sfp.bdate as bdate,list.status as status,u.uname as uname,cm.course as course,sms.sem as sem,sms.adate as adate,sfs.batch as fbatch,sfs.cid as fcid,cfd.syear as syear,sum(sfs.stf) as stf + from + (SELECT StudentID as sid,CourseID as cid,BranchCode as branch,AnsDate as adate,ListCode as lcode,Comments as cmts,Sem as sem FROM T_AnswerBookletStatus) as sms + left join + (SELECT FeesID as fid,BatchCode as batch,StudentID as sid,CourseID as cid,FeesType as ftype,sum(CourseFees) as cf,Sum(STFOrWR) as stf,sum(Others) as others,Comments as cmts FROM T_Students_Fees_Status + group by sid,batch) as sfs on sfs.sid=sms.sid + left join + (SELECT StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount + FROM T_Students_Fees_PaidDetails, (SELECT @s:= 0) AS s + group by sid,fid,bdate) as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid + left join + (SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd + on cfd.cid=sms.cid + left join + (SELECT CourseID as cid,UniversityID as uid,CourseName as course FROM T_CourseMaster) as cm + on cm.cid=sfs.cid + left join + (SELECT UniversityID as uid,UniversityName as uname FROM T_UniversityMaster) as u + on u.uid=cm.uid + left join + (SELECT ListCode as lcode,ListName as status FROM T_PickListDetails) as list + on list.lcode=sms.lcode + left join + (SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father FROM T_StudentDetails) as std on std.sid=sms.sid + left join + (SELECT BatchCode as bcode,BatchName as batch FROM T_BatchMaster) as b on b.bcode=sfs.batch + left join + (SELECT BranchCode as brcode,BranchName as bname FROM T_BranchMaster) as br on br.brcode=sms.branch + where std.name != 'null' + "; + + if ($br!= ''){ + + $sql.=" and sms.branch = '".$br."'"; + + } + if ($bat!= ''){ + + $sql.=" and b.bcode = '".$bat."'"; + + } + if ($u!= ''){ + + $sql.=" and u.uid = '".$u."'"; + + } + $sql.=" group by ssid,fbatch"; + $sql.=" order by sl"; + + + $leadDet=$this->db->query($sql); + $answer = $leadDet->result(); + if (count($answer) > 0) { + $results['examfeeList'] = true; + $results['examfee_data'] = $answer; + } else { + $results['examfeeList'] = false; + $results['message'] = 'No record found'; + } + + return $results; + + } + public function balfee($bat=null,$br=null,$u=null){ + $count="SELECT distinct StudentID as sid FROM T_Students_Fees_PaidDetails"; + $sc=$this->db->query($count); + $ct = $sc->result(); + $results=array(); + $answer=array(); + $sid= array(); + + $yy = new RecursiveIteratorIterator(new RecursiveArrayIterator($ct)); + foreach($yy as $t) { + $sid[]=$t; + } + $s=count($sid); + // echo $sid; + // print_r($s);die(); + + // while($sid<=$s){ + for($i=0;$i<$s;$i++){ + $sql = " SELECT @s:=@s+1 sl,ID,StudentID as sid,std.name as name,std.father as father,std.phone as phone,b.batch as batch,br.bname as bname,sfs.cid as cid,u.uname as uname,cm.course as course,cfd.syear as syear,sum(BillAmount) as bamount,sum(sfs.cf) as crsfee,sum(sfs.stf) as stf,sum(sfs.others) as others,(sum(sfs.cf) + sum(sfs.stf) + sum(sfs.others)) as total,(sum(sfs.cf) + (sum(sfs.stf) + sum(sfs.others)) - ifnull(sfp.BillAmount,0)) as balance,InternalComments as cmts, + (SELECT BillNO as billno FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 0,1) AS 1billno, + (SELECT BillAmount as billamt FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 0,1) AS 1billamt, + (SELECT BillNO as billno FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 1,1) AS 2billno, + (SELECT BillAmount as billamt FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 1,1) AS 2billamt, + (SELECT BillNO as billno FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 2,1) AS 3billno, + (SELECT BillAmount as billamt FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 2,1) AS 3billamt, + (SELECT BillNO as billno FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 3,1) AS 4billno, + (SELECT BillAmount as billamt FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 3,1) AS 4billamt, + (SELECT BillNO as billno FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 4,1) AS 5billno, + (SELECT BillAmount as billamt FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 4,1) AS 5billamt + FROM T_Students_Fees_PaidDetails as sfp + left join + (SELECT FeesID as fid,BatchCode as batch,StudentID as sid,CourseID as cid,FeesType as ftype,sum(CourseFees) as cf,Sum(STFOrWR) as stf,sum(Others) as others,Comments as cmts FROM T_Students_Fees_Status + group by sid,batch) as sfs on sfs.sid=sfp.StudentID + left join + (SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details, (SELECT @s:= 0) AS s) as cfd + on cfd.cid=sfs.cid + left join + (SELECT CourseID as cid,UniversityID as uid,CourseName as course FROM T_CourseMaster) as cm + on cm.cid=sfs.cid + left join + (SELECT UniversityID as uid,UniversityName as uname FROM T_UniversityMaster) as u + on u.uid=cm.uid + left join + (SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father FROM T_StudentDetails) as std on std.sid=sfp.StudentID + left join + (SELECT BatchCode as bcode,BatchName as batch FROM T_BatchMaster) as b on b.bcode=sfs.batch + left join + (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,BranchID as bid FROM T_Student_CourseDetails) as scd on scd.sid=sfp.StudentID + left join + (SELECT BranchCode as brcode,BranchName as bname FROM T_BranchMaster) as br on br.brcode=scd.bid + where StudentID = '".$sid[$i]."' + "; + + if ($br!= ''){ + + $sql.=" and sms.branch = '".$br."'"; + + } + if ($bat!= ''){ + + $sql.=" and b.bcode = '".$bat."'"; + + } + if ($u!= ''){ + + $sql.=" and u.uid = '".$u."'"; + + } + $sql.=" group by sid,cid,batch"; + $sql.=" order by sl"; + + + $leadDet=$this->db->query($sql); + $answer[] = $leadDet->result(); + + + if (count($answer) > 0) { + $results['balfeeList'] = true; + $results['balfee_data'] = $answer; + } else { + $results['balfeeList'] = false; + $results['message'] = 'No record found'; + } + } + return $results; + + } } \ No newline at end of file diff --git a/Apollo/assets/i18n/en.json b/Apollo/assets/i18n/en.json index cbeed4a3..9413d3f6 100755 --- a/Apollo/assets/i18n/en.json +++ b/Apollo/assets/i18n/en.json @@ -82,7 +82,13 @@ "mstatus": "MARK CARD STATUS ", "certificate_status": "CERTIFICATE STATUS ", "certificate_mark_status": "MARKCARD/CERTIFICATE ISSUED STATUS ", - "expense": "EXPENSE REPORT " + "expense": "EXPENSE REPORT ", + "answer_booklets": "ANSWER BOOKLETS STATUS REPORT ", + "app_pending": "APPLICATION PENDING STUDENT LIST REPORT", + "doc_pending": "DOCUMENT PENDING STUDENT LIST REPORT", + "wav_ref": "WAIVER AND REFERAL REPORT", + "examfee": "EXAM WRITING FEE REPORT", + "balfee": "FEE BALANCE REPORT" }, "student": { diff --git a/Apollo/assets/js/config.constant.js b/Apollo/assets/js/config.constant.js index 20444113..bed0c4f3 100755 --- a/Apollo/assets/js/config.constant.js +++ b/Apollo/assets/js/config.constant.js @@ -178,7 +178,18 @@ app.constant('JS_REQUIRES', { //*** Filters 'htmlToPlaintext': 'assets/js/filters/htmlToPlaintext.js', // reports - 'reportCtrl':'assets/js/controllers/reportCtrl.js' + 'reportCtrl':'assets/js/controllers/reportCtrl.js', + 'report_study_material_statusCtrl':'assets/js/controllers/report_study_material_statusCtrl.js', + 'report_markcard_statusCtrl':'assets/js/controllers/report_markcard_statusCtrl.js', + 'report_certificateCtrl':'assets/js/controllers/report_certificateCtrl.js', + 'report_markcard_certificateCtrl':'assets/js/controllers/report_markcard_certificateCtrl.js', + 'report_expenseCtrl':'assets/js/controllers/report_expenseCtrl.js', + 'report_ans_bookletCtrl':'assets/js/controllers/report_ans_bookletCtrl.js', + 'report_app_pendingCtrl':'assets/js/controllers/report_app_pendingCtrl.js', + 'report_doc_pendingCtrl':'assets/js/controllers/report_doc_pendingCtrl.js', + 'report_waiver_referalCtrl':'assets/js/controllers/report_waiver_referalCtrl.js', + 'report_examfeeCtrl':'assets/js/controllers/report_examfeeCtrl.js', + 'report_balfeeCtrl':'assets/js/controllers/report_balfeeCtrl.js', }, //*** angularJS Modules modules: [{ diff --git a/Apollo/assets/js/config.router.js b/Apollo/assets/js/config.router.js index 55640407..4d46ffd9 100755 --- a/Apollo/assets/js/config.router.js +++ b/Apollo/assets/js/config.router.js @@ -578,35 +578,71 @@ app.config(['$stateProvider', '$urlRouterProvider', '$controllerProvider', '$com label: 'Reports' } }).state('app.reports.studymaterial', { - url: '/reportCtrl', + url: '/report_study_material_statusCtrl', templateUrl: "assets/views/report_studymaterialstatus.html", - resolve: loadSequence('ui.select','reportCtrl','ngTable', 'ladda', 'angular-ladda'), + resolve: loadSequence('ui.select','report_study_material_statusCtrl','ngTable', 'ladda', 'angular-ladda'), title: 'Study Material Status Report', }).state('app.reports.markcard', { - url: '/reportCtrl', + url: '/report_markcard_statusCtrl', templateUrl: "assets/views/report_markcardstatus.html", - resolve: loadSequence('ui.select','reportCtrl','ngTable', 'ladda', 'angular-ladda'), + resolve: loadSequence('ui.select','report_markcard_statusCtrl','ngTable', 'ladda', 'angular-ladda'), title: 'Mark Card Status Report', }).state('app.reports.certificate', { - url: '/reportCtrl', + url: '/report_certificateCtrl', templateUrl: "assets/views/report_certificate_status.html", - resolve: loadSequence('ui.select','reportCtrl','ngTable', 'ladda', 'angular-ladda'), + resolve: loadSequence('ui.select','report_certificateCtrl','ngTable', 'ladda', 'angular-ladda'), title: 'Certificate Status Report', }).state('app.reports.mark_certificate', { - url: '/reportCtrl', + url: '/report_markcard_certificateCtrl', templateUrl: "assets/views/report_mark_certificate_status.html", - resolve: loadSequence('ui.select','reportCtrl','ngTable', 'ladda', 'angular-ladda'), + resolve: loadSequence('ui.select','report_markcard_certificateCtrl','ngTable', 'ladda', 'angular-ladda'), title: 'Markcard/Certificate Status Report', }).state('app.reports.expense', { - url: '/reportCtrl', + url: '/report_expenseCtrl', templateUrl: "assets/views/report_expense.html", - resolve: loadSequence('ui.select','reportCtrl','ngTable', 'ladda', 'angular-ladda'), + resolve: loadSequence('ui.select','report_expenseCtrl','ngTable', 'ladda', 'angular-ladda'), title: 'Expense Report', + }).state('app.reports.answer_booklets', { + url: '/report_ans_bookletCtrl', + templateUrl: "assets/views/report_answer_booklets.html", + resolve: loadSequence('ui.select','report_ans_bookletCtrl','ngTable', 'ladda', 'angular-ladda'), + title: 'Answer Booklets Status Report', + + }).state('app.reports.app_pending', { + url: '/report_app_pendingCtrl', + templateUrl: "assets/views/report_application_pending.html", + resolve: loadSequence('ui.select','report_app_pendingCtrl','ngTable', 'ladda', 'angular-ladda'), + title: 'Application Pending Student List Report', + + }).state('app.reports.doc_pending', { + url: '/report_doc_pendingCtrl', + templateUrl: "assets/views/report_document_pending.html", + resolve: loadSequence('ui.select','report_doc_pendingCtrl','ngTable', 'ladda', 'angular-ladda'), + title: 'Document Pending Student List Report', + + }).state('app.reports.wav_ref', { + url: '/report_waiver_referalCtrl', + templateUrl: "assets/views/report_waiver_referal.html", + resolve: loadSequence('ui.select','report_waiver_referalCtrl','ngTable', 'ladda', 'angular-ladda'), + title: 'Waiver and Referal Report', + + }).state('app.reports.examfee', { + url: '/report_examfeeCtrl', + templateUrl: "assets/views/report_exam_writing_fee.html", + resolve: loadSequence('ui.select','report_examfeeCtrl','ngTable', 'ladda', 'angular-ladda'), + title: 'Exam Writing Fee Report', + + }).state('app.reports.balfee', { + url: '/report_balfeeCtrl', + templateUrl: "assets/views/report_balance_fee.html", + resolve: loadSequence('ui.select','report_balfeeCtrl','ngTable', 'ladda', 'angular-ladda'), + title: 'Balance Fee Report', + }); // $locationProvider.html5Mode(true); diff --git a/Apollo/assets/js/controllers/reportCtrl.js b/Apollo/assets/js/controllers/reportCtrl.js deleted file mode 100755 index a24a7f77..00000000 --- a/Apollo/assets/js/controllers/reportCtrl.js +++ /dev/null @@ -1,215 +0,0 @@ -'use strict'; -/*** controller for Wizard Form example***/ -app.controller('reportCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window', - function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) { - - - - - - $scope.batch = { - "name": "", - "brname": "", - "univ": "", - "from_date": "", - "to_date": "", - }; - // // change from date(from date) - // $scope.changeDate = function () { - // if($scope.batch.from_date !== undefined) { - // var formate = "dd-MM-yyyy"; - // $scope.batch.from_date = $filter('date')(new Date($scope.batch.from_date), formate); - - // } else { - // $scope.searchData.date = ''; - - // } - // } - - // // change to date(to date) - // $scope.changeToDate = function () { - // if($scope.batch.to_date !== undefined) { - // var formate = "dd-MM-yyyy"; - // $scope.batch.to_date = $filter('date')(new Date($scope.batch.to_date), formate); - // //$scope.getDayBookList(); - // } else { - // $scope.batch.to_date = ''; - // // $scope.getDayBookList(); - // } - // } - - $scope.batch = function () { - var bat = { - method: 'POST', - url: apiPoint.url + 'reportbatchlist/', - headers: { - 'Content-Type': 'application/json' - } - - }; - - $http(bat).then(function (response) { - if (response.data) { - $scope.batch = response.data.batch; - $scope.branch = response.data.branch; - $scope.univ = response.data.univ; - //console.log($scope.branch); - } else { - } - }); - } - - $scope.onSubmit = function() { - //alert($scope.batch.name); - $scope.statusr = ''; - $scope.message = ''; - var sta = { - method: 'POST', - url: apiPoint.url + 'reportstatus/', - headers: { - 'Content-Type': 'application/json' - }, - data: { - bname : $scope.batch.name, - brname : $scope.batch.brname, - univ : $scope.batch.univ - } - - }; - - $http(sta).then(function (response) { - if (response.data.statusList == true) { - $scope.statusr = response.data.statusr; - - } else { - $scope.message = response.data.message; - } - - }); - - } - $scope.mSubmit = function() { - //alert($scope.batch.name); - $scope.mstatusr = ''; - $scope.mmessage = ''; - var msta = { - method: 'POST', - url: apiPoint.url + 'reportmstatus/', - headers: { - 'Content-Type': 'application/json' - }, - data: { - bname : $scope.batch.name, - brname : $scope.batch.brname, - univ : $scope.batch.univ - } - - }; - - $http(msta).then(function (response) { - if (response.data.mstatusList == true) { - $scope.mstatusr = response.data.mstatusr; - - } else { - $scope.mmessage = response.data.mmessage; - } - - }); - -} -$scope.cert_Submit = function() { - //alert($scope.batch.name); - $scope.cert_status = ''; - $scope.cert_message = ''; - var msta = { - method: 'POST', - url: apiPoint.url + 'reportcert_status/', - headers: { - 'Content-Type': 'application/json' - }, - data: { - bname : $scope.batch.name, - brname : $scope.batch.brname, - univ : $scope.batch.univ - } - - }; - - $http(msta).then(function (response) { - if (response.data.cert_statusList == true) { - $scope.cert_status = response.data.cert_status; - - } else { - $scope.cert_message = response.data.cert_message; - } - - }); - -} -$scope.mark_cert_Submit = function() { - //alert($scope.batch.name); - console.log($scope.batch); - $scope.markcert_status = ''; - $scope.markcert_message = ''; - var msta = { - method: 'POST', - url: apiPoint.url + 'reportmark_cert_status/', - headers: { - 'Content-Type': 'application/json' - }, - data: { - bname : $scope.batch.name, - brname : $scope.batch.brname, - univ : $scope.batch.univ, - from : $scope.batch.from_date, - to : $scope.batch.to_date - } - - }; - - $http(msta).then(function (response) { - if (response.data.markcert_statusList == true) { - $scope.markcert_status = response.data.markcert_status; - - } else { - $scope.markcert_message = response.data.markcert_message; - } - - }); - -} -$scope.expense_Submit = function() { - - $scope.expense = ''; - $scope.expense_message = ''; - var msta = { - method: 'POST', - url: apiPoint.url + 'reportexpense/', - headers: { - 'Content-Type': 'application/json' - }, - data: { - - from : $scope.batch.from_date, - to : $scope.batch.to_date - } - - }; - - $http(msta).then(function (response) { - if (response.data.expense_list == true) { - $scope.expense = response.data.expense; - - } else { - $scope.expense_message = response.data.expense_message; - } - - }); - -} - - }]); - - - - diff --git a/Apollo/assets/js/controllers/report_ans_bookletCtrl.js b/Apollo/assets/js/controllers/report_ans_bookletCtrl.js new file mode 100644 index 00000000..6998328b --- /dev/null +++ b/Apollo/assets/js/controllers/report_ans_bookletCtrl.js @@ -0,0 +1,72 @@ +'use strict'; +/*** controller***/ +app.controller('report_ans_bookletCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window', + function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) { + + // DataTables configurable options + + + $scope.filters = { + "branch": "", + "university": "", + "batch": "", + + + }; + + $scope.filters = function () { + var filterlist = { + method: 'POST', + url: apiPoint.url + 'report_filters/', + headers: { + 'Content-Type': 'application/json' + } + + }; + $http(filterlist).then(function (response) { + if (response.data) { + $scope.batch = response.data.batch; + $scope.branch = response.data.branch; + $scope.university = response.data.university; + //console.log($scope.branch); + } else { + } + }); + } + + $scope.onSubmit = function () { + //alert($scope.batch.name); + $scope.ans_book_data = ''; + $scope.message = ''; + var response_data = { + method: 'POST', + url: apiPoint.url + 'report_answer_booklet/', + headers: { + 'Content-Type': 'application/json' + }, + data: { + branch: $scope.filters.branch, + university: $scope.filters.university, + batch: $scope.filters.batch + + } + + }; + + $http(response_data).then(function (response) { + if (response.data.ans_bookletList == true) { + $scope.ans_book_data = response.data.ans_book_data; + + } else { + $scope.message = response.data.message; + } + + }); + + } + + }]); + + + + diff --git a/Apollo/assets/js/controllers/report_app_pendingCtrl.js b/Apollo/assets/js/controllers/report_app_pendingCtrl.js new file mode 100644 index 00000000..d22e308e --- /dev/null +++ b/Apollo/assets/js/controllers/report_app_pendingCtrl.js @@ -0,0 +1,72 @@ +'use strict'; +/*** controller***/ +app.controller('report_app_pendingCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window', + function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) { + + // DataTables configurable options + + + $scope.filters = { + "branch": "", + "university": "", + "batch": "", + + + }; + + $scope.filters = function () { + var filterlist = { + method: 'POST', + url: apiPoint.url + 'report_filters/', + headers: { + 'Content-Type': 'application/json' + } + + }; + $http(filterlist).then(function (response) { + if (response.data) { + $scope.batch = response.data.batch; + $scope.branch = response.data.branch; + $scope.university = response.data.university; + //console.log($scope.branch); + } else { + } + }); + } + + $scope.onSubmit = function () { + //alert($scope.batch.name); + $scope.app_pending_data = ''; + $scope.message = ''; + var response_data = { + method: 'POST', + url: apiPoint.url + 'report_app_pending/', + headers: { + 'Content-Type': 'application/json' + }, + data: { + branch: $scope.filters.branch, + university: $scope.filters.university, + batch: $scope.filters.batch + + } + + }; + + $http(response_data).then(function (response) { + if (response.data.app_pendingList == true) { + $scope.app_pending_data = response.data.app_pending_data; + + } else { + $scope.message = response.data.message; + } + + }); + + } + + }]); + + + + diff --git a/Apollo/assets/js/controllers/report_balfeeCtrl.js b/Apollo/assets/js/controllers/report_balfeeCtrl.js new file mode 100644 index 00000000..cec1dea0 --- /dev/null +++ b/Apollo/assets/js/controllers/report_balfeeCtrl.js @@ -0,0 +1,72 @@ +'use strict'; +/*** controller***/ +app.controller('report_balfeeCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window', + function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) { + + // DataTables configurable options + + + $scope.filters = { + "branch": "", + "university": "", + "batch": "", + + + }; + + $scope.filters = function () { + var filterlist = { + method: 'POST', + url: apiPoint.url + 'report_filters/', + headers: { + 'Content-Type': 'application/json' + } + + }; + $http(filterlist).then(function (response) { + if (response.data) { + $scope.batch = response.data.batch; + $scope.branch = response.data.branch; + $scope.university = response.data.university; + //console.log($scope.branch); + } else { + } + }); + } + + $scope.onSubmit = function () { + //alert($scope.batch.name); + $scope.balfee_data = ''; + $scope.message = ''; + var response_data = { + method: 'POST', + url: apiPoint.url + 'report_balfee/', + headers: { + 'Content-Type': 'application/json' + }, + data: { + branch: $scope.filters.branch, + university: $scope.filters.university, + batch: $scope.filters.batch + + } + + }; + + $http(response_data).then(function (response) { + if (response.data.balfeeList == true) { + $scope.balfee_data = response.data.balfee_data; + + } else { + $scope.message = response.data.message; + } + + }); + + } + + }]); + + + + diff --git a/Apollo/assets/js/controllers/report_certificateCtrl.js b/Apollo/assets/js/controllers/report_certificateCtrl.js new file mode 100644 index 00000000..53c0388c --- /dev/null +++ b/Apollo/assets/js/controllers/report_certificateCtrl.js @@ -0,0 +1,70 @@ +'use strict'; +/*** controller***/ +app.controller('report_certificateCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window', + function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) { + + // DataTables configurable options + + + $scope.filters = { + "branch": "", + "university": "", + "batch": "", + + }; + + $scope.filters = function () { + var filterlist = { + method: 'POST', + url: apiPoint.url + 'report_filters/', + headers: { + 'Content-Type': 'application/json' + } + + }; + $http(filterlist).then(function (response) { + if (response.data) { + $scope.batch = response.data.batch; + $scope.branch = response.data.branch; + $scope.university = response.data.university; + //console.log($scope.branch); + } else { + } + }); + } + + $scope.onSubmit = function () { + //alert($scope.batch.name); + $scope.cert_data = ''; + $scope.message = ''; + var response_data = { + method: 'POST', + url: apiPoint.url + 'report_certificate/', + headers: { + 'Content-Type': 'application/json' + }, + data: { + branch: $scope.filters.branch, + university: $scope.filters.university, + batch: $scope.filters.batch + } + + }; + + $http(response_data).then(function (response) { + if (response.data.certList == true) { + $scope.cert_data = response.data.cert_data; + + } else { + $scope.message = response.data.message; + } + + }); + + } + + }]); + + + + diff --git a/Apollo/assets/js/controllers/report_doc_pendingCtrl.js b/Apollo/assets/js/controllers/report_doc_pendingCtrl.js new file mode 100644 index 00000000..fa011528 --- /dev/null +++ b/Apollo/assets/js/controllers/report_doc_pendingCtrl.js @@ -0,0 +1,72 @@ +'use strict'; +/*** controller***/ +app.controller('report_doc_pendingCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window', + function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) { + + // DataTables configurable options + + + $scope.filters = { + "branch": "", + "university": "", + "batch": "", + + + }; + + $scope.filters = function () { + var filterlist = { + method: 'POST', + url: apiPoint.url + 'report_filters/', + headers: { + 'Content-Type': 'application/json' + } + + }; + $http(filterlist).then(function (response) { + if (response.data) { + $scope.batch = response.data.batch; + $scope.branch = response.data.branch; + $scope.university = response.data.university; + //console.log($scope.branch); + } else { + } + }); + } + + $scope.onSubmit = function () { + //alert($scope.batch.name); + $scope.doc_pending_data = ''; + $scope.message = ''; + var response_data = { + method: 'POST', + url: apiPoint.url + 'report_doc_pending/', + headers: { + 'Content-Type': 'application/json' + }, + data: { + branch: $scope.filters.branch, + university: $scope.filters.university, + batch: $scope.filters.batch + + } + + }; + + $http(response_data).then(function (response) { + if (response.data.doc_pendingList == true) { + $scope.doc_pending_data = response.data.doc_pending_data; + + } else { + $scope.message = response.data.message; + } + + }); + + } + + }]); + + + + diff --git a/Apollo/assets/js/controllers/report_examfeeCtrl.js b/Apollo/assets/js/controllers/report_examfeeCtrl.js new file mode 100644 index 00000000..d7a3baba --- /dev/null +++ b/Apollo/assets/js/controllers/report_examfeeCtrl.js @@ -0,0 +1,72 @@ +'use strict'; +/*** controller***/ +app.controller('report_examfeeCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window', + function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) { + + // DataTables configurable options + + + $scope.filters = { + "branch": "", + "university": "", + "batch": "", + + + }; + + $scope.filters = function () { + var filterlist = { + method: 'POST', + url: apiPoint.url + 'report_filters/', + headers: { + 'Content-Type': 'application/json' + } + + }; + $http(filterlist).then(function (response) { + if (response.data) { + $scope.batch = response.data.batch; + $scope.branch = response.data.branch; + $scope.university = response.data.university; + //console.log($scope.branch); + } else { + } + }); + } + + $scope.onSubmit = function () { + //alert($scope.batch.name); + $scope.examfee_data = ''; + $scope.message = ''; + var response_data = { + method: 'POST', + url: apiPoint.url + 'report_examfee/', + headers: { + 'Content-Type': 'application/json' + }, + data: { + branch: $scope.filters.branch, + university: $scope.filters.university, + batch: $scope.filters.batch + + } + + }; + + $http(response_data).then(function (response) { + if (response.data.examfeeList == true) { + $scope.examfee_data = response.data.examfee_data; + + } else { + $scope.message = response.data.message; + } + + }); + + } + + }]); + + + + diff --git a/Apollo/assets/js/controllers/report_expenseCtrl.js b/Apollo/assets/js/controllers/report_expenseCtrl.js new file mode 100644 index 00000000..faa64494 --- /dev/null +++ b/Apollo/assets/js/controllers/report_expenseCtrl.js @@ -0,0 +1,70 @@ +'use strict'; +/*** controller***/ +app.controller('report_expenseCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window', + function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) { + + // DataTables configurable options + + + $scope.filters = { + + "from_date": "", + "to_date": "", + + }; + + $scope.filters = function () { + var filterlist = { + method: 'POST', + url: apiPoint.url + 'report_filters/', + headers: { + 'Content-Type': 'application/json' + } + + }; + $http(filterlist).then(function (response) { + if (response.data) { + $scope.batch = response.data.batch; + $scope.branch = response.data.branch; + $scope.university = response.data.university; + //console.log($scope.branch); + } else { + } + }); + } + + $scope.onSubmit = function () { + //alert($scope.batch.name); + $scope.expense_data = ''; + $scope.message = ''; + var response_data = { + method: 'POST', + url: apiPoint.url + 'report_expense/', + headers: { + 'Content-Type': 'application/json' + }, + data: { + + from : $scope.filters.from_date, + to : $scope.filters.to_date + } + + }; + + $http(response_data).then(function (response) { + if (response.data.expenseList == true) { + $scope.expense_data = response.data.expense_data; + + } else { + $scope.message = response.data.message; + } + + }); + + } + + }]); + + + + diff --git a/Apollo/assets/js/controllers/report_markcard_certificateCtrl.js b/Apollo/assets/js/controllers/report_markcard_certificateCtrl.js new file mode 100644 index 00000000..5484847a --- /dev/null +++ b/Apollo/assets/js/controllers/report_markcard_certificateCtrl.js @@ -0,0 +1,74 @@ +'use strict'; +/*** controller***/ +app.controller('report_markcard_certificateCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window', + function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) { + + // DataTables configurable options + + + $scope.filters = { + "branch": "", + "university": "", + "batch": "", + "from_date": "", + "to_date": "", + + }; + + $scope.filters = function () { + var filterlist = { + method: 'POST', + url: apiPoint.url + 'report_filters/', + headers: { + 'Content-Type': 'application/json' + } + + }; + $http(filterlist).then(function (response) { + if (response.data) { + $scope.batch = response.data.batch; + $scope.branch = response.data.branch; + $scope.university = response.data.university; + //console.log($scope.branch); + } else { + } + }); + } + + $scope.onSubmit = function () { + //alert($scope.batch.name); + $scope.mark_cert_data = ''; + $scope.message = ''; + var response_data = { + method: 'POST', + url: apiPoint.url + 'report_markcard_certificate/', + headers: { + 'Content-Type': 'application/json' + }, + data: { + branch: $scope.filters.branch, + university: $scope.filters.university, + batch: $scope.filters.batch, + from : $scope.filters.from_date, + to : $scope.filters.to_date + } + + }; + + $http(response_data).then(function (response) { + if (response.data.mark_certList == true) { + $scope.mark_cert_data = response.data.mark_cert_data; + + } else { + $scope.message = response.data.message; + } + + }); + + } + + }]); + + + + diff --git a/Apollo/assets/js/controllers/report_markcard_statusCtrl.js b/Apollo/assets/js/controllers/report_markcard_statusCtrl.js new file mode 100644 index 00000000..11cea2a2 --- /dev/null +++ b/Apollo/assets/js/controllers/report_markcard_statusCtrl.js @@ -0,0 +1,70 @@ +'use strict'; +/*** controller***/ +app.controller('report_markcard_statusCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window', + function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) { + + // DataTables configurable options + + + $scope.filters = { + "branch": "", + "university": "", + "batch": "", + + }; + + $scope.filters = function () { + var filterlist = { + method: 'POST', + url: apiPoint.url + 'report_filters/', + headers: { + 'Content-Type': 'application/json' + } + + }; + $http(filterlist).then(function (response) { + if (response.data) { + $scope.batch = response.data.batch; + $scope.branch = response.data.branch; + $scope.university = response.data.university; + //console.log($scope.branch); + } else { + } + }); + } + + $scope.onSubmit = function () { + //alert($scope.batch.name); + $scope.markcard_data = ''; + $scope.message = ''; + var response_data = { + method: 'POST', + url: apiPoint.url + 'report_markcard/', + headers: { + 'Content-Type': 'application/json' + }, + data: { + branch: $scope.filters.branch, + university: $scope.filters.university, + batch: $scope.filters.batch + } + + }; + + $http(response_data).then(function (response) { + if (response.data.markcardList == true) { + $scope.markcard_data = response.data.markcard_data; + + } else { + $scope.message = response.data.message; + } + + }); + + } + + }]); + + + + diff --git a/Apollo/assets/js/controllers/report_study_material_statusCtrl.js b/Apollo/assets/js/controllers/report_study_material_statusCtrl.js new file mode 100644 index 00000000..b23c806c --- /dev/null +++ b/Apollo/assets/js/controllers/report_study_material_statusCtrl.js @@ -0,0 +1,70 @@ +'use strict'; +/*** controller***/ +app.controller('report_study_material_statusCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window', + function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) { + + // DataTables configurable options + + + $scope.filters = { + "branch": "", + "university": "", + "batch": "", + + }; + + $scope.filters = function () { + var filterlist = { + method: 'POST', + url: apiPoint.url + 'report_filters/', + headers: { + 'Content-Type': 'application/json' + } + + }; + $http(filterlist).then(function (response) { + if (response.data) { + $scope.batch = response.data.batch; + $scope.branch = response.data.branch; + $scope.university = response.data.university; + console.log($scope.branch); + } else { + } + }); + } + + $scope.onSubmit = function() { + //alert($scope.batch.name); + $scope.study_mat_data = ''; + $scope.message = ''; + var response_data = { + method: 'POST', + url: apiPoint.url + 'report_status/', + headers: { + 'Content-Type': 'application/json' + }, + data: { + branch : $scope.filters.branch, + university : $scope.filters.university, + batch : $scope.filters.batch + } + + }; + + $http(response_data).then(function (response) { + if (response.data.statusList == true) { + $scope.study_mat_data = response.data.statusr; + + } else { + $scope.message = response.data.message; + } + + }); + + } + + }]); + + + + diff --git a/Apollo/assets/js/controllers/report_waiver_referalCtrl.js b/Apollo/assets/js/controllers/report_waiver_referalCtrl.js new file mode 100644 index 00000000..b5fa33d2 --- /dev/null +++ b/Apollo/assets/js/controllers/report_waiver_referalCtrl.js @@ -0,0 +1,73 @@ +'use strict'; +/*** controller***/ +app.controller('report_waiver_referalCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window', + function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) { + + // DataTables configurable options + + + $scope.filters = { + "branch": "", + "university": "", + "batch": "", + + + }; + + $scope.filters = function () { + var filterlist = { + method: 'POST', + url: apiPoint.url + 'report_filters/', + headers: { + 'Content-Type': 'application/json' + } + + }; + $http(filterlist).then(function (response) { + if (response.data) { + $scope.batch = response.data.batch; + $scope.branch = response.data.branch; + $scope.university = response.data.university; + //console.log($scope.branch); + } else { + } + }); + } + + $scope.onSubmit = function () { + //alert($scope.batch.name); + $scope.waiver_referal_data = ''; + $scope.message = ''; + console.log($scope.waiver_referal_data); + var response_data = { + method: 'POST', + url: apiPoint.url + 'report_wav_ref/', + headers: { + 'Content-Type': 'application/json' + }, + data: { + branch: $scope.filters.branch, + university: $scope.filters.university, + batch: $scope.filters.batch + + } + + }; + + $http(response_data).then(function (response) { + if (response.data.wav_refList == true) { + $scope.waiver_referal_data = response.data.wav_ref_data; + + } else { + $scope.message = response.data.message; + } + + }); + + } + + }]); + + + + diff --git a/Apollo/assets/views/partials/nav.html b/Apollo/assets/views/partials/nav.html index 95a09cf4..e3e185b6 100755 --- a/Apollo/assets/views/partials/nav.html +++ b/Apollo/assets/views/partials/nav.html @@ -360,6 +360,32 @@ Expense Report +
  • + + Answer Booklets Status Report + +
  • +
  • + + Application Pending Student List Report + +
  • +
  • + + Document Pending Student List Report + +
  • +
  • + + Waiver and Referal Report + +
  • +
  • + + Exam Writing Fee Report + +
  • + diff --git a/Apollo/assets/views/report_answer_booklets.html b/Apollo/assets/views/report_answer_booklets.html new file mode 100644 index 00000000..735fbd03 --- /dev/null +++ b/Apollo/assets/views/report_answer_booklets.html @@ -0,0 +1,130 @@ +
    +
    +
    +

    Answer Booklets Status Report

    +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    + +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    +
    +
    +
    + +
    + +
    + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    SL.NoStudent IDStudent NameFather NameCourseSem/YearPhone NoUniversityAnswer Booklet StatusDate
    {{p.sl}}{{p.ssid}}{{p.name}}{{p.father}}{{p.course}}{{p.syear}}({{p.sem}}){{p.phone}}{{p.uname}}{{p.status}}{{p.adate}}
    +

    {{message}}

    + +
    + + + +
    +
    \ No newline at end of file diff --git a/Apollo/assets/views/report_application_pending.html b/Apollo/assets/views/report_application_pending.html new file mode 100644 index 00000000..761c10df --- /dev/null +++ b/Apollo/assets/views/report_application_pending.html @@ -0,0 +1,132 @@ +
    +
    +
    +

    Application Pending Student List Report

    +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    + +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    +
    +
    +
    + +
    + +
    + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    SL.NoAdmission DateStudent IDStudent NameFather NameCourseSem/YearPhone NoUniversityApplication Status
    {{p.sl}}{{p.adate}}{{p.ssid}}{{p.name}}{{p.father}}{{p.course}}{{p.syear}}{{p.phone}}{{p.uname}}{{p.status}}
    +

    {{message}}

    + +
    + + + +
    +
    \ No newline at end of file diff --git a/Apollo/assets/views/report_balance_fee.html b/Apollo/assets/views/report_balance_fee.html new file mode 100644 index 00000000..a26c4986 --- /dev/null +++ b/Apollo/assets/views/report_balance_fee.html @@ -0,0 +1,171 @@ +
    +
    +
    +

    Fee Balance Report

    +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    + +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    +
    +
    +
    + +
    + +
    + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Sum of Total FeeSum of Fees PaidSum of Balance Fee1st payment2nd payment3rd payment4th payment5th paymentComments
    SL.NoStudent IDStudent NameFather NameCourseSem/YearPhone NoUniversityTotal FeeFees PaidBalanceBill NoAmountBill NoAmountBill NoAmountBill NoAmountBill NoAmountComments
    {{p.sl}}{{p.ssid}}{{p.name}}{{p.father}}{{p.course}}{{p.syear}}{{p.phone}}{{p.uname}}{{p.total}}{{p.bamount}}{{p.balance}}{{p.1billno}}{{p.1billamt}}{{p.2billno}}{{p.2billamt}}{{p.3billno}}{{p.3billamt}}{{p.4billno}}{{p.4billamt}}{{p.5billno}}{{p.5billamt}}{{p.cmts}}
    +

    {{message}}

    + +
    + + + +
    +
    \ No newline at end of file diff --git a/Apollo/assets/views/report_certificate_status.html b/Apollo/assets/views/report_certificate_status.html index 8a867a52..5d9bd171 100755 --- a/Apollo/assets/views/report_certificate_status.html +++ b/Apollo/assets/views/report_certificate_status.html @@ -10,7 +10,7 @@ /* .sort-icon { font-size: 9px; margin-left: 5px; - } + } th { cursor: pointer; @@ -21,8 +21,8 @@
    -
    -
    +
    +
    @@ -33,9 +33,9 @@ Branch - - +
    @@ -43,9 +43,9 @@ University - - +
    @@ -53,9 +53,9 @@ Batch - - +
    +
    + + + +
    +
    + +
    +
    +
    + +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    +
    +
    +
    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    SL.NoAdmission DateStudent IDStudent NameFather NameCourseSem/YearPhone NoUniversityDocument Status
    {{p.sl}}{{p.adate}}{{p.ssid}}{{p.name}}{{p.father}}{{p.course}}{{p.syear}}{{p.phone}}{{p.uname}}{{p.status}}
    +

    {{message}}

    + +
    + + + +
    +
    \ No newline at end of file diff --git a/Apollo/assets/views/report_exam_writing_fee.html b/Apollo/assets/views/report_exam_writing_fee.html new file mode 100644 index 00000000..2b6b6fbc --- /dev/null +++ b/Apollo/assets/views/report_exam_writing_fee.html @@ -0,0 +1,138 @@ +
    +
    +
    +

    Exam Writing Fee Report

    +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    + +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    +
    +
    +
    + +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Sum of Exam Writing Fee
    SL.NoStudent IDStudent NameFather NameCourseSem/YearPhone NoUniversityExam Writing FeeComments
    {{p.sl}}{{p.ssid}}{{p.name}}{{p.father}}{{p.course}}{{p.syear}}{{p.phone}}{{p.uname}}{{p.stf}}{{p.cmts}}
    +

    {{message}}

    + +
    + + + +
    +
    \ No newline at end of file diff --git a/Apollo/assets/views/report_expense.html b/Apollo/assets/views/report_expense.html index 6c9b5301..70658e8a 100755 --- a/Apollo/assets/views/report_expense.html +++ b/Apollo/assets/views/report_expense.html @@ -21,8 +21,8 @@
    -
    -
    +
    +
    @@ -35,7 +35,7 @@ - @@ -48,7 +48,7 @@ - @@ -97,7 +97,7 @@ - + {{$index + 1}} {{p.exp_name}} @@ -108,7 +108,7 @@ -

    {{expense_message}}

    +

    {{message}}

    diff --git a/Apollo/assets/views/report_mark_certificate_status.html b/Apollo/assets/views/report_mark_certificate_status.html index 505f68c9..3d918053 100755 --- a/Apollo/assets/views/report_mark_certificate_status.html +++ b/Apollo/assets/views/report_mark_certificate_status.html @@ -21,65 +21,65 @@
    -
    - +
    +
    -
    +
    - - +
    -
    +
    - - +
    -
    +
    - - +
    -
    +
    -
    -
    +
    - @@ -97,8 +97,8 @@
    --> -
    -
    +
    +
    -
    -
    - +
    +
    @@ -33,9 +36,9 @@ Branch - - +
    @@ -43,9 +46,9 @@ University - - +
    @@ -53,9 +56,9 @@ Batch - - +
    -
    + +
    - - - - +
    + - @@ -117,7 +118,7 @@ - + @@ -127,7 +128,7 @@ - + @@ -136,11 +137,11 @@
    SL.No Intial Payment Paid Date
    {{p.sl}} {{p.bdate}}{{p.course}} {{p.syear}}({{p.sem}}) {{p.phone}}{{p.univ}}{{p.uname}} {{p.balance}} {{p.status}} {{p.cdate}}
    -

    {{mmessage}}

    +

    {{message}}

    - - +
    \ No newline at end of file diff --git a/Apollo/assets/views/report_studymaterialstatus.html b/Apollo/assets/views/report_studymaterialstatus.html index 114c16e6..3d4a2d4e 100755 --- a/Apollo/assets/views/report_studymaterialstatus.html +++ b/Apollo/assets/views/report_studymaterialstatus.html @@ -7,7 +7,7 @@
    + +
    +
    + +
    +
    +
    + +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    +
    +
    +
    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Sum of Waiver FeeSum of Referal Fee
    SL.NoStudent IDStudent NameFather NameCourseSem/YearPhone NoWaiver Bill NoWaivers AmountReferal Bill NoReferal AmountComments
    {{p.sl}}{{p.ssid}}{{p.name}}{{p.father}}{{p.course}}{{p.syear}}{{p.phone}}{{p.wbill}}{{p.wamount}}{{p.rbill}}{{p.ramount}}{{p.cmts}}
    +

    {{message}}

    + +
    + + + +
    +
    \ No newline at end of file