new reports added
This commit is contained in:
parent
3b4818320e
commit
95888fa9b6
@ -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';
|
||||
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
@ -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;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -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": {
|
||||
|
||||
@ -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: [{
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}]);
|
||||
|
||||
|
||||
|
||||
|
||||
72
Apollo/assets/js/controllers/report_ans_bookletCtrl.js
Normal file
72
Apollo/assets/js/controllers/report_ans_bookletCtrl.js
Normal file
@ -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;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}]);
|
||||
|
||||
|
||||
|
||||
|
||||
72
Apollo/assets/js/controllers/report_app_pendingCtrl.js
Normal file
72
Apollo/assets/js/controllers/report_app_pendingCtrl.js
Normal file
@ -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;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}]);
|
||||
|
||||
|
||||
|
||||
|
||||
72
Apollo/assets/js/controllers/report_balfeeCtrl.js
Normal file
72
Apollo/assets/js/controllers/report_balfeeCtrl.js
Normal file
@ -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;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}]);
|
||||
|
||||
|
||||
|
||||
|
||||
70
Apollo/assets/js/controllers/report_certificateCtrl.js
Normal file
70
Apollo/assets/js/controllers/report_certificateCtrl.js
Normal file
@ -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;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}]);
|
||||
|
||||
|
||||
|
||||
|
||||
72
Apollo/assets/js/controllers/report_doc_pendingCtrl.js
Normal file
72
Apollo/assets/js/controllers/report_doc_pendingCtrl.js
Normal file
@ -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;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}]);
|
||||
|
||||
|
||||
|
||||
|
||||
72
Apollo/assets/js/controllers/report_examfeeCtrl.js
Normal file
72
Apollo/assets/js/controllers/report_examfeeCtrl.js
Normal file
@ -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;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}]);
|
||||
|
||||
|
||||
|
||||
|
||||
70
Apollo/assets/js/controllers/report_expenseCtrl.js
Normal file
70
Apollo/assets/js/controllers/report_expenseCtrl.js
Normal file
@ -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;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}]);
|
||||
|
||||
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}]);
|
||||
|
||||
|
||||
|
||||
|
||||
70
Apollo/assets/js/controllers/report_markcard_statusCtrl.js
Normal file
70
Apollo/assets/js/controllers/report_markcard_statusCtrl.js
Normal file
@ -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;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}]);
|
||||
|
||||
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}]);
|
||||
|
||||
|
||||
|
||||
|
||||
73
Apollo/assets/js/controllers/report_waiver_referalCtrl.js
Normal file
73
Apollo/assets/js/controllers/report_waiver_referalCtrl.js
Normal file
@ -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;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}]);
|
||||
|
||||
|
||||
|
||||
|
||||
@ -360,6 +360,32 @@
|
||||
<span class="title" translate="sidebar.nav.report.expense">Expense Report</span>
|
||||
</a>
|
||||
</li>
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.reports.answer_booklets" ng-click="checkSuperAdmin()">
|
||||
<span class="title" translate="sidebar.nav.report.answer_booklets">Answer Booklets Status Report</span>
|
||||
</a>
|
||||
</li>
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.reports.app_pending" ng-click="checkSuperAdmin()">
|
||||
<span class="title" translate="sidebar.nav.report.app_pending">Application Pending Student List Report</span>
|
||||
</a>
|
||||
</li>
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.reports.doc_pending" ng-click="checkSuperAdmin()">
|
||||
<span class="title" translate="sidebar.nav.report.doc_pending">Document Pending Student List Report</span>
|
||||
</a>
|
||||
</li>
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.reports.wav_ref" ng-click="checkSuperAdmin()">
|
||||
<span class="title" translate="sidebar.nav.report.wav_ref">Waiver and Referal Report</span>
|
||||
</a>
|
||||
</li>
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.reports.examfee" ng-click="checkSuperAdmin()">
|
||||
<span class="title" translate="sidebar.nav.report.examfee">Exam Writing Fee Report</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
130
Apollo/assets/views/report_answer_booklets.html
Normal file
130
Apollo/assets/views/report_answer_booklets.html
Normal file
@ -0,0 +1,130 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle">Answer Booklets Status Report</h1>
|
||||
</div>
|
||||
<!-- <div ncy-breadcrumb></div> -->
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
th {
|
||||
cursor: pointer;
|
||||
} */
|
||||
</style>
|
||||
<script type="text/javascript" src="bower_components/ng-table-excel-export/ng-table-excel-export.min.js">
|
||||
|
||||
|
||||
</script>
|
||||
<div class="container-fluid container-fullw bg-white">
|
||||
<div ng-controller="report_ans_bookletCtrl" ng-init="filters()">
|
||||
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
|
||||
<fieldset>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
Branch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.branch">
|
||||
<option value="" selected>Select Branch</option>
|
||||
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.branch}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
University
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.university">
|
||||
<option value="" selected>Select University</option>
|
||||
<option ng-repeat="u in university" value="{{u.uid}}"> {{u.university}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
Batch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.batch">
|
||||
<option value="" selected>Select Batch</option>
|
||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.batch_code}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2" style="padding-top: 2.3%;">
|
||||
<div >
|
||||
|
||||
<button type="submit" class="btn btn-success btn-o" tabindex="8">
|
||||
Submit
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
<!-- <pre>{{statusr | json}}</pre> -->
|
||||
<div style="text-align: right;">
|
||||
<a download="Mark_Card_certificate_status({{batch.name}}).xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Markcard/Certificate Status');">
|
||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table id="datatable" class="table table-hover">
|
||||
|
||||
|
||||
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<th>SL.No</th>
|
||||
<th>Student ID</th>
|
||||
<th>Student Name</th>
|
||||
<th>Father Name</th>
|
||||
<th>Course</th>
|
||||
<th>Sem/Year</th>
|
||||
<th>Phone No</th>
|
||||
<th>University</th>
|
||||
<th>Answer Booklet Status</th>
|
||||
<th>Date</th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody dir-paginate="p in ans_book_data|filter:search:strict|itemsPerPage:10">
|
||||
<tr>
|
||||
<td>{{p.sl}}</td>
|
||||
<td>{{p.ssid}}</td>
|
||||
<td>{{p.name}}</td>
|
||||
<td>{{p.father}}</td>
|
||||
<td>{{p.course}}</td>
|
||||
<td>{{p.syear}}({{p.sem}})</td>
|
||||
<td>{{p.phone}}</td>
|
||||
<td>{{p.uname}}</td>
|
||||
<td>{{p.status}}</td>
|
||||
<td>{{p.adate}}</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
<h3 style="text-align:center;">{{message}}</h3>
|
||||
|
||||
</div>
|
||||
|
||||
<dir-pagination-controls direction-links="true" boundary-links="true">
|
||||
</dir-pagination-controls>
|
||||
</div>
|
||||
</div>
|
||||
132
Apollo/assets/views/report_application_pending.html
Normal file
132
Apollo/assets/views/report_application_pending.html
Normal file
@ -0,0 +1,132 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle">Application Pending Student List Report</h1>
|
||||
</div>
|
||||
<!-- <div ncy-breadcrumb></div> -->
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
th {
|
||||
cursor: pointer;
|
||||
} */
|
||||
</style>
|
||||
<script type="text/javascript" src="bower_components/ng-table-excel-export/ng-table-excel-export.min.js">
|
||||
|
||||
|
||||
</script>
|
||||
<div class="container-fluid container-fullw bg-white">
|
||||
<div ng-controller="report_app_pendingCtrl" ng-init="filters()">
|
||||
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
|
||||
<fieldset>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
Branch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.branch">
|
||||
<option value="" selected>Select Branch</option>
|
||||
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.branch}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
University
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.university">
|
||||
<option value="" selected>Select University</option>
|
||||
<option ng-repeat="u in university" value="{{u.uid}}"> {{u.university}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
Batch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.batch">
|
||||
<option value="" selected>Select Batch</option>
|
||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.batch_code}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2" style="padding-top: 2.3%;">
|
||||
<div >
|
||||
|
||||
<button type="submit" class="btn btn-success btn-o" tabindex="8">
|
||||
Submit
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
<!-- <pre>{{statusr | json}}</pre> -->
|
||||
<div style="text-align: right;">
|
||||
<a download="Mark_Card_certificate_status({{batch.name}}).xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Markcard/Certificate Status');">
|
||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table id="datatable" class="table table-hover">
|
||||
|
||||
|
||||
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<th>SL.No</th>
|
||||
<th>Admission Date</th>
|
||||
<th>Student ID</th>
|
||||
<th>Student Name</th>
|
||||
<th>Father Name</th>
|
||||
<th>Course</th>
|
||||
<th>Sem/Year</th>
|
||||
<th>Phone No</th>
|
||||
<th>University</th>
|
||||
<th>Application Status</th>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody dir-paginate="p in app_pending_data|filter:search:strict|itemsPerPage:10">
|
||||
<tr>
|
||||
<td>{{p.sl}}</td>
|
||||
<td>{{p.adate}}</td>
|
||||
<td>{{p.ssid}}</td>
|
||||
<td>{{p.name}}</td>
|
||||
<td>{{p.father}}</td>
|
||||
<td>{{p.course}}</td>
|
||||
<td>{{p.syear}}</td>
|
||||
<td>{{p.phone}}</td>
|
||||
<td>{{p.uname}}</td>
|
||||
<td>{{p.status}}</td>
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
<h3 style="text-align:center;">{{message}}</h3>
|
||||
|
||||
</div>
|
||||
|
||||
<dir-pagination-controls direction-links="true" boundary-links="true">
|
||||
</dir-pagination-controls>
|
||||
</div>
|
||||
</div>
|
||||
171
Apollo/assets/views/report_balance_fee.html
Normal file
171
Apollo/assets/views/report_balance_fee.html
Normal file
@ -0,0 +1,171 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle">Fee Balance Report</h1>
|
||||
</div>
|
||||
<!-- <div ncy-breadcrumb></div> -->
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
th {
|
||||
cursor: pointer;
|
||||
} */
|
||||
</style>
|
||||
<script type="text/javascript" src="bower_components/ng-table-excel-export/ng-table-excel-export.min.js">
|
||||
|
||||
|
||||
</script>
|
||||
<div class="container-fluid container-fullw bg-white">
|
||||
<div ng-controller="report_balfeeCtrl" ng-init="filters()">
|
||||
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
|
||||
<fieldset>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
Branch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.branch">
|
||||
<option value="" selected>Select Branch</option>
|
||||
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.branch}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
University
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.university">
|
||||
<option value="" selected>Select University</option>
|
||||
<option ng-repeat="u in university" value="{{u.uid}}"> {{u.university}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
Batch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.batch">
|
||||
<option value="" selected>Select Batch</option>
|
||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.batch_code}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2" style="padding-top: 2.3%;">
|
||||
<div >
|
||||
|
||||
<button type="submit" class="btn btn-success btn-o" tabindex="8">
|
||||
Submit
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
<!-- <pre>{{statusr | json}}</pre> -->
|
||||
<div style="text-align: right;">
|
||||
<a download="Mark_Card_certificate_status({{batch.name}}).xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Markcard/Certificate Status');">
|
||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table id="datatable" class="table table-hover">
|
||||
|
||||
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="9"></th>
|
||||
<th>Sum of Total Fee</th>
|
||||
<th>Sum of Fees Paid</th>
|
||||
<th>Sum of Balance Fee</th>
|
||||
<th colspan="2">1st payment</th>
|
||||
<th colspan="2">2nd payment</th>
|
||||
<th colspan="2">3rd payment</th>
|
||||
<th colspan="2">4th payment</th>
|
||||
<th colspan="2">5th payment</th>
|
||||
<th>Comments</th>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>SL.No</th>
|
||||
<th>Student ID</th>
|
||||
<th>Student Name</th>
|
||||
<th>Father Name</th>
|
||||
<th>Course</th>
|
||||
<th>Sem/Year</th>
|
||||
<th>Phone No</th>
|
||||
<th>University</th>
|
||||
<th>Total Fee</th>
|
||||
<th>Fees Paid</th>
|
||||
<th>Balance</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th>Comments</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody ng-repeat="b in balfee_data">
|
||||
<tr ng-repeat="p in b">
|
||||
<td>{{p.sl}}</td>
|
||||
<td>{{p.ssid}}</td>
|
||||
<td>{{p.name}}</td>
|
||||
<td>{{p.father}}</td>
|
||||
<td>{{p.course}}</td>
|
||||
<td>{{p.syear}}</td>
|
||||
<td>{{p.phone}}</td>
|
||||
<td>{{p.uname}}</td>
|
||||
<td>{{p.total}}</td>
|
||||
<td>{{p.bamount}}</td>
|
||||
<td>{{p.balance}}</td>
|
||||
<td>{{p.1billno}}</td>
|
||||
<td>{{p.1billamt}}</td>
|
||||
<td>{{p.2billno}}</td>
|
||||
<td>{{p.2billamt}}</td>
|
||||
<td>{{p.3billno}}</td>
|
||||
<td>{{p.3billamt}}</td>
|
||||
<td>{{p.4billno}}</td>
|
||||
<td>{{p.4billamt}}</td>
|
||||
<td>{{p.5billno}}</td>
|
||||
<td>{{p.5billamt}}</td>
|
||||
<td>{{p.cmts}}</td>
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
<h3 style="text-align:center;">{{message}}</h3>
|
||||
|
||||
</div>
|
||||
|
||||
<dir-pagination-controls direction-links="true" boundary-links="true">
|
||||
</dir-pagination-controls>
|
||||
</div>
|
||||
</div>
|
||||
@ -10,7 +10,7 @@
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
th {
|
||||
cursor: pointer;
|
||||
@ -21,8 +21,8 @@
|
||||
|
||||
</script>
|
||||
<div class="container-fluid container-fullw bg-white">
|
||||
<div ng-controller="reportCtrl" ng-init="batch()">
|
||||
<form name="Form" id="form" novalidate ng-submit="cert_Submit()" method="post">
|
||||
<div ng-controller="report_certificateCtrl" ng-init="filters()">
|
||||
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
|
||||
<fieldset>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@ -33,9 +33,9 @@
|
||||
Branch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="batch" ng-model="batch.brname">
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.branch">
|
||||
<option value="" selected>Select Branch</option>
|
||||
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.bname}}</option>
|
||||
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.branch}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
@ -43,9 +43,9 @@
|
||||
University
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="batch" ng-model="batch.univ">
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.university">
|
||||
<option value="" selected>Select University</option>
|
||||
<option ng-repeat="u in univ" value="{{u.uid}}"> {{u.uname}}</option>
|
||||
<option ng-repeat="u in university" value="{{u.uid}}"> {{u.university}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
@ -53,9 +53,9 @@
|
||||
Batch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="batch" ng-model="batch.name">
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.batch">
|
||||
<option value="" selected>Select Batch</option>
|
||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.bname}}</option>
|
||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.batch_code}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<!-- <div class="col-md-3">
|
||||
@ -118,7 +118,7 @@
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody dir-paginate="p in cert_status|filter:search:strict|itemsPerPage:10">
|
||||
<tbody dir-paginate="p in cert_data|filter:search:strict|itemsPerPage:10">
|
||||
<tr>
|
||||
<td>{{p.sl}}</td>
|
||||
<td>{{p.bdate}}</td>
|
||||
@ -128,7 +128,7 @@
|
||||
<td>{{p.course}}</td>
|
||||
<td>{{p.syear}}({{p.sem}})</td>
|
||||
<td>{{p.phone}}</td>
|
||||
<td>{{p.univ}}</td>
|
||||
<td>{{p.uname}}</td>
|
||||
<td>{{p.balance}}</td>
|
||||
<td>{{p.cert_name}}</td>
|
||||
<td>{{p.status}}</td>
|
||||
@ -138,7 +138,7 @@
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
<h3 style="text-align:center;">{{cert_message}}</h3>
|
||||
<h3 style="text-align:center;">{{message}}</h3>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
132
Apollo/assets/views/report_document_pending.html
Normal file
132
Apollo/assets/views/report_document_pending.html
Normal file
@ -0,0 +1,132 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle">Document Pending Student List Report</h1>
|
||||
</div>
|
||||
<!-- <div ncy-breadcrumb></div> -->
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
th {
|
||||
cursor: pointer;
|
||||
} */
|
||||
</style>
|
||||
<script type="text/javascript" src="bower_components/ng-table-excel-export/ng-table-excel-export.min.js">
|
||||
|
||||
|
||||
</script>
|
||||
<div class="container-fluid container-fullw bg-white">
|
||||
<div ng-controller="report_doc_pendingCtrl" ng-init="filters()">
|
||||
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
|
||||
<fieldset>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
Branch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.branch">
|
||||
<option value="" selected>Select Branch</option>
|
||||
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.branch}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
University
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.university">
|
||||
<option value="" selected>Select University</option>
|
||||
<option ng-repeat="u in university" value="{{u.uid}}"> {{u.university}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
Batch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.batch">
|
||||
<option value="" selected>Select Batch</option>
|
||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.batch_code}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2" style="padding-top: 2.3%;">
|
||||
<div >
|
||||
|
||||
<button type="submit" class="btn btn-success btn-o" tabindex="8">
|
||||
Submit
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
<!-- <pre>{{statusr | json}}</pre> -->
|
||||
<div style="text-align: right;">
|
||||
<a download="Mark_Card_certificate_status({{batch.name}}).xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Markcard/Certificate Status');">
|
||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table id="datatable" class="table table-hover">
|
||||
|
||||
|
||||
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<th>SL.No</th>
|
||||
<th>Admission Date</th>
|
||||
<th>Student ID</th>
|
||||
<th>Student Name</th>
|
||||
<th>Father Name</th>
|
||||
<th>Course</th>
|
||||
<th>Sem/Year</th>
|
||||
<th>Phone No</th>
|
||||
<th>University</th>
|
||||
<th>Document Status</th>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody dir-paginate="p in doc_pending_data|filter:search:strict|itemsPerPage:10">
|
||||
<tr>
|
||||
<td>{{p.sl}}</td>
|
||||
<td>{{p.adate}}</td>
|
||||
<td>{{p.ssid}}</td>
|
||||
<td>{{p.name}}</td>
|
||||
<td>{{p.father}}</td>
|
||||
<td>{{p.course}}</td>
|
||||
<td>{{p.syear}}</td>
|
||||
<td>{{p.phone}}</td>
|
||||
<td>{{p.uname}}</td>
|
||||
<td>{{p.status}}</td>
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
<h3 style="text-align:center;">{{message}}</h3>
|
||||
|
||||
</div>
|
||||
|
||||
<dir-pagination-controls direction-links="true" boundary-links="true">
|
||||
</dir-pagination-controls>
|
||||
</div>
|
||||
</div>
|
||||
138
Apollo/assets/views/report_exam_writing_fee.html
Normal file
138
Apollo/assets/views/report_exam_writing_fee.html
Normal file
@ -0,0 +1,138 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle">Exam Writing Fee Report</h1>
|
||||
</div>
|
||||
<!-- <div ncy-breadcrumb></div> -->
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
th {
|
||||
cursor: pointer;
|
||||
} */
|
||||
</style>
|
||||
<script type="text/javascript" src="bower_components/ng-table-excel-export/ng-table-excel-export.min.js">
|
||||
|
||||
|
||||
</script>
|
||||
<div class="container-fluid container-fullw bg-white">
|
||||
<div ng-controller="report_examfeeCtrl" ng-init="filters()">
|
||||
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
|
||||
<fieldset>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
Branch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.branch">
|
||||
<option value="" selected>Select Branch</option>
|
||||
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.branch}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
University
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.university">
|
||||
<option value="" selected>Select University</option>
|
||||
<option ng-repeat="u in university" value="{{u.uid}}"> {{u.university}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
Batch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.batch">
|
||||
<option value="" selected>Select Batch</option>
|
||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.batch_code}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2" style="padding-top: 2.3%;">
|
||||
<div >
|
||||
|
||||
<button type="submit" class="btn btn-success btn-o" tabindex="8">
|
||||
Submit
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
<!-- <pre>{{statusr | json}}</pre> -->
|
||||
<div style="text-align: right;">
|
||||
<a download="Mark_Card_certificate_status({{batch.name}}).xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Markcard/Certificate Status');">
|
||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table id="datatable" class="table table-hover">
|
||||
|
||||
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="8"></th>
|
||||
<th>Sum of Exam Writing Fee</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>SL.No</th>
|
||||
<th>Student ID</th>
|
||||
<th>Student Name</th>
|
||||
<th>Father Name</th>
|
||||
<th>Course</th>
|
||||
<th>Sem/Year</th>
|
||||
<th>Phone No</th>
|
||||
<th>University</th>
|
||||
<th>Exam Writing Fee</th>
|
||||
<th>Comments</th>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody dir-paginate="p in examfee_data|filter:search:strict|itemsPerPage:10">
|
||||
<tr>
|
||||
<td>{{p.sl}}</td>
|
||||
<td>{{p.ssid}}</td>
|
||||
<td>{{p.name}}</td>
|
||||
<td>{{p.father}}</td>
|
||||
<td>{{p.course}}</td>
|
||||
<td>{{p.syear}}</td>
|
||||
<td>{{p.phone}}</td>
|
||||
<td>{{p.uname}}</td>
|
||||
<td>{{p.stf}}</td>
|
||||
<td>{{p.cmts}}</td>
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
<h3 style="text-align:center;">{{message}}</h3>
|
||||
|
||||
</div>
|
||||
|
||||
<dir-pagination-controls direction-links="true" boundary-links="true">
|
||||
</dir-pagination-controls>
|
||||
</div>
|
||||
</div>
|
||||
@ -21,8 +21,8 @@
|
||||
|
||||
</script>
|
||||
<div class="container-fluid container-fullw bg-white">
|
||||
<div ng-controller="reportCtrl" ng-init="batch()">
|
||||
<form name="Form" id="form" novalidate ng-submit="expense_Submit()" method="post">
|
||||
<div ng-controller="report_expenseCtrl" ng-init="filters()">
|
||||
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
|
||||
<fieldset>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@ -35,7 +35,7 @@
|
||||
<label>
|
||||
From Date
|
||||
</label>
|
||||
<input type="text" tabindex="1" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="batch.from_date"
|
||||
<input type="text" tabindex="1" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="filters.from_date"
|
||||
is-open="startOpen" ng-init="startOpen = false" name="addDate" datepicker-options="dateOptions"
|
||||
placeholder="Select Date" close-text="Close" required="required" ng-change="changeDate()"
|
||||
show-button-bar="true" />
|
||||
@ -48,7 +48,7 @@
|
||||
<label>
|
||||
To Date
|
||||
</label>
|
||||
<input type="text" tabindex="1" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="batch.to_date"
|
||||
<input type="text" tabindex="1" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="filters.to_date"
|
||||
is-open="startOpen" ng-init="startOpen = false" name="addDate" datepicker-options="dateOptions"
|
||||
placeholder="Select Date" close-text="Close" required="required" ng-change="changeToDate()"
|
||||
show-button-bar="true" />
|
||||
@ -97,7 +97,7 @@
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody dir-paginate="p in expense|filter:search:strict|itemsPerPage:10">
|
||||
<tbody dir-paginate="p in expense_data|filter:search:strict|itemsPerPage:10">
|
||||
<tr>
|
||||
<td>{{$index + 1}}</td>
|
||||
<td>{{p.exp_name}}</td>
|
||||
@ -108,7 +108,7 @@
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
<h3 style="text-align:center;">{{expense_message}}</h3>
|
||||
<h3 style="text-align:center;">{{message}}</h3>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@ -21,65 +21,65 @@
|
||||
|
||||
</script>
|
||||
<div class="container-fluid container-fullw bg-white">
|
||||
<div ng-controller="reportCtrl" ng-init="batch()">
|
||||
<form name="Form" id="form" novalidate ng-submit="mark_cert_Submit()" method="post">
|
||||
<div ng-controller="report_markcard_certificateCtrl" ng-init="filters()">
|
||||
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
|
||||
<fieldset>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label for="form-field-select-2">
|
||||
Branch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="batch" ng-model="batch.brname">
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.branch">
|
||||
<option value="" selected>Select Branch</option>
|
||||
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.bname}}</option>
|
||||
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.branch}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label for="form-field-select-2">
|
||||
University
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="batch" ng-model="batch.univ">
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.university">
|
||||
<option value="" selected>Select University</option>
|
||||
<option ng-repeat="u in univ" value="{{u.uid}}"> {{u.uname}}</option>
|
||||
<option ng-repeat="u in university" value="{{u.uid}}"> {{u.university}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<label for="form-field-select-2">
|
||||
Batch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="batch" ng-model="batch.name">
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.batch">
|
||||
<option value="" selected>Select Batch</option>
|
||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.bname}}</option>
|
||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.batch_code}}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<!--<pre>{{searchData.date}}</pre>-->
|
||||
<div data-ng-controller="DatepickerDemoCtrl">
|
||||
<label>
|
||||
From Date
|
||||
</label>
|
||||
<input type="text" tabindex="1" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="batch.from_date"
|
||||
<input type="text" tabindex="1" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="filters.from_date"
|
||||
is-open="startOpen" ng-init="startOpen = false" name="addDate" datepicker-options="dateOptions"
|
||||
placeholder="Select Date" close-text="Close" required="required" ng-change="changeDate()"
|
||||
show-button-bar="true" />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-4">
|
||||
<!--<pre>{{searchData.date}}</pre>-->
|
||||
<div data-ng-controller="DatepickerDemoCtrl">
|
||||
<label>
|
||||
To Date
|
||||
</label>
|
||||
<input type="text" tabindex="1" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="batch.to_date"
|
||||
<input type="text" tabindex="1" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="filters.to_date"
|
||||
is-open="startOpen" ng-init="startOpen = false" name="addDate" datepicker-options="dateOptions"
|
||||
placeholder="Select Date" close-text="Close" required="required" ng-change="changeToDate()"
|
||||
show-button-bar="true" />
|
||||
@ -97,8 +97,8 @@
|
||||
</select>
|
||||
</div> -->
|
||||
|
||||
<div class="col-md-2" style="padding-top: 2.3%;">
|
||||
<div class="pull-right">
|
||||
<div class="col-md-3" style="padding-top: 2.3%;">
|
||||
<div >
|
||||
|
||||
<button type="submit" class="btn btn-success btn-o" tabindex="8">
|
||||
Submit
|
||||
@ -150,7 +150,7 @@
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody dir-paginate="p in markcert_status|filter:search:strict|itemsPerPage:10">
|
||||
<tbody dir-paginate="p in mark_cert_data|filter:search:strict|itemsPerPage:10">
|
||||
<tr>
|
||||
<td>{{p.sl}}</td>
|
||||
<td>{{p.bdate}}</td>
|
||||
@ -160,7 +160,7 @@
|
||||
<td>{{p.course}}</td>
|
||||
<td>{{p.syear}}({{p.sem}})</td>
|
||||
<td>{{p.phone}}</td>
|
||||
<td>{{p.univ}}</td>
|
||||
<td>{{p.uname}}</td>
|
||||
<td>{{p.balance}}</td>
|
||||
<td>{{p.status}}</td>
|
||||
<td>{{p.cdate}}</td>
|
||||
|
||||
@ -3,26 +3,29 @@
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle">Mark Card Status Report</h1>
|
||||
</div>
|
||||
<!-- <div ncy-breadcrumb></div> -->
|
||||
<!-- <div ncy-breadcrumb></div>-->
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
th {
|
||||
cursor: pointer;
|
||||
} */
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" src="bower_components/ng-table-excel-export/ng-table-excel-export.min.js">
|
||||
|
||||
<!-- datatables -->
|
||||
<!-- <link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/dataTables.buttons.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.html5.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.4.2/js/buttons.colVis.min.js"></script> -->
|
||||
<!-- <script type="text/javascript" src="bower_components/ng-table-excel-export/ng-table-excel-export.min.js"> -->
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
<div class="container-fluid container-fullw bg-white">
|
||||
<div ng-controller="reportCtrl" ng-init="batch()">
|
||||
<form name="Form" id="form" novalidate ng-submit="mSubmit()" method="post">
|
||||
<div ng-controller="report_markcard_statusCtrl" ng-init="filters()">
|
||||
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
|
||||
<fieldset>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@ -33,9 +36,9 @@
|
||||
Branch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="batch" ng-model="batch.brname">
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.branch">
|
||||
<option value="" selected>Select Branch</option>
|
||||
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.bname}}</option>
|
||||
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.branch}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
@ -43,9 +46,9 @@
|
||||
University
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="batch" ng-model="batch.univ">
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.university">
|
||||
<option value="" selected>Select University</option>
|
||||
<option ng-repeat="u in univ" value="{{u.uid}}"> {{u.uname}}</option>
|
||||
<option ng-repeat="u in university" value="{{u.uid}}"> {{u.university}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
@ -53,9 +56,9 @@
|
||||
Batch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="batch" ng-model="batch.name">
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.batch">
|
||||
<option value="" selected>Select Batch</option>
|
||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.bname}}</option>
|
||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.batch_code}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<!-- <div class="col-md-3">
|
||||
@ -88,19 +91,17 @@
|
||||
|
||||
</form>
|
||||
<!-- <pre>{{statusr | json}}</pre> -->
|
||||
<div style="text-align: right;">
|
||||
<!-- <div style="text-align: right;">
|
||||
<a download="Mark_Card_status({{batch.name}}).xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Mark Card Status');">
|
||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="datatable" class="table table-hover">
|
||||
|
||||
|
||||
|
||||
<table datatable="ng" dt-options="dtOptions" class="table table-hover">
|
||||
<!-- <table id="datatable" class="table table-hover"> -->
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<th>SL.No</th>
|
||||
<th>Intial Payment Paid Date</th>
|
||||
@ -117,7 +118,7 @@
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody dir-paginate="p in mstatusr|filter:search:strict|itemsPerPage:10">
|
||||
<tbody ng-repeat="p in markcard_data">
|
||||
<tr>
|
||||
<td>{{p.sl}}</td>
|
||||
<td>{{p.bdate}}</td>
|
||||
@ -127,7 +128,7 @@
|
||||
<td>{{p.course}}</td>
|
||||
<td>{{p.syear}}({{p.sem}})</td>
|
||||
<td>{{p.phone}}</td>
|
||||
<td>{{p.univ}}</td>
|
||||
<td>{{p.uname}}</td>
|
||||
<td>{{p.balance}}</td>
|
||||
<td>{{p.status}}</td>
|
||||
<td>{{p.cdate}}</td>
|
||||
@ -136,11 +137,11 @@
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
<h3 style="text-align:center;">{{mmessage}}</h3>
|
||||
<h3 style="text-align:center;">{{message}}</h3>
|
||||
|
||||
</div>
|
||||
|
||||
<dir-pagination-controls direction-links="true" boundary-links="true">
|
||||
</dir-pagination-controls>
|
||||
<!-- <dir-pagination-controls direction-links="true" boundary-links="true">
|
||||
</dir-pagination-controls> -->
|
||||
</div>
|
||||
</div>
|
||||
@ -7,7 +7,7 @@
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
/* .sort-icon {
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
@ -21,7 +21,7 @@
|
||||
|
||||
</script>
|
||||
<div class="container-fluid container-fullw bg-white">
|
||||
<div ng-controller="reportCtrl" ng-init="batch()">
|
||||
<div ng-controller="report_study_material_statusCtrl" ng-init="filters()">
|
||||
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
|
||||
<fieldset>
|
||||
<div class="row">
|
||||
@ -33,9 +33,9 @@
|
||||
Branch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="batch" ng-model="batch.brname">
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.branch">
|
||||
<option value="" selected>Select Branch</option>
|
||||
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.bname}}</option>
|
||||
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.branch}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
@ -43,9 +43,9 @@
|
||||
University
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="batch" ng-model="batch.univ">
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.university">
|
||||
<option value="" selected>Select University</option>
|
||||
<option ng-repeat="u in univ" value="{{u.uid}}"> {{u.uname}}</option>
|
||||
<option ng-repeat="u in university" value="{{u.uid}}"> {{u.university}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
@ -53,9 +53,9 @@
|
||||
Batch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="batch" ng-model="batch.name">
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.batch">
|
||||
<option value="" selected>Select Batch</option>
|
||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.bname}}</option>
|
||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.batch_code}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<!-- <div class="col-md-3">
|
||||
@ -96,14 +96,10 @@
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table id="datatable" class="table table-hover">
|
||||
|
||||
|
||||
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<tr>
|
||||
<th>SL.No</th>
|
||||
<th>Intial Payment Paid Date</th>
|
||||
<th>Initial Payment Paid Date</th>
|
||||
<th>Student ID</th>
|
||||
<th>Student Name</th>
|
||||
<th>Father Name</th>
|
||||
@ -117,7 +113,7 @@
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody dir-paginate="p in statusr|filter:search:strict|itemsPerPage:10">
|
||||
<tbody dir-paginate="p in study_mat_data|filter:search:strict|itemsPerPage:10">
|
||||
<tr>
|
||||
<td>{{p.sl}}</td>
|
||||
<td>{{p.bdate}}</td>
|
||||
@ -127,7 +123,7 @@
|
||||
<td>{{p.course}}</td>
|
||||
<td>{{p.syear}}({{p.sem}})</td>
|
||||
<td>{{p.phone}}</td>
|
||||
<td>{{p.univ}}</td>
|
||||
<td>{{p.uname}}</td>
|
||||
<td>{{p.balance}}</td>
|
||||
<td>{{p.status}}</td>
|
||||
<td>{{p.date}}</td>
|
||||
|
||||
143
Apollo/assets/views/report_waiver_referal.html
Normal file
143
Apollo/assets/views/report_waiver_referal.html
Normal file
@ -0,0 +1,143 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle">Waiver and Referal Report</h1>
|
||||
</div>
|
||||
<!-- <div ncy-breadcrumb></div> -->
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
th {
|
||||
cursor: pointer;
|
||||
} */
|
||||
</style>
|
||||
<script type="text/javascript" src="bower_components/ng-table-excel-export/ng-table-excel-export.min.js">
|
||||
|
||||
|
||||
</script>
|
||||
<div class="container-fluid container-fullw bg-white">
|
||||
<div ng-controller="report_waiver_referalCtrl" ng-init="filters()">
|
||||
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
|
||||
<fieldset>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
Branch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.branch">
|
||||
<option value="" selected>Select Branch</option>
|
||||
<option ng-repeat="br in branch" value="{{br.brcode}}"> {{br.branch}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
University
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.university">
|
||||
<option value="" selected>Select University</option>
|
||||
<option ng-repeat="u in university" value="{{u.uid}}"> {{u.university}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="form-field-select-2">
|
||||
Batch
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="filters" ng-model="filters.batch">
|
||||
<option value="" selected>Select Batch</option>
|
||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.batch_code}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2" style="padding-top: 2.3%;">
|
||||
<div >
|
||||
|
||||
<button type="submit" class="btn btn-success btn-o" tabindex="8">
|
||||
Submit
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
<!-- <pre>{{statusr | json}}</pre> -->
|
||||
<div style="text-align: right;">
|
||||
<a download="Mark_Card_certificate_status({{batch.name}}).xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Markcard/Certificate Status');">
|
||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table id="datatable" class="table table-hover">
|
||||
|
||||
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="8"></th>
|
||||
<th colspan="2">Sum of Waiver Fee</th>
|
||||
<th colspan="2">Sum of Referal Fee</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>SL.No</th>
|
||||
<th>Student ID</th>
|
||||
<th>Student Name</th>
|
||||
<th>Father Name</th>
|
||||
<th>Course</th>
|
||||
<th>Sem/Year</th>
|
||||
<th>Phone No</th>
|
||||
<th>Waiver Bill No</th>
|
||||
<th>Waivers Amount</th>
|
||||
<th>Referal Bill No</th>
|
||||
<th>Referal Amount</th>
|
||||
<th>Comments</th>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody dir-paginate="p in waiver_referal_data|filter:search:strict|itemsPerPage:10">
|
||||
<tr>
|
||||
<td>{{p.sl}}</td>
|
||||
<td>{{p.ssid}}</td>
|
||||
<td>{{p.name}}</td>
|
||||
<td>{{p.father}}</td>
|
||||
<td>{{p.course}}</td>
|
||||
<td>{{p.syear}}</td>
|
||||
<td>{{p.phone}}</td>
|
||||
<td>{{p.wbill}}</td>
|
||||
<td>{{p.wamount}}</td>
|
||||
<td>{{p.rbill}}</td>
|
||||
<td>{{p.ramount}}</td>
|
||||
<td>{{p.cmts}}</td>
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
<h3 style="text-align:center;">{{message}}</h3>
|
||||
|
||||
</div>
|
||||
|
||||
<dir-pagination-controls direction-links="true" boundary-links="true">
|
||||
</dir-pagination-controls>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user