Merge branch 'master' of https://bitbucket.org/venbainformationtechnology/apollodec
This commit is contained in:
commit
c51ce464ac
@ -145,6 +145,7 @@ class Fees_Status_Controller extends REST_Controller {
|
|||||||
$detailsChild['CreatedBy'] = $this->post('createdBy');
|
$detailsChild['CreatedBy'] = $this->post('createdBy');
|
||||||
$detailsChild['CreatedOn'] = $now->format('Y-m-d H:i:s');
|
$detailsChild['CreatedOn'] = $now->format('Y-m-d H:i:s');
|
||||||
$detailsChild['UpdatedBy'] = $this->post('requestedBranch');
|
$detailsChild['UpdatedBy'] = $this->post('requestedBranch');
|
||||||
|
$detailsChild['Installment'] = $this->post('existPaidCount');
|
||||||
$smsDetails['FeesName'] = $this->post('feesName');
|
$smsDetails['FeesName'] = $this->post('feesName');
|
||||||
$smsDetails['CurrentBalance'] = $this->post('currentBalance');
|
$smsDetails['CurrentBalance'] = $this->post('currentBalance');
|
||||||
$updateDetails = $this->Fees_model->updateFees($detailsChild,$this->post('courseID'),$this->post('feesName'),$smsDetails);// Check if the users data store contains users (in case the database result returns NULL)
|
$updateDetails = $this->Fees_model->updateFees($detailsChild,$this->post('courseID'),$this->post('feesName'),$smsDetails);// Check if the users data store contains users (in case the database result returns NULL)
|
||||||
|
|||||||
@ -64,22 +64,44 @@ class University_Controller extends REST_Controller {
|
|||||||
//update university details
|
//update university details
|
||||||
public function updateUniversityDetail_post() {
|
public function updateUniversityDetail_post() {
|
||||||
|
|
||||||
|
|
||||||
|
//s print_r($_FILES);
|
||||||
|
$imagename='';
|
||||||
|
$size='';
|
||||||
|
$imageSource='';
|
||||||
|
|
||||||
|
if(!empty($_FILES))
|
||||||
|
{
|
||||||
|
$imagename = $_FILES['idProof']['name'];
|
||||||
|
$size = $_FILES['idProof']['size'];
|
||||||
|
$imageSource = $_FILES['idProof']['tmp_name'];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// echo $imagename;
|
||||||
|
// echo $size;
|
||||||
|
// echo $imageSource;
|
||||||
|
// die();
|
||||||
|
|
||||||
|
|
||||||
$reqData = $this->post('data');
|
$reqData = $this->post('data');
|
||||||
|
$data = json_decode($reqData, true);
|
||||||
$req['UpdatedBy'] = $this->post('updatedBy');
|
$req['UpdatedBy'] = $this->post('updatedBy');
|
||||||
$date = date('Y-m-d H:i:s');
|
$date = date('Y-m-d H:i:s');
|
||||||
$req['UpdatedOn'] = $date;
|
$req['UpdatedOn'] = $date;
|
||||||
$req['UniversityName']= $reqData['UniversityName'];
|
$req['UniversityName']= $data['UniversityName'];
|
||||||
$req['UniversityShortName']= $reqData['UniversityShortName'];
|
$req['UniversityShortName']= $data['UniversityShortName'];
|
||||||
$req['MobileNumber']= $reqData['MobileNumber'];
|
$req['MobileNumber']= $data['MobileNumber'];
|
||||||
$req['EmailID']= $reqData['EmailID'];
|
$req['EmailID']= $data['EmailID'];
|
||||||
$req['Address']= $reqData['Address'];
|
$req['Address']= $data['Address'];
|
||||||
$req['IsActive']= $reqData['IsActive'];
|
$req['IsActive']= $data['IsActive'];
|
||||||
$req['BranchCode'] = $this->post('branchCode');
|
$req['BranchCode'] = $this->post('branchCode');
|
||||||
$req['ID']= $reqData['ID'];
|
$req['ID']= $data['ID'];
|
||||||
|
|
||||||
$updateFor = $reqData['UniversityID'];
|
$updateFor = $data['UniversityID'];
|
||||||
|
|
||||||
$updateUniversityDetail = $this->university_model->update_university_details($updateFor, $req);// Check if the employee exist
|
|
||||||
|
$updateUniversityDetail = $this->university_model->update_university_details($updateFor, $req,$imagename,$imageSource,$size);// Check if the employee exist
|
||||||
if ($updateUniversityDetail)
|
if ($updateUniversityDetail)
|
||||||
{
|
{
|
||||||
$updateUniversityDetail['status'] = REST_Controller::HTTP_OK;
|
$updateUniversityDetail['status'] = REST_Controller::HTTP_OK;
|
||||||
@ -124,20 +146,37 @@ class University_Controller extends REST_Controller {
|
|||||||
|
|
||||||
// insert university details
|
// insert university details
|
||||||
public function insertUniversity_post() {
|
public function insertUniversity_post() {
|
||||||
|
|
||||||
|
// echo "sdg";
|
||||||
|
|
||||||
|
$imagename = $_FILES['idProof']['name'];
|
||||||
|
$size = $_FILES['idProof']['size'];
|
||||||
|
$imageSource = $_FILES['idProof']['tmp_name'];
|
||||||
|
// echo $imagename;
|
||||||
|
// echo $size;
|
||||||
|
// echo $imageSource;
|
||||||
|
|
||||||
|
|
||||||
$reqData = $this->post('data');
|
$reqData = $this->post('data');
|
||||||
|
$temp = json_decode($reqData, true);
|
||||||
|
|
||||||
|
//print_r($reqData);
|
||||||
|
//die();
|
||||||
$req['CreatedBy'] = $this->post('createdBy');
|
$req['CreatedBy'] = $this->post('createdBy');
|
||||||
$date = date('Y-m-d H:i:s');
|
$date = date('Y-m-d H:i:s');
|
||||||
$req['CreatedOn'] = $date;
|
$req['CreatedOn'] = $date;
|
||||||
$req['UniversityName']= $reqData['UniversityName'];
|
$req['UniversityName']= $temp['UniversityName'];
|
||||||
$req['UniversityShortName']= $reqData['UniversityShortName'];
|
$req['UniversityShortName']= $temp['UniversityShortName'];
|
||||||
$req['MobileNumber']= $reqData['MobileNumber'];
|
$req['MobileNumber']= $temp['MobileNumber'];
|
||||||
$req['EmailID']= $reqData['EmailID'];
|
$req['EmailID']= $temp['EmailID'];
|
||||||
$req['Address']= $reqData['Address'];
|
$req['Address']= $temp['Address'];
|
||||||
$req['IsActive']= $reqData['switchsetting'];
|
$req['IsActive']= $temp['switchsetting'];
|
||||||
$req['UniversityID']= $reqData['UniversityID'];
|
$req['UniversityID']= $temp['UniversityID'];
|
||||||
$req['BranchCode']= $this->post('branchCode');
|
$req['BranchCode']= $this->post('branchCode');
|
||||||
|
|
||||||
$insertUniv = $this->university_model->insert_Univ($req);// Check if the employee exist
|
|
||||||
|
|
||||||
|
$insertUniv = $this->university_model->insert_Univ($req,$imagename,$imageSource,$size);// Check if the employee exist
|
||||||
if ($insertUniv)
|
if ($insertUniv)
|
||||||
{
|
{
|
||||||
$insertUniv['status'] = REST_Controller::HTTP_OK;
|
$insertUniv['status'] = REST_Controller::HTTP_OK;
|
||||||
|
|||||||
@ -1232,7 +1232,7 @@ class Fees_status_model extends CI_Model
|
|||||||
$insertArray['Date'] = $data['BillDate'];
|
$insertArray['Date'] = $data['BillDate'];
|
||||||
$insertArray['CreatedBy'] = $data['CreatedBy'];
|
$insertArray['CreatedBy'] = $data['CreatedBy'];
|
||||||
$insertArray['CreatedOn'] = $data['CreatedOn'];
|
$insertArray['CreatedOn'] = $data['CreatedOn'];
|
||||||
$insertArray['Description'] = $data['InternalComments'];
|
$insertArray['ReceiptNoComments'] = $data['InternalComments'];
|
||||||
$insertArray['PaidDescription'] = "";
|
$insertArray['PaidDescription'] = "";
|
||||||
$insertArray['Amount'] = $data['BillAmount'];
|
$insertArray['Amount'] = $data['BillAmount'];
|
||||||
$insertArray['Status'] = 'Approved';
|
$insertArray['Status'] = 'Approved';
|
||||||
@ -1316,7 +1316,7 @@ class Fees_status_model extends CI_Model
|
|||||||
$this->db->join(STUDENTS_FEES_STATUS.' as SFS', 'FIN.FeesID = SFS.FeesID');
|
$this->db->join(STUDENTS_FEES_STATUS.' as SFS', 'FIN.FeesID = SFS.FeesID');
|
||||||
$this->db->join(STUDENTS_FEES_PAID.' as SFP', 'SFP.FeesId = FIN.FeesID','left');
|
$this->db->join(STUDENTS_FEES_PAID.' as SFP', 'SFP.FeesId = FIN.FeesID','left');
|
||||||
$this->db->where('FIN.DueDate',$tomorrowDATE);
|
$this->db->where('FIN.DueDate',$tomorrowDATE);
|
||||||
// $this->db->where('SFP.IsActive','1');
|
$this->db->where('SFP.IsActive','1');
|
||||||
$getStudentDetails = $this->db->get();
|
$getStudentDetails = $this->db->get();
|
||||||
|
|
||||||
if ($getStudentDetails->result()){
|
if ($getStudentDetails->result()){
|
||||||
@ -1346,7 +1346,7 @@ class Fees_status_model extends CI_Model
|
|||||||
$this->db->join(STUDENTS_FEES_STATUS.' as SFS', 'FIN.FeesID = SFS.FeesID');
|
$this->db->join(STUDENTS_FEES_STATUS.' as SFS', 'FIN.FeesID = SFS.FeesID');
|
||||||
$this->db->join(STUDENTS_FEES_PAID.' as SFP', 'SFP.FeesId = FIN.FeesID','left');
|
$this->db->join(STUDENTS_FEES_PAID.' as SFP', 'SFP.FeesId = FIN.FeesID','left');
|
||||||
$this->db->where('FIN.DueDate',$afterFiveDays);
|
$this->db->where('FIN.DueDate',$afterFiveDays);
|
||||||
// $this->db->where('SFP.IsActive','1');
|
$this->db->where('SFP.IsActive','1');
|
||||||
$getStudentDetails1 = $this->db->get();
|
$getStudentDetails1 = $this->db->get();
|
||||||
if ($getStudentDetails1->result()){
|
if ($getStudentDetails1->result()){
|
||||||
foreach ($getStudentDetails1->result() as $row1){
|
foreach ($getStudentDetails1->result() as $row1){
|
||||||
@ -1377,7 +1377,7 @@ class Fees_status_model extends CI_Model
|
|||||||
$this->db->join(STUDENTS_FEES_STATUS.' as SFS', 'FIN.FeesID = SFS.FeesID');
|
$this->db->join(STUDENTS_FEES_STATUS.' as SFS', 'FIN.FeesID = SFS.FeesID');
|
||||||
$this->db->join(STUDENTS_FEES_PAID.' as SFP', 'SFP.FeesId = FIN.FeesID','left');
|
$this->db->join(STUDENTS_FEES_PAID.' as SFP', 'SFP.FeesId = FIN.FeesID','left');
|
||||||
$this->db->where('FIN.DueDate',$preDATE);
|
$this->db->where('FIN.DueDate',$preDATE);
|
||||||
//$this->db->where('SFP.IsActive','1');
|
$this->db->where('SFP.IsActive','1');
|
||||||
$getStudentDetails2 = $this->db->get();
|
$getStudentDetails2 = $this->db->get();
|
||||||
if ($getStudentDetails2->result()){
|
if ($getStudentDetails2->result()){
|
||||||
foreach ($getStudentDetails2->result() as $row2){
|
foreach ($getStudentDetails2->result() as $row2){
|
||||||
|
|||||||
@ -9,7 +9,7 @@ class Reports_model extends CI_Model
|
|||||||
{
|
{
|
||||||
public function status($bat=null,$br=null,$u=null){
|
public function status($bat=null,$br=null,$u=null){
|
||||||
|
|
||||||
$sql = "select @s:=@s+1 sl,sms.sid as ssid,sfp.fid,std.name,std.father,std.phone,sms.cid as scid,sms.lcode,sms.date as sdate,cfd.syear,sms.sem as sem,sfs.batch as fbatch,cm.course,cm.uname,list.status,sfs.cid as fcid,sfs.cf as crsfee,sfs.stf as stf,sfs.others as others,(sfs.cf + sfs.stf + sfs.others) as total,sum(sfp.bamount) as bamount,sfp.bdate as bdate,sfp.billno,((sfs.cf + sfs.stf + sfs.others)-sum(sfp.bamount)) as balance
|
$sql = "select @s:=@s+1 SL_NO,sms.sid as Student_id,scd.eid as Enrollment_id,std.name as Student_name,std.father as Father_name,std.phone as Phone_number,sms.cid as Course_id,sms.branch as Branch,sms.date as Date,cfd.syear as Sem_year,sms.sem as Sem,sfs.batch as Batch_Code,cm.course as Course_name,cm.uname as University,list.Status,((sfs.cf + sfs.stf + sfs.others)-sum(sfp.bamount)) as Balance_fee,sfp.bdate as Initial_paid_date
|
||||||
from (SELECT @s:= 0) AS s,
|
from (SELECT @s:= 0) AS s,
|
||||||
(SELECT ID,StudentID as sid,CourseID as cid,ListCode as lcode,BranchCode as branch,SDate as date,Sem as sem FROM T_StudyMaterialStatus where ID in (SELECT max(ID) FROM T_StudyMaterialStatus group by StudentID,CourseID,BranchCode,Sem)
|
(SELECT ID,StudentID as sid,CourseID as cid,ListCode as lcode,BranchCode as branch,SDate as date,Sem as sem FROM T_StudyMaterialStatus where ID in (SELECT max(ID) FROM T_StudyMaterialStatus group by StudentID,CourseID,BranchCode,Sem)
|
||||||
group by sid,sem,cid,branch) as sms
|
group by sid,sem,cid,branch) as sms
|
||||||
@ -18,6 +18,7 @@ class Reports_model extends CI_Model
|
|||||||
group by sid,fid,cid,batch) as sfs on sfs.sid=sms.sid and sms.cid=sfs.ftype
|
group by sid,fid,cid,batch) as sfs on sfs.sid=sms.sid and sms.cid=sfs.ftype
|
||||||
left join
|
left join
|
||||||
(SELECT StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount,BillNO as billno FROM T_Students_Fees_PaidDetails
|
(SELECT StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount,BillNO as billno FROM T_Students_Fees_PaidDetails
|
||||||
|
where IsActive = 1
|
||||||
group by sid,fid,billno) as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid
|
group by sid,fid,billno) as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid
|
||||||
left join
|
left join
|
||||||
(SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd
|
(SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd
|
||||||
@ -32,7 +33,8 @@ group by cid
|
|||||||
order by CourseID) as cm
|
order by CourseID) as cm
|
||||||
on cm.cid=cfd.ccid
|
on cm.cid=cfd.ccid
|
||||||
left join
|
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
|
(SELECT StudentID as sid,MobileNumber as phone,IsActive as active,FirstName as name,Fathername as father FROM T_StudentDetails where IsActive = 1) as std on std.sid=sms.sid
|
||||||
|
left join (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,EnrollmentID as eid,BranchID as branch FROM T_Student_CourseDetails) as scd on scd.sid=sms.sid and scd.cid=sms.cid and scd.branch=sms.branch
|
||||||
where sms.sid != 'null'
|
where sms.sid != 'null'
|
||||||
";
|
";
|
||||||
if ($br!= ''){
|
if ($br!= ''){
|
||||||
@ -50,8 +52,8 @@ order by CourseID) as cm
|
|||||||
$sql.=" and cm.uid = '".$u."'";
|
$sql.=" and cm.uid = '".$u."'";
|
||||||
|
|
||||||
}
|
}
|
||||||
$sql.=" group by ssid,scid,fbatch,lcode,fbatch,fid,sem";
|
$sql.=" group by Student_id,Course_id,Branch,Batch_code,Sem";
|
||||||
$sql.=" order by sl";
|
$sql.=" order by SL_NO";
|
||||||
$leadDet=$this->db->query($sql);
|
$leadDet=$this->db->query($sql);
|
||||||
$statusDetails = $leadDet->result();
|
$statusDetails = $leadDet->result();
|
||||||
if (count($statusDetails) > 0) {
|
if (count($statusDetails) > 0) {
|
||||||
@ -102,16 +104,17 @@ order by CourseID) as cm
|
|||||||
}
|
}
|
||||||
public function markcard($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,sfp.fid,std.name,sms.ctype,std.father,std.phone,sms.cid as scid,sms.lcode,sms.cdate as sdate,cfd.syear,sms.sem as sem,sfs.batch as fbatch,cm.course,cm.uname,list.status,sfs.cid as fcid,sfs.cf as crsfee,sfs.stf as stf,sfs.others as others,(sfs.cf + sfs.stf + sfs.others) as total,sum(sfp.bamount) as bamount,sfp.bdate as bdate,sfp.billno,((sfs.cf + sfs.stf + sfs.others)-sum(sfp.bamount)) as balance
|
$sql = "select @s:=@s+1 SL_NO,sms.sid as Student_id,ifnull(scd.eid,'-') as Enrollment_id,sfs.rollno as Roll_NO,std.name as Student_name,std.father as Father_name,std.phone as Phone_number,sms.cid as Course_id,ifnull(sms.cdate,'-') as Date,cfd.syear as Sem_year,sms.sem as Sem,sfs.batch as Batch_code,sms.branch as Branch_code,cm.course as Course_name,cm.uname as University,list.status as Status,sfp.bdate as Initial_paid_date,((sfs.cf + sfs.stf + sfs.others)-sum(sfp.bamount)) as Balance_Fee
|
||||||
from (SELECT @s:= 0) AS s,
|
from (SELECT @s:= 0) AS s,
|
||||||
(SELECT ID,StudentID as sid,CourseID as cid,BranchCode as branch,ListCode as lcode,CertificationType as ctype,CDate as cdate,Sem as sem FROM T_CertificationStatus
|
(SELECT ID,StudentID as sid,CourseID as cid,BranchCode as branch,ListCode as lcode,CertificationType as ctype,CDate as cdate,Sem as sem FROM T_CertificationStatus
|
||||||
WHERE ID IN (SELECT max(ID) FROM T_CertificationStatus group by StudentID,CourseID,BranchCode,Sem)
|
WHERE ID IN (SELECT max(ID) FROM T_CertificationStatus group by StudentID,CourseID,BranchCode,Sem)
|
||||||
group by sid,sem,cid,lcode,branch) as sms
|
group by sid,sem,cid,lcode,branch) as sms
|
||||||
left join
|
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
|
(SELECT FeesID as fid,BatchCode as batch,StudentID as sid,RollNO as rollno,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,fid,cid,batch) as sfs on sfs.sid=sms.sid and sms.cid=sfs.ftype
|
group by sid,fid,cid,batch) as sfs on sfs.sid=sms.sid and sms.cid=sfs.ftype
|
||||||
left join
|
left join
|
||||||
(SELECT StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount,BillNO as billno FROM T_Students_Fees_PaidDetails
|
(SELECT StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount,BillNO as billno FROM T_Students_Fees_PaidDetails
|
||||||
|
where IsActive = 1
|
||||||
group by sid,fid,billno) as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid
|
group by sid,fid,billno) as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid
|
||||||
left join
|
left join
|
||||||
(SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd
|
(SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd
|
||||||
@ -126,8 +129,9 @@ group by cid
|
|||||||
order by CourseID) as cm
|
order by CourseID) as cm
|
||||||
on cm.cid=cfd.ccid
|
on cm.cid=cfd.ccid
|
||||||
left join
|
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
|
(SELECT StudentID as sid,MobileNumber as phone,IsActive as active,FirstName as name,Fathername as father FROM T_StudentDetails) as std on std.sid=sms.sid
|
||||||
where sms.sid != 'null'
|
left join (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,EnrollmentID as eid,BranchID as branch FROM T_Student_CourseDetails) as scd on scd.sid=sms.sid and scd.cid=sms.cid and scd.branch=sms.branch
|
||||||
|
where std.active = 1
|
||||||
";
|
";
|
||||||
if ($br!= ''){
|
if ($br!= ''){
|
||||||
|
|
||||||
@ -144,8 +148,8 @@ order by CourseID) as cm
|
|||||||
$sql.=" and u.uid = '".$u."'";
|
$sql.=" and u.uid = '".$u."'";
|
||||||
|
|
||||||
}
|
}
|
||||||
$sql.=" group by ssid,scid,fbatch,lcode,fbatch,fid,sem";
|
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code,Sem";
|
||||||
$sql.=" order by sl";
|
$sql.=" order by SL_NO";
|
||||||
$leadDet=$this->db->query($sql);
|
$leadDet=$this->db->query($sql);
|
||||||
$mstatusDetails = $leadDet->result();
|
$mstatusDetails = $leadDet->result();
|
||||||
if (count($mstatusDetails) > 0) {
|
if (count($mstatusDetails) > 0) {
|
||||||
@ -161,7 +165,7 @@ order by CourseID) as cm
|
|||||||
}
|
}
|
||||||
public function certificate_status($bat=null,$br=null,$u=null){
|
public function certificate_status($bat=null,$br=null,$u=null){
|
||||||
|
|
||||||
$sql = "select @s:=@s+1 sl,sms.sid as ssid,sfp.fid,std.name,sms.certname,std.father,std.phone,sms.cid as scid,sms.lcode,sms.adate as adate,cfd.syear,sfs.batch as fbatch,cm.course,cm.uname,list.status,sfs.cid as fcid,sfs.cf as crsfee,sfs.stf as stf,sfs.others as others,(sfs.cf + sfs.stf + sfs.others) as total,sum(sfp.bamount) as bamount,sfp.bdate as bdate,sfp.billno,((sfs.cf + sfs.stf + sfs.others)-sum(sfp.bamount)) as balance
|
$sql = "select @s:=@s+1 SL_NO,sms.sid as Student_id,ifnull(scd.eid,0) as Enrollment_id,std.name as Student_name,sms.certname as Certificate_name,std.father as Father,std.phone as Phone_number,sms.cid as Course_id,sms.adate as Date,cfd.syear as Sem_year,sfs.batch as Batch_code,sms.branch as Branch_code,cm.course as Course_name,cm.uname as University,list.status as Status,sfp.bdate as Document_fee_paid_date,((sfs.cf + sfs.stf + sfs.others)-sum(sfp.bamount)) as Balance_fee
|
||||||
from (SELECT @s:= 0) AS s,
|
from (SELECT @s:= 0) AS s,
|
||||||
(SELECT ID,StudentID as sid,CourseID as cid,app.BranchCode as branch,ListCode as lcode,AppDate as adate,Comments as acmts,CertificationType as ctype,CertificateName as certname FROM T_ApplicationStatus as app
|
(SELECT ID,StudentID as sid,CourseID as cid,app.BranchCode as branch,ListCode as lcode,AppDate as adate,Comments as acmts,CertificationType as ctype,CertificateName as certname FROM T_ApplicationStatus as app
|
||||||
left join T_CertificationMaster cm on cm.CertificationID=app.CertificationType
|
left join T_CertificationMaster cm on cm.CertificationID=app.CertificationType
|
||||||
@ -172,6 +176,7 @@ group by sid,cid,lcode,branch) as sms
|
|||||||
group by sid,fid,cid,batch) as sfs on sfs.sid=sms.sid and sms.cid=sfs.cid
|
group by sid,fid,cid,batch) as sfs on sfs.sid=sms.sid and sms.cid=sfs.cid
|
||||||
left join
|
left join
|
||||||
(SELECT StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount,BillNO as billno FROM T_Students_Fees_PaidDetails
|
(SELECT StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount,BillNO as billno FROM T_Students_Fees_PaidDetails
|
||||||
|
where IsActive = 1
|
||||||
group by sid,fid,billno) as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid
|
group by sid,fid,billno) as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid
|
||||||
left join
|
left join
|
||||||
(SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd
|
(SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd
|
||||||
@ -186,8 +191,9 @@ group by cid
|
|||||||
order by CourseID) as cm
|
order by CourseID) as cm
|
||||||
on cm.cid=cfd.ccid
|
on cm.cid=cfd.ccid
|
||||||
left join
|
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
|
(SELECT StudentID as sid,MobileNumber as phone,IsActive as active,FirstName as name,Fathername as father FROM T_StudentDetails) as std on std.sid=sms.sid
|
||||||
where sms.sid != 'null'
|
left join (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,EnrollmentID as eid,BranchID as branch FROM T_Student_CourseDetails) as scd on scd.sid=sms.sid and scd.cid=sms.cid and scd.branch=sms.branch
|
||||||
|
where std.active = 1
|
||||||
";
|
";
|
||||||
if ($br!= ''){
|
if ($br!= ''){
|
||||||
|
|
||||||
@ -201,11 +207,11 @@ order by CourseID) as cm
|
|||||||
}
|
}
|
||||||
if ($u!= ''){
|
if ($u!= ''){
|
||||||
|
|
||||||
$sql.=" and u.uid = '".$u."'";
|
$sql.=" and cm.uid = '".$u."'";
|
||||||
|
|
||||||
}
|
}
|
||||||
$sql.=" group by ssid,scid,fbatch,lcode,fbatch,fid";
|
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code";
|
||||||
$sql.=" order by sl";
|
$sql.=" order by SL_NO";
|
||||||
$leadDet=$this->db->query($sql);
|
$leadDet=$this->db->query($sql);
|
||||||
$cert_statusDetails = $leadDet->result();
|
$cert_statusDetails = $leadDet->result();
|
||||||
if (count($cert_statusDetails) > 0) {
|
if (count($cert_statusDetails) > 0) {
|
||||||
@ -221,10 +227,10 @@ order by CourseID) as cm
|
|||||||
}
|
}
|
||||||
public function mark_cert_status($bat=null,$br=null,$u=null,$from=null,$to=null){
|
public function mark_cert_status($bat=null,$br=null,$u=null,$from=null,$to=null){
|
||||||
|
|
||||||
$sql = "select @s:=@s+1 sl,sms.sid as ssid,sfp.fid,std.name,ams.certname,sms.ccmts,ams.acmts,std.father,std.phone,sms.cid as scid,sms.lcode,sms.cdate,ams.adate as adate,cfd.syear,sfs.batch as fbatch,cm.course,cm.uname,sms.sem,list.status,alist.astatus,sfs.cid as fcid,sfs.cf as crsfee,sfs.stf as stf,sfs.others as others,(sfs.cf + sfs.stf + sfs.others) as total,sfp.bamount as bamount,sfp.bdate as bdate,sfp.billno,((sfs.cf + sfs.stf + sfs.others)-sfp.bamount) as balance
|
$sql = "select @s:=@s+1 SL_NO,sms.sid as Student_id,scd.eid as Enrollment_id,std.name as Student_name,std.father as Father_name,std.phone as Phone_number,sms.cid as Course_id,sfs.batch as Batch_code,sms.branch as Branch_code,cm.course as course_name,cm.uname as University,sfp.bdate as Document_fee_paid_date,((sfs.cf + sfs.stf + sfs.others)-sfp.bamount) as Balance_fee,cfd.syear as Sem_year,sms.sem as Sem,list.status as Markcard_status,sms.mdate as Markcard_date,sms.mcmts as Markcard_comments,ams.certname as Certificate_name,alist.astatus as Certificate_status,ams.adate as Certificate_date,ams.acmts as Certificate_comments
|
||||||
from (SELECT @s:= 0) AS s,
|
from (SELECT @s:= 0) AS s,
|
||||||
(SELECT ID,StudentID as sid,CourseID as cid,BranchCode as branch,ListCode as lcode,
|
(SELECT ID,StudentID as sid,CourseID as cid,BranchCode as branch,ListCode as lcode,
|
||||||
CertificationType as ctype,CDate as cdate,Sem as sem,Comments as ccmts
|
CertificationType as ctype,CDate as mdate,Sem as sem,Comments as mcmts
|
||||||
FROM T_CertificationStatus
|
FROM T_CertificationStatus
|
||||||
WHERE ID IN (SELECT max(ID) FROM T_CertificationStatus group by StudentID,CourseID,BranchCode,Sem)
|
WHERE ID IN (SELECT max(ID) FROM T_CertificationStatus group by StudentID,CourseID,BranchCode,Sem)
|
||||||
group by sid,sem,cid,lcode,branch) as sms
|
group by sid,sem,cid,lcode,branch) as sms
|
||||||
@ -242,6 +248,7 @@ left join
|
|||||||
as sfs on sfs.sid=sms.sid and sms.cid=sfs.ftype
|
as sfs on sfs.sid=sms.sid and sms.cid=sfs.ftype
|
||||||
left join
|
left join
|
||||||
(SELECT StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount,BillNO as billno FROM T_Students_Fees_PaidDetails
|
(SELECT StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount,BillNO as billno FROM T_Students_Fees_PaidDetails
|
||||||
|
where IsActive = 1
|
||||||
group by sid,fid,billno)
|
group by sid,fid,billno)
|
||||||
as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid
|
as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid
|
||||||
left join
|
left join
|
||||||
@ -260,9 +267,9 @@ left join
|
|||||||
order by CourseID)
|
order by CourseID)
|
||||||
as cm on cm.cid=cfd.ccid
|
as cm on cm.cid=cfd.ccid
|
||||||
left join
|
left join
|
||||||
(SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father
|
(SELECT StudentID as sid,MobileNumber as phone,IsActive as active,FirstName as name,Fathername as father FROM T_StudentDetails) as std on std.sid=sms.sid
|
||||||
FROM T_StudentDetails) as std on std.sid=sms.sid
|
left join (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,EnrollmentID as eid,BranchID as branch FROM T_Student_CourseDetails) as scd on scd.sid=sms.sid and scd.cid=sms.cid and scd.branch=sms.branch
|
||||||
where sms.sid != 'null'
|
where std.active = 1
|
||||||
";
|
";
|
||||||
if ($br!= ''){
|
if ($br!= ''){
|
||||||
|
|
||||||
@ -283,12 +290,12 @@ left join
|
|||||||
$fromd= date("Y-m-d",strtotime($from));
|
$fromd= date("Y-m-d",strtotime($from));
|
||||||
$tod=date("Y-m-d",strtotime($to));
|
$tod=date("Y-m-d",strtotime($to));
|
||||||
|
|
||||||
$sql.="and sms.cdate >= '".$fromd."'
|
$sql.="and sfp.bdate >= '".$fromd."'
|
||||||
and sms.cdate <= '".$tod."'";
|
and sfp.bdate <= '".$tod."'";
|
||||||
|
|
||||||
}
|
}
|
||||||
$sql.=" group by ssid,scid,fbatch,fbatch,fid,sem";
|
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code,Sem";
|
||||||
$sql.=" order by sl";
|
$sql.=" order by SL_NO";
|
||||||
|
|
||||||
$leadDet=$this->db->query($sql);
|
$leadDet=$this->db->query($sql);
|
||||||
$mcert_statusDetails = $leadDet->result();
|
$mcert_statusDetails = $leadDet->result();
|
||||||
@ -305,7 +312,7 @@ left join
|
|||||||
}
|
}
|
||||||
public function expense($from=null,$to=null){
|
public function expense($from=null,$to=null){
|
||||||
|
|
||||||
$sql = "SELECT dbm.Date as date,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 Expense_name,sum(dbm.Amount) as Amount FROM T_Income_Outcome_Master exp
|
||||||
join T_DayBookMaster dbm on dbm.Type=exp.ID
|
join T_DayBookMaster dbm on dbm.Type=exp.ID
|
||||||
where dbm.Name = 'I001' and dbm.Status = 'Approved'
|
where dbm.Name = 'I001' and dbm.Status = 'Approved'
|
||||||
";
|
";
|
||||||
@ -318,7 +325,7 @@ left join
|
|||||||
and dbm.Date <= '".$tod."'";
|
and dbm.Date <= '".$tod."'";
|
||||||
|
|
||||||
}
|
}
|
||||||
$sql.=" group by exp_name";
|
$sql.=" group by Expense_name";
|
||||||
|
|
||||||
|
|
||||||
$leadDet=$this->db->query($sql);
|
$leadDet=$this->db->query($sql);
|
||||||
@ -336,7 +343,7 @@ left join
|
|||||||
}
|
}
|
||||||
public function answer_booklet($bat=null,$br=null,$u=null){
|
public function answer_booklet($bat=null,$br=null,$u=null){
|
||||||
|
|
||||||
$sql = "select @s:=@s+1 sl,sms.sid as ssid,sfp.fid,std.name,std.father,std.phone,sms.cid as scid,sms.sem,sms.lcode,sms.adate as adate,cfd.syear,sfs.batch as fbatch,cm.course,cm.uname,list.status,sfs.cid as fcid,sfs.cf as crsfee,sfs.stf as stf,sfs.others as others,(sfs.cf + sfs.stf + sfs.others) as total,sum(sfp.bamount) as bamount,sfp.bdate as bdate,sfp.billno,((sfs.cf + sfs.stf + sfs.others)-sum(sfp.bamount)) as balance
|
$sql = "select @s:=@s+1 SL_NO,sms.sid as Student_id,scd.eid as Enrollment_id,std.name as Student_name,std.father as Father_name,std.phone as Phone_number,sms.cid as Course_id,sfs.batch as Batch_code,sms.branch as Branch_code,sms.adate as Date,cfd.syear as Sem_year,sms.sem as Sem,cm.course as Course_name,cm.uname as University,list.status as Status
|
||||||
from (SELECT @s:= 0) AS s,
|
from (SELECT @s:= 0) AS s,
|
||||||
(SELECT ID,StudentID as sid,CourseID as cid,BranchCode as branch,ListCode as lcode,AnsDate as
|
(SELECT ID,StudentID as sid,CourseID as cid,BranchCode as branch,ListCode as lcode,AnsDate as
|
||||||
adate,Sem as sem FROM T_AnswerBookletStatus
|
adate,Sem as sem FROM T_AnswerBookletStatus
|
||||||
@ -349,6 +356,7 @@ left join
|
|||||||
as sfs on sfs.sid=sms.sid and sms.cid=sfs.ftype
|
as sfs on sfs.sid=sms.sid and sms.cid=sfs.ftype
|
||||||
left join
|
left join
|
||||||
(SELECT StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount,BillNO as billno FROM T_Students_Fees_PaidDetails
|
(SELECT StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount,BillNO as billno FROM T_Students_Fees_PaidDetails
|
||||||
|
where IsActive = 1
|
||||||
group by sid,fid,billno)
|
group by sid,fid,billno)
|
||||||
as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid
|
as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid
|
||||||
left join
|
left join
|
||||||
@ -364,9 +372,9 @@ left join
|
|||||||
order by CourseID)
|
order by CourseID)
|
||||||
as cm on cm.cid=cfd.ccid
|
as cm on cm.cid=cfd.ccid
|
||||||
left join
|
left join
|
||||||
(SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father
|
(SELECT StudentID as sid,MobileNumber as phone,IsActive as active,FirstName as name,Fathername as father FROM T_StudentDetails) as std on std.sid=sms.sid
|
||||||
FROM T_StudentDetails) as std on std.sid=sms.sid
|
left join (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,EnrollmentID as eid,BranchID as branch FROM T_Student_CourseDetails) as scd on scd.sid=sms.sid and scd.cid=sms.cid and scd.branch=sms.branch
|
||||||
where sms.sid != 'null'
|
where std.active = 1
|
||||||
";
|
";
|
||||||
|
|
||||||
if ($br!= ''){
|
if ($br!= ''){
|
||||||
@ -384,8 +392,8 @@ left join
|
|||||||
$sql.=" and cm.uid = '".$u."'";
|
$sql.=" and cm.uid = '".$u."'";
|
||||||
|
|
||||||
}
|
}
|
||||||
$sql.=" group by ssid,scid,fbatch,lcode,fbatch,fid,sem";
|
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code,Sem";
|
||||||
$sql.=" order by sl";
|
$sql.=" order by SL_NO";
|
||||||
|
|
||||||
|
|
||||||
$leadDet=$this->db->query($sql);
|
$leadDet=$this->db->query($sql);
|
||||||
@ -403,7 +411,7 @@ left join
|
|||||||
}
|
}
|
||||||
public function app_pending($bat=null,$br=null,$u=null){
|
public function app_pending($bat=null,$br=null,$u=null){
|
||||||
|
|
||||||
$sql = "select @s:=@s+1 sl,sms.sid as ssid,sfp.fid,std.name,std.father,std.phone,sms.cid as scid,sms.lcode,sms.adate as adate,cfd.syear,sfs.batch as fbatch,cm.course,cm.uname,list.status,sfs.cid as fcid,sfs.cf as crsfee,sfs.stf as stf,sfs.others as others,(sfs.cf + sfs.stf + sfs.others) as total,sum(sfp.bamount) as bamount,sfp.bdate as bdate,sfp.billno,((sfs.cf + sfs.stf + sfs.others)-sum(sfp.bamount)) as balance
|
$sql = "select @s:=@s+1 SL_NO,sms.sid as Student_id,scd.eid as Enrollment_id,std.name as Student_name,std.father as Father_name,std.phone as Phone_number,sms.cid as Course_id,cfd.syear as Sem_year,sfs.batch as Batch_code,sms.branch as Branch_code,cm.course as Course_name,cm.uname as University,list.status as Status,sfp.bdate as Admission_date
|
||||||
from (SELECT @s:= 0) AS s,
|
from (SELECT @s:= 0) AS s,
|
||||||
(SELECT ID,StudentID as sid,CourseID as cid,app.BranchCode as branch,ListCode as lcode,AppDate as adate,Comments as acmts,CertificationType as ctype,CertificateName as certname FROM T_ApplicationStatus as app
|
(SELECT ID,StudentID as sid,CourseID as cid,app.BranchCode as branch,ListCode as lcode,AppDate as adate,Comments as acmts,CertificationType as ctype,CertificateName as certname FROM T_ApplicationStatus as app
|
||||||
left join T_CertificationMaster cm on cm.CertificationID=app.CertificationType
|
left join T_CertificationMaster cm on cm.CertificationID=app.CertificationType
|
||||||
@ -416,7 +424,7 @@ left join
|
|||||||
as sfs on sfs.sid=sms.sid and sms.cid=sfs.cid
|
as sfs on sfs.sid=sms.sid and sms.cid=sfs.cid
|
||||||
left join
|
left join
|
||||||
(SELECT ID,StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount,BillNO as billno FROM T_Students_Fees_PaidDetails
|
(SELECT ID,StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount,BillNO as billno FROM T_Students_Fees_PaidDetails
|
||||||
WHERE ID IN (SELECT min(ID) FROM T_Students_Fees_PaidDetails group by StudentID,FeesID)
|
WHERE IsActive = 1 and ID IN (SELECT min(ID) FROM T_Students_Fees_PaidDetails group by StudentID,FeesID)
|
||||||
group by sid,fid,billno)
|
group by sid,fid,billno)
|
||||||
as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid
|
as sfp on sfp.sid=sfs.sid and sfp.fid=sfs.fid
|
||||||
left join
|
left join
|
||||||
@ -432,9 +440,9 @@ left join
|
|||||||
order by CourseID)
|
order by CourseID)
|
||||||
as cm on cm.cid=cfd.ccid
|
as cm on cm.cid=cfd.ccid
|
||||||
left join
|
left join
|
||||||
(SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father
|
(SELECT StudentID as sid,MobileNumber as phone,IsActive as active,FirstName as name,Fathername as father FROM T_StudentDetails) as std on std.sid=sms.sid
|
||||||
FROM T_StudentDetails) as std on std.sid=sms.sid
|
left join (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,EnrollmentID as eid,BranchID as branch FROM T_Student_CourseDetails) as scd on scd.sid=sms.sid and scd.cid=sms.cid and scd.branch=sms.branch
|
||||||
where sms.sid != 'null'
|
where std.active = 1
|
||||||
";
|
";
|
||||||
|
|
||||||
if ($br!= ''){
|
if ($br!= ''){
|
||||||
@ -452,8 +460,8 @@ left join
|
|||||||
$sql.=" and cm.uid = '".$u."'";
|
$sql.=" and cm.uid = '".$u."'";
|
||||||
|
|
||||||
}
|
}
|
||||||
$sql.=" group by ssid,scid,fbatch,lcode,fbatch,fid";
|
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code";
|
||||||
$sql.=" order by sl";
|
$sql.=" order by SL_NO";
|
||||||
|
|
||||||
|
|
||||||
$leadDet=$this->db->query($sql);
|
$leadDet=$this->db->query($sql);
|
||||||
@ -471,57 +479,50 @@ left join
|
|||||||
}
|
}
|
||||||
public function doc_pending($bat=null,$br=null,$u=null){
|
public function doc_pending($bat=null,$br=null,$u=null){
|
||||||
|
|
||||||
$sql = "select @s:=@s+1 sl,sms.sid as ssid,sfp.fid,std.name,std.father,std.phone,sms.cid as scid,sms.lcode,sms.adate as adate,cfd.syear,sfs.batch as fbatch,cm.course,cm.uname,list.status,sfs.cid as fcid,sfs.cf as crsfee,sfs.stf as stf,sfs.others as others,(sfs.cf + sfs.stf + sfs.others) as total,sum(sfp.bamount) as bamount,sfp.bdate as bdate,sfp.billno,((sfs.cf + sfs.stf + sfs.others)-sum(sfp.bamount)) as balance
|
$sql = "SELECT @s:=@s+1 SL_NO,sdt.StudentID as Student_id,scd.eid as Enrollment_id,sfb.bdate as Admission_date,std.name Student_name,std.father as Father_name,std.phone as Phone_number,lt.CreatedBranch as Branch_code,sfb.batch as Batch_code,lt.Course as Course_name,lt.University as University,uc.cid as Course_id,cfd.syear as Sem_year,sdt.StatusName as Status
|
||||||
from (SELECT @s:= 0) AS s,
|
FROM (SELECT @s:= 0) AS s,T_Student_DocumentTrack_Details as sdt
|
||||||
(SELECT ID,StudentID as sid,CourseID as cid,app.BranchCode as branch,ListCode as lcode,AppDate as adate,Comments as acmts,CertificationType as ctype,CertificateName as certname FROM T_ApplicationStatus as app
|
join T_Lead_Tracking as lt on lt.PendingDocStatus=sdt.ID
|
||||||
left join T_CertificationMaster cm on cm.CertificationID=app.CertificationType
|
|
||||||
where CertificateName != 'APPLICATION' and ID IN (SELECT max(ID) FROM T_ApplicationStatus group by StudentID,CourseID,BranchCode)
|
|
||||||
group by sid,cid,lcode,branch) as sms
|
|
||||||
left join
|
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
|
(SELECT StudentID as sid,MobileNumber as phone,IsActive as active,FirstName as name,Fathername as father FROM T_StudentDetails) as std on std.sid=sdt.StudentID
|
||||||
FROM T_Students_Fees_Status
|
|
||||||
group by sid,fid,cid,batch)
|
|
||||||
as sfs on sfs.sid=sms.sid and sms.cid=sfs.cid
|
|
||||||
left join
|
|
||||||
(SELECT ID,StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount,BillNO as billno FROM T_Students_Fees_PaidDetails
|
|
||||||
WHERE ID IN (SELECT min(ID) FROM T_Students_Fees_PaidDetails group by StudentID,FeesID)
|
|
||||||
group by sid,fid,billno)
|
|
||||||
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.ccid=sfs.cid and cfd.cid=sfs.ftype
|
|
||||||
left join
|
|
||||||
(SELECT ListCode as lcode,ListName as status FROM T_PickListDetails)
|
|
||||||
as list on list.lcode=sms.lcode
|
|
||||||
left join
|
left join
|
||||||
(SELECT CourseID as cid,cm.UniversityID as cuid,u.UniversityID as uid,CourseName as course,
|
(SELECT CourseID as cid,cm.UniversityID as cuid,u.UniversityID as uid,CourseName as course,
|
||||||
UniversityName as uname,cm.BranchCode as branch FROM T_CourseMaster as cm
|
UniversityName as uname,cm.BranchCode as branch FROM T_CourseMaster as cm
|
||||||
left join T_UniversityMaster as u on u.UniversityID=cm.UniversityID
|
left join T_UniversityMaster as u on u.UniversityID=cm.UniversityID
|
||||||
group by cid
|
group by cid
|
||||||
order by CourseID)
|
order by CourseID) as uc on uc.course=lt.Course
|
||||||
as cm on cm.cid=cfd.ccid
|
|
||||||
left join
|
left join
|
||||||
(SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father
|
(SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd on cfd.ccid=uc.cid
|
||||||
FROM T_StudentDetails) as std on std.sid=sms.sid
|
left join
|
||||||
where sms.sid != 'null'
|
(select sfp.sid,sfp.bdate,sfs.batch,sfs.cid from (SELECT ID,StudentID as sid,FeesId as fid,BillDate as bdate,sum(BillAmount) as bamount,BillNO as billno FROM T_Students_Fees_PaidDetails
|
||||||
|
WHERE IsActive = 1 and ID IN (SELECT min(ID) FROM T_Students_Fees_PaidDetails group by StudentID,FeesID)
|
||||||
|
group by sid,fid,billno) as sfp
|
||||||
|
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,fid,cid,batch) as sfs on sfs.fid=sfp.fid and sfs.sid=sfp.sid
|
||||||
|
group by sfs.sid,sfs.cid) as sfb on sfb.sid=sdt.StudentID and sfb.cid=uc.cid
|
||||||
|
left join (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,EnrollmentID as eid,BranchID as branch FROM T_Student_CourseDetails) as scd on scd.sid=sdt.StudentID and scd.cid=uc.cid and scd.branch=uc.branch
|
||||||
|
where std.active = 1
|
||||||
|
|
||||||
";
|
";
|
||||||
|
|
||||||
if ($br!= ''){
|
if ($br!= ''){
|
||||||
|
|
||||||
$sql.=" and sms.branch = '".$br."'";
|
$sql.=" and lt.CreatedBranch = '".$br."'";
|
||||||
|
|
||||||
}
|
}
|
||||||
if ($bat!= ''){
|
if ($bat!= ''){
|
||||||
|
|
||||||
$sql.=" and b.bcode = '".$bat."'";
|
$sql.=" and sfb.batch = '".$bat."'";
|
||||||
|
|
||||||
}
|
}
|
||||||
if ($u!= ''){
|
if ($u!= ''){
|
||||||
|
|
||||||
$sql.=" and cm.uid = '".$u."'";
|
$sql.=" and uc.cuid = '".$u."'";
|
||||||
|
|
||||||
}
|
}
|
||||||
$sql.=" group by ssid,scid,fbatch,lcode,fbatch,fid";
|
$sql.="group by Student_id,Course_id,Batch_code,Branch_code ";
|
||||||
$sql.=" order by sl";
|
$sql.=" order by SL_NO";
|
||||||
|
|
||||||
|
|
||||||
$leadDet=$this->db->query($sql);
|
$leadDet=$this->db->query($sql);
|
||||||
@ -539,19 +540,20 @@ left join
|
|||||||
}
|
}
|
||||||
public function wav_ref($bat=null,$br=null,$u=null){
|
public function wav_ref($bat=null,$br=null,$u=null){
|
||||||
|
|
||||||
$sql = "select @s:=@s+1 sl,sms.sid as ssid,std.name,std.father,std.phone,cfd.syear,sfs.batch as fbatch,cm.course,cm.uname,sfs.cid as scid,sms.waiver_bill,sms.waiver,sms.referal_bill,sms.referal,sms.cmts
|
$sql = "select @s:=@s+1 SL_NO,sms.sid as Student_id,scd.eid as Enrollment_id,std.name as Student_name,std.father as Father_name,std.phone as Phone_number,cfd.syear as Sem_year,sfs.batch as Batch_code,scd.branch as Branch_code,sfs.cid as Course_id,cm.course as Course_name,cm.uname as University,sms.waiver_bill as Waiver_bill,sms.waiver as Waiver_amount,sms.referal_bill as Referal_bill,sms.referal as Referal_amount,sms.cmts as Comments
|
||||||
from (SELECT @s:= 0) AS s,
|
from (SELECT @s:= 0) AS s,
|
||||||
(SELECT StudentID as sid,CommentsForStudent as cmts,FeesId as fid,
|
(SELECT StudentID as sid,CommentsForStudent as cmts,FeesId as fid,
|
||||||
IF(ModeOfPayment = 'WAIVER', BillNO,0) AS waiver_bill,
|
IF(ModeOfPayment = 'WAIVER', BillNO,0) AS waiver_bill,
|
||||||
IF(ModeOfPayment = 'WAIVER', sum(BillAmount), 0) AS waiver,
|
IF(ModeOfPayment = 'WAIVER', sum(BillAmount), 0) AS waiver,
|
||||||
IF(ModeOfPayment = 'REFERRAL', BillNO, 0) AS referal_bill,
|
IF(ModeOfPayment = 'REFERRAL', BillNO, 0) AS referal_bill,
|
||||||
IF(ModeOfPayment = 'REFERRAL', sum(BillAmount), 0) AS referal FROM T_Students_Fees_PaidDetails
|
IF(ModeOfPayment = 'REFERRAL', sum(BillAmount), 0) AS referal FROM T_Students_Fees_PaidDetails
|
||||||
|
where IsActive = 1
|
||||||
group by waiver_bill,referal_bill) as sms
|
group by waiver_bill,referal_bill) as sms
|
||||||
left join
|
left join
|
||||||
(SELECT FeesID as fid,BatchCode as batch,StudentID as sid,CourseID as cid,FeesType as ftype FROM T_Students_Fees_Status
|
(SELECT FeesID as fid,BatchCode as batch,StudentID as sid,CourseID as cid,FeesType as ftype FROM T_Students_Fees_Status
|
||||||
group by sid,cid,batch) as sfs on sfs.sid=sms.sid and sfs.fid=sms.fid
|
group by sid,cid,batch) as sfs on sfs.sid=sms.sid and sfs.fid=sms.fid
|
||||||
left join
|
left join
|
||||||
(SELECT StudentID as sid,UniversityID as uid,CourseID as cid,BranchID as branch FROM T_Student_CourseDetails) as scd on scd.sid=sms.sid and scd.cid=sfs.cid
|
(SELECT StudentID as sid,UniversityID as uid,CourseID as cid,EnrollmentID as eid,BranchID as branch FROM T_Student_CourseDetails) as scd on scd.sid=sms.sid and scd.cid=sfs.cid
|
||||||
|
|
||||||
left join
|
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.ccid=scd.cid and cfd.cid=sfs.ftype
|
(SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd on cfd.ccid=scd.cid and cfd.cid=sfs.ftype
|
||||||
@ -563,9 +565,8 @@ left join
|
|||||||
order by CourseID)
|
order by CourseID)
|
||||||
as cm on cm.cid=cfd.ccid
|
as cm on cm.cid=cfd.ccid
|
||||||
left join
|
left join
|
||||||
(SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father
|
(SELECT StudentID as sid,MobileNumber as phone,IsActive as active,FirstName as name,Fathername as father FROM T_StudentDetails) as std on std.sid=sms.sid
|
||||||
FROM T_StudentDetails) as std on std.sid=sms.sid
|
where std.active = 1
|
||||||
where sms.sid != 'null'
|
|
||||||
|
|
||||||
";
|
";
|
||||||
|
|
||||||
@ -584,8 +585,8 @@ left join
|
|||||||
$sql.=" and cm.uid = '".$u."'";
|
$sql.=" and cm.uid = '".$u."'";
|
||||||
|
|
||||||
}
|
}
|
||||||
$sql.=" group by ssid,scid,fbatch,fbatch,waiver_bill,referal_bill";
|
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code,Waiver_bill,Referal_bill";
|
||||||
$sql.=" order by sl";
|
$sql.=" order by SL_NO";
|
||||||
|
|
||||||
|
|
||||||
$leadDet=$this->db->query($sql);
|
$leadDet=$this->db->query($sql);
|
||||||
@ -603,7 +604,7 @@ left join
|
|||||||
}
|
}
|
||||||
public function examfee($bat=null,$br=null,$u=null){
|
public function examfee($bat=null,$br=null,$u=null){
|
||||||
|
|
||||||
$sql = "select @s:=@s+1 sl,sms.sid as ssid,std.name,std.father,std.phone,cfd.syear,sfs.batch as fbatch,cm.course,cm.uname,sfs.cid as scid,sms.cmts,sms.stf,sms.branch
|
$sql = "select @s:=@s+1 SL_NO,sms.sid as Student_id,scd.eid as Enrollment_id,std.name as Student_name,std.father as Father_name,std.phone as Phone_number,cfd.syear as Sem_year,sfs.batch as Batch_code,cm.course as Course_name,cm.uname as University,sfs.cid as Course_id,sms.cmts as Comments,sms.stf as Amount,sms.branch as Branch_code
|
||||||
from (SELECT @s:= 0) AS s,
|
from (SELECT @s:= 0) AS s,
|
||||||
(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,BranchCode as branch FROM T_Students_Fees_Status
|
(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,BranchCode as branch FROM T_Students_Fees_Status
|
||||||
where STFOrWR != ''
|
where STFOrWR != ''
|
||||||
@ -612,7 +613,7 @@ left join
|
|||||||
(SELECT FeesID as fid,BatchCode as batch,StudentID as sid,CourseID as cid,FeesType as ftype FROM T_Students_Fees_Status
|
(SELECT FeesID as fid,BatchCode as batch,StudentID as sid,CourseID as cid,FeesType as ftype FROM T_Students_Fees_Status
|
||||||
group by sid,cid,batch) as sfs on sfs.sid=sms.sid and sfs.fid=sms.fid
|
group by sid,cid,batch) as sfs on sfs.sid=sms.sid and sfs.fid=sms.fid
|
||||||
left join
|
left join
|
||||||
(SELECT StudentID as sid,UniversityID as uid,CourseID as cid,BranchID as branch FROM T_Student_CourseDetails) as scd on scd.sid=sms.sid and scd.cid=sfs.cid
|
(SELECT StudentID as sid,UniversityID as uid,CourseID as cid,EnrollmentID as eid,BranchID as branch FROM T_Student_CourseDetails) as scd on scd.sid=sms.sid and scd.cid=sfs.cid
|
||||||
|
|
||||||
left join
|
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.ccid=scd.cid and cfd.cid=sfs.ftype
|
(SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd on cfd.ccid=scd.cid and cfd.cid=sfs.ftype
|
||||||
@ -624,9 +625,9 @@ left join
|
|||||||
order by CourseID)
|
order by CourseID)
|
||||||
as cm on cm.cid=cfd.ccid
|
as cm on cm.cid=cfd.ccid
|
||||||
left join
|
left join
|
||||||
(SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father
|
(SELECT StudentID as sid,MobileNumber as phone,IsActive as active,FirstName as name,Fathername as father FROM T_StudentDetails) as std on std.sid=sms.sid
|
||||||
FROM T_StudentDetails) as std on std.sid=sms.sid
|
where std.active = 1
|
||||||
where sms.sid != 'null'
|
|
||||||
";
|
";
|
||||||
|
|
||||||
if ($br!= ''){
|
if ($br!= ''){
|
||||||
@ -644,8 +645,8 @@ left join
|
|||||||
$sql.=" and cm.uid = '".$u."'";
|
$sql.=" and cm.uid = '".$u."'";
|
||||||
|
|
||||||
}
|
}
|
||||||
$sql.=" group by ssid,scid,fbatch,fbatch";
|
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code";
|
||||||
$sql.=" order by sl";
|
$sql.=" order by SL_NO";
|
||||||
|
|
||||||
|
|
||||||
$leadDet=$this->db->query($sql);
|
$leadDet=$this->db->query($sql);
|
||||||
@ -662,41 +663,34 @@ left join
|
|||||||
|
|
||||||
}
|
}
|
||||||
public function balfee($bat=null,$br=null,$u=null){
|
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));
|
$sql = "SELECT sfp.StudentID as Student_id,std.name as Student_name,std.father as Father_name,std.phone as Phone_number,sfs.batch as Batch_code,sfs.cid as Course_id,cm.course as Course_name,u.uname as University,sfs.branch as Branch_code,cfd.syear as Sem_year,(sfs.cf + sfs.stf + sfs.others) as Total,(sfb.bamount) as Paid_fee,((sfs.cf + sfs.stf + sfs.others) - (sfb.bamount)) as balance,
|
||||||
foreach($yy as $t) {
|
MAX(CASE WHEN Installment = 1 THEN sfp.BillNO END) as billno1,
|
||||||
$sid[]=$t;
|
MAX(CASE WHEN Installment = 1 THEN sfp.BillAmount END) as billamt1,
|
||||||
}
|
MAX(CASE WHEN Installment = 2 THEN sfp.BillNO END) as billno2,
|
||||||
$s=count($sid);
|
MAX(CASE WHEN Installment = 2 THEN sfp.BillAmount END) as billamt2,
|
||||||
// echo $sid;
|
MAX(CASE WHEN Installment = 3 THEN sfp.BillNO END) as billno3,
|
||||||
// print_r($s);die();
|
MAX(CASE WHEN Installment = 3 THEN sfp.BillAmount END) as billamt3,
|
||||||
|
MAX(CASE WHEN Installment = 4 THEN sfp.BillNO END) as billno4,
|
||||||
// while($sid<=$s){
|
MAX(CASE WHEN Installment = 4 THEN sfp.BillAmount END) as billamt4,
|
||||||
for($i=0;$i<$s;$i++){
|
MAX(CASE WHEN Installment = 5 THEN sfp.BillNO END) as billno5,
|
||||||
$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,
|
MAX(CASE WHEN Installment = 5 THEN sfp.BillAmount END) as billamt5,
|
||||||
(SELECT BillNO as billno FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 0,1) AS 1billno,
|
MAX(CASE WHEN Installment = 6 THEN sfp.BillNO END) as billno6,
|
||||||
(SELECT BillAmount as billamt FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 0,1) AS 1billamt,
|
MAX(CASE WHEN Installment = 6 THEN sfp.BillAmount END) as billamt6,
|
||||||
(SELECT BillNO as billno FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 1,1) AS 2billno,
|
MAX(CASE WHEN Installment = 7 THEN sfp.BillNO END) as billno7,
|
||||||
(SELECT BillAmount as billamt FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 1,1) AS 2billamt,
|
MAX(CASE WHEN Installment = 7 THEN sfp.BillAmount END) as billamt7,
|
||||||
(SELECT BillNO as billno FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 2,1) AS 3billno,
|
MAX(CASE WHEN Installment = 8 THEN sfp.BillNO END) as billno8,
|
||||||
(SELECT BillAmount as billamt FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 2,1) AS 3billamt,
|
MAX(CASE WHEN Installment = 8 THEN sfp.BillAmount END) as billamt8,
|
||||||
(SELECT BillNO as billno FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 3,1) AS 4billno,
|
MAX(CASE WHEN Installment = 9 THEN sfp.BillNO END) as billno9,
|
||||||
(SELECT BillAmount as billamt FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 3,1) AS 4billamt,
|
MAX(CASE WHEN Installment = 9 THEN sfp.BillAmount END) as billamt9,
|
||||||
(SELECT BillNO as billno FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 4,1) AS 5billno,
|
MAX(CASE WHEN Installment = 10 THEN sfp.BillNO END) as billno10,
|
||||||
(SELECT BillAmount as billamt FROM T_Students_Fees_PaidDetails WHERE StudentID = '".$sid[$i]."' limit 4,1) AS 5billamt
|
MAX(CASE WHEN Installment = 10 THEN sfp.BillAmount END) as billamt10
|
||||||
FROM T_Students_Fees_PaidDetails as sfp
|
FROM T_Students_Fees_PaidDetails as sfp
|
||||||
|
left join (SELECT FeesID as fid,BatchCode as batch,BranchCode as branch,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 fid,sid,batch,branch) as sfs on sfs.fid=sfp.FeesID and sfs.sid=sfp.StudentID
|
||||||
left join
|
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
|
(SELECT ID as cid,CourseID as ccid,FeesType as ftype,Sem_Year as syear FROM T_Course_Fees_Details) as cfd
|
||||||
group by sid,batch) as sfs on sfs.sid=sfp.StudentID
|
on cfd.ccid=sfs.cid
|
||||||
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
|
left join
|
||||||
(SELECT CourseID as cid,UniversityID as uid,CourseName as course FROM T_CourseMaster) as cm
|
(SELECT CourseID as cid,UniversityID as uid,CourseName as course FROM T_CourseMaster) as cm
|
||||||
on cm.cid=sfs.cid
|
on cm.cid=sfs.cid
|
||||||
@ -704,19 +698,19 @@ left join
|
|||||||
(SELECT UniversityID as uid,UniversityName as uname FROM T_UniversityMaster) as u
|
(SELECT UniversityID as uid,UniversityName as uname FROM T_UniversityMaster) as u
|
||||||
on u.uid=cm.uid
|
on u.uid=cm.uid
|
||||||
left join
|
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
|
(SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father,IsActive as active FROM T_StudentDetails where IsActive = 1) as std on std.sid=sfp.StudentID
|
||||||
left join
|
left join
|
||||||
(SELECT BatchCode as bcode,BatchName as batch FROM T_BatchMaster) as b on b.bcode=sfs.batch
|
(SELECT BatchCode as bcode,BatchName as batchname FROM T_BatchMaster) as b on b.bcode=sfs.batch
|
||||||
left join
|
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
|
(SELECT BranchCode as brcode,BranchName as bname FROM T_BranchMaster) as br on br.brcode=sfp.UpdatedBy
|
||||||
left join
|
left join
|
||||||
(SELECT BranchCode as brcode,BranchName as bname FROM T_BranchMaster) as br on br.brcode=scd.bid
|
(SELECT StudentID as sid,FeesID as fid,BillNo as billno,sum(BillAmount) as bamount FROM T_Students_Fees_PaidDetails
|
||||||
where StudentID = '".$sid[$i]."'
|
group by sid,fid) as sfb on sfb.sid=sfp.StudentID and sfb.fid=sfp.FeesID
|
||||||
";
|
where sfp.IsActive = 1 ";
|
||||||
|
|
||||||
if ($br!= ''){
|
if ($br!= ''){
|
||||||
|
|
||||||
$sql.=" and sms.branch = '".$br."'";
|
$sql.=" and br.brcode = '".$br."'";
|
||||||
|
|
||||||
}
|
}
|
||||||
if ($bat!= ''){
|
if ($bat!= ''){
|
||||||
@ -729,12 +723,13 @@ left join
|
|||||||
$sql.=" and u.uid = '".$u."'";
|
$sql.=" and u.uid = '".$u."'";
|
||||||
|
|
||||||
}
|
}
|
||||||
$sql.=" group by sid,cid,batch";
|
$sql.=" group by Student_id,Batch_code,Course_id,Branch_code";
|
||||||
$sql.=" order by sl";
|
|
||||||
|
|
||||||
|
|
||||||
$leadDet=$this->db->query($sql);
|
$leadDet=$this->db->query($sql);
|
||||||
$answer[] = $leadDet->result();
|
$answer = $leadDet->result();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (count($answer) > 0) {
|
if (count($answer) > 0) {
|
||||||
@ -744,7 +739,7 @@ left join
|
|||||||
$results['balfeeList'] = false;
|
$results['balfeeList'] = false;
|
||||||
$results['message'] = 'No record found';
|
$results['message'] = 'No record found';
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return $results;
|
return $results;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,10 +34,35 @@ class University_model extends CI_Model
|
|||||||
$results['message'] = 'No record found';
|
$results['message'] = 'No record found';
|
||||||
}
|
}
|
||||||
return $results;
|
return $results;
|
||||||
|
|
||||||
|
print_r($results);
|
||||||
}
|
}
|
||||||
|
|
||||||
// update univesity details
|
// update univesity details
|
||||||
public function update_university_details($updateFor, $Arr) {
|
public function update_university_details($updateFor, $Arr,$imageName, $imageSource, $imageSize) {
|
||||||
|
|
||||||
|
if($imageSource == '')
|
||||||
|
{
|
||||||
|
//echo "if";
|
||||||
|
$imageNameDb = 'default.jpeg';
|
||||||
|
// $Arr['ProfilePicPath'] = "university/".$imageNameDb;
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//echo "else";
|
||||||
|
$target = "../images/university/";
|
||||||
|
$getUploadStatus = $this->upload_image($imageSource, $imageSize, $target);
|
||||||
|
$imageNameDb = $getUploadStatus['status'] == true ? $getUploadStatus['imageName'] : $getUploadStatus['imageName'] = 'default.jpeg';
|
||||||
|
// echo $imageNameDb;
|
||||||
|
$Arr['ProfilePicPath'] = "university/".$imageNameDb;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// print_r($Arr);
|
||||||
|
// die();
|
||||||
|
|
||||||
|
|
||||||
$this->db->where('UniversityID', $updateFor);
|
$this->db->where('UniversityID', $updateFor);
|
||||||
$this->db->where('BranchCode', $Arr['BranchCode']);
|
$this->db->where('BranchCode', $Arr['BranchCode']);
|
||||||
$this->db->where('ID', $Arr['ID']);
|
$this->db->where('ID', $Arr['ID']);
|
||||||
@ -47,7 +72,7 @@ class University_model extends CI_Model
|
|||||||
$result['message'] = "Successfully University details Updated";
|
$result['message'] = "Successfully University details Updated";
|
||||||
} else {
|
} else {
|
||||||
$result['updateUniversityStatus'] = false;
|
$result['updateUniversityStatus'] = false;
|
||||||
$result['message'] = "Successfully University details Updated";
|
$result['message'] = "University details not Updated";
|
||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
@ -69,7 +94,35 @@ class University_model extends CI_Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
// add university details
|
// add university details
|
||||||
public function insert_Univ($arr) {
|
public function insert_Univ($arr,$imageName, $imageSource, $imageSize) {
|
||||||
|
|
||||||
|
// echo $imageName;
|
||||||
|
// echo $imageSource;
|
||||||
|
// echo $imageSize;
|
||||||
|
|
||||||
|
if($imageSource == '')
|
||||||
|
{
|
||||||
|
//echo "if";
|
||||||
|
$imageNameDb = 'default.jpeg';
|
||||||
|
$arr['ProfilePicPath'] = "university/".$imageNameDb;
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//echo "else";
|
||||||
|
$target = "../images/university/";
|
||||||
|
$getUploadStatus = $this->upload_image($imageSource, $imageSize, $target);
|
||||||
|
$imageNameDb = $getUploadStatus['status'] == true ? $getUploadStatus['imageName'] : $getUploadStatus['imageName'] = 'default.jpeg';
|
||||||
|
// echo $imageNameDb;
|
||||||
|
$arr['ProfilePicPath'] = "university/".$imageNameDb;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// // echo $imageName;
|
||||||
|
// // echo $imageSource;
|
||||||
|
// // echo $imageSize;
|
||||||
|
// echo $imageSource;
|
||||||
|
//die();
|
||||||
$this->db->select('*');
|
$this->db->select('*');
|
||||||
$this->db->from(UNIVERSITY);
|
$this->db->from(UNIVERSITY);
|
||||||
$this->db->where('UniversityID', $arr['UniversityID']);
|
$this->db->where('UniversityID', $arr['UniversityID']);
|
||||||
@ -382,4 +435,30 @@ class University_model extends CI_Model
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// image upload in taget path
|
||||||
|
public function upload_image( $imageSource, $size, $target ) {
|
||||||
|
|
||||||
|
//echo "fn";
|
||||||
|
$key2 = substr(str_shuffle('abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'), 0, 12);
|
||||||
|
$new_regNo = "Dri_" . $key2 . "." . 'jpeg';
|
||||||
|
$targetPlace = $target . $new_regNo;
|
||||||
|
// echo $imageSource;
|
||||||
|
// exit();
|
||||||
|
if(!move_uploaded_file($imageSource , $targetPlace))
|
||||||
|
{//echo "if";
|
||||||
|
return $result['status'] = false;
|
||||||
|
|
||||||
|
$result['imageName'] = $new_regNo;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// echo "else";
|
||||||
|
$result['status'] = true;
|
||||||
|
$result['imageName'] = $new_regNo;
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -498,6 +498,13 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n
|
|||||||
}
|
}
|
||||||
angular.element('.ng-invalid[name=' + firstError + ']').focus();
|
angular.element('.ng-invalid[name=' + firstError + ']').focus();
|
||||||
} else {
|
} else {
|
||||||
|
// count exist payment length report purpose
|
||||||
|
$scope.existPaidCount=1;
|
||||||
|
angular.forEach($scope.existStudentFeesDetails,function (values) {
|
||||||
|
if(updateModel.feesType.FeesID==values.FeesID){
|
||||||
|
$scope.existPaidCount=parseInt($scope.existPaidCount)+parseInt(values.paidDetails.length);
|
||||||
|
}
|
||||||
|
});
|
||||||
$scope.ldloading = {};
|
$scope.ldloading = {};
|
||||||
|
|
||||||
$scope.ldloading[loading.replace('-', '_')] = true;
|
$scope.ldloading[loading.replace('-', '_')] = true;
|
||||||
@ -519,7 +526,6 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n
|
|||||||
billDate: $scope.billDate,
|
billDate: $scope.billDate,
|
||||||
billAmount:updateModel.billAmount,
|
billAmount:updateModel.billAmount,
|
||||||
modeOfPayment: updateModel.paymentOn.paymentOn,
|
modeOfPayment: updateModel.paymentOn.paymentOn,
|
||||||
|
|
||||||
commentsForStudent: updateModel.studComments,
|
commentsForStudent: updateModel.studComments,
|
||||||
internalComments: updateModel.internalComments,
|
internalComments: updateModel.internalComments,
|
||||||
createdBy: JSON.parse(localStorage.getItem('localObj')).localUserID,
|
createdBy: JSON.parse(localStorage.getItem('localObj')).localUserID,
|
||||||
@ -529,7 +535,8 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n
|
|||||||
course: myModel.CourseName,
|
course: myModel.CourseName,
|
||||||
//statusCode: updateModel.statusCode,
|
//statusCode: updateModel.statusCode,
|
||||||
requestedBranch : JSON.parse(localStorage.getItem('localObj')).localBranchID,
|
requestedBranch : JSON.parse(localStorage.getItem('localObj')).localBranchID,
|
||||||
currentBalance : $scope.currentBalance
|
currentBalance : $scope.currentBalance,
|
||||||
|
existPaidCount : $scope.existPaidCount
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -64,7 +64,26 @@ app.controller('report_ans_bookletCtrl', ["$scope", "API_POINTS", "$http", "Swee
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
var mystyle = {
|
||||||
|
sheetid: 'ANSWER BOOKLET STATUS REPORT',
|
||||||
|
headers: true,
|
||||||
|
caption: {
|
||||||
|
title:'ANSWER BOOKLET STATUS REPORT',
|
||||||
|
width: '300px',
|
||||||
|
style:'font-size:50px;'
|
||||||
|
},
|
||||||
|
// style:'background:#00FF00',
|
||||||
|
column: {
|
||||||
|
style:'font-size:10px'
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$scope.exportData = function () {
|
||||||
|
alasql('SELECT * INTO XLS("Answer_booklet_status.xls",?) FROM ?',[mystyle,$scope.ans_book_data]);
|
||||||
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -64,7 +64,26 @@ app.controller('report_app_pendingCtrl', ["$scope", "API_POINTS", "$http", "Swee
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
var mystyle = {
|
||||||
|
sheetid: 'APPLICAITON PENDING STUDENT LIST REPORT',
|
||||||
|
headers: true,
|
||||||
|
caption: {
|
||||||
|
title:'APPLICAITON PENDING STUDENT LIST REPORT',
|
||||||
|
width: '300px',
|
||||||
|
style:'font-size:50px;'
|
||||||
|
},
|
||||||
|
// style:'background:#00FF00',
|
||||||
|
column: {
|
||||||
|
style:'font-size:10px'
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$scope.exportData = function () {
|
||||||
|
alasql('SELECT * INTO XLS("Application_pending_student_list.xls",?) FROM ?',[mystyle,$scope.app_pending_data]);
|
||||||
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -3,9 +3,14 @@
|
|||||||
app.controller('report_balfeeCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window',
|
app.controller('report_balfeeCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window',
|
||||||
function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) {
|
function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) {
|
||||||
|
|
||||||
// DataTables configurable options
|
// to generate serial number
|
||||||
|
// $scope.serial = 1;
|
||||||
|
// $scope.itemPerPage=10
|
||||||
|
// $scope.indexCount = function(newPageNumber){
|
||||||
|
|
||||||
|
// $scope.serial = newPageNumber * $scope.itemPerPage - ($scope.itemPerPage-1);
|
||||||
|
// }
|
||||||
|
//to filter labels
|
||||||
$scope.filters = {
|
$scope.filters = {
|
||||||
"branch": "",
|
"branch": "",
|
||||||
"university": "",
|
"university": "",
|
||||||
@ -33,9 +38,9 @@ app.controller('report_balfeeCtrl', ["$scope", "API_POINTS", "$http", "SweetAler
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
// response data
|
||||||
$scope.onSubmit = function () {
|
$scope.onSubmit = function () {
|
||||||
//alert($scope.batch.name);
|
|
||||||
$scope.balfee_data = '';
|
$scope.balfee_data = '';
|
||||||
$scope.message = '';
|
$scope.message = '';
|
||||||
var response_data = {
|
var response_data = {
|
||||||
@ -64,6 +69,26 @@ app.controller('report_balfeeCtrl', ["$scope", "API_POINTS", "$http", "SweetAler
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
var mystyle = {
|
||||||
|
sheetid: 'BALANCE FEE STATUS REPORT',
|
||||||
|
headers: true,
|
||||||
|
caption: {
|
||||||
|
title:'BALANCE FEE STATUS REPORT',
|
||||||
|
width: '300px',
|
||||||
|
style:'font-size:50px;'
|
||||||
|
},
|
||||||
|
// style:'background:#00FF00',
|
||||||
|
column: {
|
||||||
|
style:'font-size:10px'
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$scope.exportData = function () {
|
||||||
|
alasql('SELECT * INTO XLS("Balancefee_status.xls",?) FROM ?',[mystyle,$scope.balfee_data]);
|
||||||
|
};
|
||||||
|
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|||||||
@ -62,6 +62,26 @@ app.controller('report_certificateCtrl', ["$scope", "API_POINTS", "$http", "Swee
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
var mystyle = {
|
||||||
|
sheetid: 'CERTIFICATE STATUS REPORT',
|
||||||
|
headers: true,
|
||||||
|
caption: {
|
||||||
|
title:'CERTIFICATE STATUS REPORT',
|
||||||
|
width: '300px',
|
||||||
|
style:'font-size:50px;'
|
||||||
|
},
|
||||||
|
// style:'background:#00FF00',
|
||||||
|
column: {
|
||||||
|
style:'font-size:10px'
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$scope.exportData = function () {
|
||||||
|
alasql('SELECT * INTO XLS("Certificate_status.xls",?) FROM ?',[mystyle,$scope.cert_data]);
|
||||||
|
};
|
||||||
|
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|||||||
@ -64,7 +64,26 @@ app.controller('report_doc_pendingCtrl', ["$scope", "API_POINTS", "$http", "Swee
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
var mystyle = {
|
||||||
|
sheetid: 'DOCUMENT PENDING STUDENT LIST REPORT',
|
||||||
|
headers: true,
|
||||||
|
caption: {
|
||||||
|
title:'DOCUMENT PENDING STUDENT LIST REPORT',
|
||||||
|
width: '300px',
|
||||||
|
style:'font-size:50px;'
|
||||||
|
},
|
||||||
|
// style:'background:#00FF00',
|
||||||
|
column: {
|
||||||
|
style:'font-size:10px'
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$scope.exportData = function () {
|
||||||
|
alasql('SELECT * INTO XLS("Document_pending_student_list.xls",?) FROM ?',[mystyle,$scope.doc_pending_data]);
|
||||||
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -62,9 +62,41 @@ app.controller('report_examfeeCtrl', ["$scope", "API_POINTS", "$http", "SweetAle
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
$scope.getstf = function(){
|
||||||
|
var totalf = 0;
|
||||||
|
for(var i = 0; i < $scope.examfee_data.length; i++){
|
||||||
|
var item = $scope.examfee_data[i];
|
||||||
|
totalf += parseFloat(item.Amount);
|
||||||
|
}
|
||||||
|
return totalf; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
var mystyle = {
|
||||||
|
sheetid: 'EXAM WRITING FEE REPORT',
|
||||||
|
headers: true,
|
||||||
|
caption: {
|
||||||
|
title:'EXAM WRITING FEE REPORT',
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
// style:'background:#00FF00',
|
||||||
|
column: {
|
||||||
|
style:'font-size:12px'
|
||||||
|
},
|
||||||
|
|
||||||
|
// column: {style:{Font:{Bold:"1"}}},
|
||||||
|
// rows: {1:{style:{Font:{Color:"#FF0077"}}}},
|
||||||
|
// cells: {1:{1:{
|
||||||
|
// style: {Font:{Color:"#00FFFF"}}
|
||||||
|
// }}}
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$scope.exportData = function () {
|
||||||
|
alasql('SELECT * INTO XLS("Exam_writing_fee_report.xls",?) FROM ?',[mystyle,$scope.examfee_data]);
|
||||||
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -63,6 +63,26 @@ app.controller('report_expenseCtrl', ["$scope", "API_POINTS", "$http", "SweetAle
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var mystyle = {
|
||||||
|
sheetid: 'EXPENSE REPORT',
|
||||||
|
headers: true,
|
||||||
|
caption: {
|
||||||
|
title:'EXPENSE REPORT',
|
||||||
|
width: '300px',
|
||||||
|
style:'font-size:50px;'
|
||||||
|
},
|
||||||
|
// style:'background:#00FF00',
|
||||||
|
column: {
|
||||||
|
style:'font-size:10px'
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$scope.exportData = function () {
|
||||||
|
alasql('SELECT * INTO XLS("Expense_report.xls",?) FROM ?',[mystyle,$scope.expense_data]);
|
||||||
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -66,7 +66,26 @@ app.controller('report_markcard_certificateCtrl', ["$scope", "API_POINTS", "$htt
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
var mystyle = {
|
||||||
|
sheetid: 'MARKCARD/CERTIFICATE STATUS REPORT',
|
||||||
|
headers: true,
|
||||||
|
caption: {
|
||||||
|
title:'MARKCARD/CERTIFICATE STATUS REPORT',
|
||||||
|
width: '300px',
|
||||||
|
style:'font-size:50px;'
|
||||||
|
},
|
||||||
|
// style:'background:#00FF00',
|
||||||
|
column: {
|
||||||
|
style:'font-size:10px'
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$scope.exportData = function () {
|
||||||
|
alasql('SELECT * INTO XLS("Markcard/Certificate_status.xls",?) FROM ?',[mystyle,$scope.mark_cert_data]);
|
||||||
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -62,6 +62,29 @@ app.controller('report_markcard_statusCtrl', ["$scope", "API_POINTS", "$http", "
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
var mystyle = {
|
||||||
|
sheetid: 'MARKCARD STATUS REPORT',
|
||||||
|
headers: true,
|
||||||
|
caption: {
|
||||||
|
title:'MARKCARD STATUS REPORT',
|
||||||
|
width: '300px',
|
||||||
|
style:'font-size:50px;'
|
||||||
|
},
|
||||||
|
// style:'background:#00FF00',
|
||||||
|
column: {
|
||||||
|
style:'font-size:10px'
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$scope.exportData = function () {
|
||||||
|
alasql('SELECT * INTO XLS("Markcard_status.xls",?) FROM ?',[mystyle,$scope.markcard_data]);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
/*** controller***/
|
/*** controller***/
|
||||||
app.controller('report_study_material_statusCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window',
|
app.controller('report_study_material_statusCtrl', ["$scope", "API_POINTS", "$http", "SweetAlert", "$state", 'md5', 'ipCookie', '$window',
|
||||||
function ($scope, apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window) {
|
function ($scope,apiPoint, $http, SweetAlert, $state, md5, ipCookie, $window, DTOptionsBuilder, DTColumnBuilder) {
|
||||||
|
|
||||||
// DataTables configurable options
|
// DataTables configurable options
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ app.controller('report_study_material_statusCtrl', ["$scope", "API_POINTS", "$ht
|
|||||||
$scope.batch = response.data.batch;
|
$scope.batch = response.data.batch;
|
||||||
$scope.branch = response.data.branch;
|
$scope.branch = response.data.branch;
|
||||||
$scope.university = response.data.university;
|
$scope.university = response.data.university;
|
||||||
console.log($scope.branch);
|
//console.log($scope.branch);
|
||||||
} else {
|
} else {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -61,6 +61,65 @@ app.controller('report_study_material_statusCtrl', ["$scope", "API_POINTS", "$ht
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
var mystyle = {
|
||||||
|
sheetid: 'STUDY MATERIAL STATUS REPORT',
|
||||||
|
headers: true,
|
||||||
|
caption: {
|
||||||
|
title:'STUDY MATERIAL STATUS REPORT',
|
||||||
|
width: '300px',
|
||||||
|
style:'font-size:50px;'
|
||||||
|
},
|
||||||
|
// style:'background:#00FF00',
|
||||||
|
column: {
|
||||||
|
style:'font-size:10px;'
|
||||||
|
},
|
||||||
|
// row: {
|
||||||
|
// style:'border:1px solid black; padding-left:5px; padding-right:5px'
|
||||||
|
// },
|
||||||
|
// columns: [
|
||||||
|
// {columnid:'email'},
|
||||||
|
// {columnid:'dob', title: 'Birthday', width:300},
|
||||||
|
// {columnid:'name'},
|
||||||
|
// {
|
||||||
|
// columnid:'name',
|
||||||
|
// title: 'Number of letters in name',
|
||||||
|
// width: '300px',
|
||||||
|
// cell: {
|
||||||
|
// value: function(value){return value.length}
|
||||||
|
// }
|
||||||
|
// },
|
||||||
|
// ],
|
||||||
|
// row: {
|
||||||
|
// style: function(sheet,row,rowidx){
|
||||||
|
// return 'background:'+(rowidx%2?'red':'yellow');
|
||||||
|
// }
|
||||||
|
// },
|
||||||
|
// rows: {
|
||||||
|
// 'border:1px black dotted; padding-left:5px; padding-right:5px'
|
||||||
|
// 4:{cell:{style:'background:blue'}}
|
||||||
|
// },
|
||||||
|
// cells: {
|
||||||
|
// 2:{
|
||||||
|
// 2:{
|
||||||
|
// style: 'font-size:45px;background:pink',
|
||||||
|
// value: function(value){return value.substr(1,3);}
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$scope.exportData = function () {
|
||||||
|
alasql('SELECT * INTO XLS("Study_material_status.xls",?) FROM ?',[mystyle,$scope.study_mat_data]);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$scope.exportExcel= function () {
|
||||||
|
alasql('SELECT * INTO XLSX("Study_material_status.xlsx",{headers:true}) \
|
||||||
|
FROM HTML("#data",{headers:true})');
|
||||||
}
|
}
|
||||||
|
|
||||||
}]);
|
}]);
|
||||||
|
|||||||
@ -63,8 +63,44 @@ app.controller('report_waiver_referalCtrl', ["$scope", "API_POINTS", "$http", "S
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
$scope.getwaiver = function(){
|
||||||
|
var total = 0;
|
||||||
|
for(var i = 0; i < $scope.waiver_referal_data.length; i++){
|
||||||
|
var item = $scope.waiver_referal_data[i];
|
||||||
|
total += parseFloat(item.Waiver_amount);
|
||||||
}
|
}
|
||||||
|
return total; }
|
||||||
|
$scope.getref = function(){
|
||||||
|
var totalf = 0;
|
||||||
|
for(var i = 0; i < $scope.waiver_referal_data.length; i++){
|
||||||
|
var item = $scope.waiver_referal_data[i];
|
||||||
|
totalf += parseFloat(item.Referal_amount);
|
||||||
|
}
|
||||||
|
return totalf; }
|
||||||
|
}
|
||||||
|
|
||||||
|
var mystyle = {
|
||||||
|
sheetid: 'WAIVER AND REFERAL REPORT',
|
||||||
|
headers: true,
|
||||||
|
caption: {
|
||||||
|
title:'WAIVER AND REFERAL REPORT',
|
||||||
|
width: '300px',
|
||||||
|
style:'font-size:50px;'
|
||||||
|
},
|
||||||
|
// style:'background:#00FF00',
|
||||||
|
column: {
|
||||||
|
style:'font-size:10px'
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$scope.exportData = function () {
|
||||||
|
alasql('SELECT * INTO XLS("Waiver_referal_report.xls",?) FROM ?',[mystyle,$scope.waiver_referal_data]);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|||||||
@ -12,6 +12,7 @@ app.controller('universityCtrl', ["$scope", "toaster", "$filter", "ngTableParams
|
|||||||
// get local cliend details
|
// get local cliend details
|
||||||
var localDetail = JSON.parse(localStorage.getItem('localObj'));
|
var localDetail = JSON.parse(localStorage.getItem('localObj'));
|
||||||
var localDetails = ipCookie('cookiechk');
|
var localDetails = ipCookie('cookiechk');
|
||||||
|
//alert(JSON.stringify(localDetail));
|
||||||
|
|
||||||
$scope.myModel = {
|
$scope.myModel = {
|
||||||
'UniversityID': '',
|
'UniversityID': '',
|
||||||
@ -21,6 +22,9 @@ app.controller('universityCtrl', ["$scope", "toaster", "$filter", "ngTableParams
|
|||||||
'EmailID': '',
|
'EmailID': '',
|
||||||
'Address': '',
|
'Address': '',
|
||||||
'switchsetting': true,
|
'switchsetting': true,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -63,7 +67,7 @@ app.controller('universityCtrl', ["$scope", "toaster", "$filter", "ngTableParams
|
|||||||
if (response.data.univList) {
|
if (response.data.univList) {
|
||||||
$scope.loader = false;
|
$scope.loader = false;
|
||||||
$scope.emptyUniversity = true;
|
$scope.emptyUniversity = true;
|
||||||
$scope.data = response.data.university_details;
|
$scope.univ = response.data.university_details;
|
||||||
} else {
|
} else {
|
||||||
$scope.loader = false;
|
$scope.loader = false;
|
||||||
$scope.emptyUniversity = false;
|
$scope.emptyUniversity = false;
|
||||||
@ -95,6 +99,56 @@ app.controller('universityCtrl', ["$scope", "toaster", "$filter", "ngTableParams
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//-------------------------------------------------------------->
|
||||||
|
// getting for image to show
|
||||||
|
//-------------------------------------------------------------->
|
||||||
|
|
||||||
|
$scope.stepsModel = [];
|
||||||
|
$scope.imageUpload = function (event) {
|
||||||
|
var files = event.target.files; //FileList object
|
||||||
|
|
||||||
|
for (var i = 0; i < files.length; i++) {
|
||||||
|
var file = files[i];
|
||||||
|
var reader = new FileReader();
|
||||||
|
reader.onload = $scope.imageIsLoaded;
|
||||||
|
reader.readAsDataURL(file);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$scope.imageIsLoaded = function (e) {
|
||||||
|
$scope.$apply(function () {
|
||||||
|
// $scope.stepsModel.push(e.target.result);
|
||||||
|
$scope.stepsModel[0] = e.target.result;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//an array of files selected
|
||||||
|
$scope.filesimage = [];
|
||||||
|
|
||||||
|
//listen for the file selected event
|
||||||
|
$scope.$on("fileSelected", function (event, args) {
|
||||||
|
$scope.$apply(function () {
|
||||||
|
//add the file object to the scope's files collection
|
||||||
|
$scope.filesimage[0] = args.file;
|
||||||
|
|
||||||
|
// console.log($scope.filesimage);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
// reset image
|
||||||
|
$scope.resetImage = function () {
|
||||||
|
$scope.filesimage.length = 0;
|
||||||
|
$scope.stepsModel.length = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//------------------image functions over ---------->
|
||||||
|
|
||||||
$scope.setEditId = function (id) {
|
$scope.setEditId = function (id) {
|
||||||
// alert(id);
|
// alert(id);
|
||||||
$scope.editId = id;
|
$scope.editId = id;
|
||||||
@ -106,6 +160,7 @@ app.controller('universityCtrl', ["$scope", "toaster", "$filter", "ngTableParams
|
|||||||
}
|
}
|
||||||
|
|
||||||
$scope.updateUniversityDetails = function (form, p) {
|
$scope.updateUniversityDetails = function (form, p) {
|
||||||
|
//alert()
|
||||||
var firstError = null;
|
var firstError = null;
|
||||||
if (form.$invalid) {
|
if (form.$invalid) {
|
||||||
var field = null, firstError = null;
|
var field = null, firstError = null;
|
||||||
@ -123,6 +178,14 @@ app.controller('universityCtrl', ["$scope", "toaster", "$filter", "ngTableParams
|
|||||||
// swal("The form cannot be submitted because it contains validation errors!", "Errors are marked with a red, dashed border!", "error");
|
// swal("The form cannot be submitted because it contains validation errors!", "Errors are marked with a red, dashed border!", "error");
|
||||||
} else {
|
} else {
|
||||||
p.IsActive = p.IsActive === true ? 1 : 0;
|
p.IsActive = p.IsActive === true ? 1 : 0;
|
||||||
|
var idProof = $scope.filesimage[0];
|
||||||
|
|
||||||
|
|
||||||
|
if(idProof === undefined)
|
||||||
|
{
|
||||||
|
|
||||||
|
//alert('if')
|
||||||
|
// alert(JSON.stringify(p))
|
||||||
var req = {
|
var req = {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: apiPoint.url + 'updateUniversityDetail/',
|
url: apiPoint.url + 'updateUniversityDetail/',
|
||||||
@ -130,7 +193,7 @@ app.controller('universityCtrl', ["$scope", "toaster", "$filter", "ngTableParams
|
|||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
data: p,
|
data: JSON.stringify(p),
|
||||||
updatedBy: localDetails.localUserID,
|
updatedBy: localDetails.localUserID,
|
||||||
branchCode: localDetails.localBranchID
|
branchCode: localDetails.localBranchID
|
||||||
}
|
}
|
||||||
@ -146,6 +209,36 @@ app.controller('universityCtrl', ["$scope", "toaster", "$filter", "ngTableParams
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
//alert('else')
|
||||||
|
var formData = new FormData();
|
||||||
|
var idProof = $scope.filesimage[0];
|
||||||
|
//alert(idProof)
|
||||||
|
|
||||||
|
formData.append("data", JSON.stringify(p));
|
||||||
|
formData.append("updatedBy", localDetails.localUserID);
|
||||||
|
formData.append("branchCode", localDetails.localBranchID);
|
||||||
|
formData.append('idProof', idProof);
|
||||||
|
|
||||||
|
$http.post(apiPoint.url + 'updateUniversityDetail/', formData, {
|
||||||
|
transformRequest: angular.identity,
|
||||||
|
headers: { 'Content-Type': undefined, 'Process-Data': false },
|
||||||
|
}).success(function (data) {
|
||||||
|
|
||||||
|
if (data.updateUniversityStatus == true) {
|
||||||
|
swal("Success!", data.message, "success");
|
||||||
|
$state.go($state.current, {}, { reload: true });
|
||||||
|
} else {
|
||||||
|
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||||
|
swal("Failed!", data.message, "error");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// add university
|
// add university
|
||||||
@ -168,32 +261,62 @@ app.controller('universityCtrl', ["$scope", "toaster", "$filter", "ngTableParams
|
|||||||
// swal("The form cannot be submitted because it contains validation errors!", "Errors are marked with a red, dashed border!", "error");
|
// swal("The form cannot be submitted because it contains validation errors!", "Errors are marked with a red, dashed border!", "error");
|
||||||
} else {
|
} else {
|
||||||
$scope.myModel.switchsetting = $scope.myModel.switchsetting === true ? 1 : 0;
|
$scope.myModel.switchsetting = $scope.myModel.switchsetting === true ? 1 : 0;
|
||||||
var req = {
|
|
||||||
method: 'POST',
|
|
||||||
url: apiPoint.url + 'insertUniversity/',
|
|
||||||
headers: {
|
|
||||||
'Content-Type': 'application/json'
|
|
||||||
},
|
|
||||||
data: {
|
|
||||||
data: $scope.myModel,
|
|
||||||
branchCode: localDetails.localBranchID,
|
|
||||||
createdBy: localDetails.localUserID,
|
|
||||||
}
|
|
||||||
};
|
|
||||||
$http(req).then(function (response) {
|
|
||||||
if (response.data.addUniv == true) {
|
|
||||||
swal("", "University details added successfully.", "success");
|
|
||||||
$state.go($state.current, {}, { reload: true });
|
|
||||||
}
|
|
||||||
else if(response.data.addUniv == false){
|
|
||||||
swal("","This University Id is already exist!", "error");
|
|
||||||
|
|
||||||
}
|
var idProof = $scope.filesimage[0];
|
||||||
else {
|
var formData = new FormData();
|
||||||
|
//var idProof = $scope.filesimage[0];
|
||||||
|
|
||||||
|
//alert(idProof);
|
||||||
|
// var req = {
|
||||||
|
// method: 'POST',
|
||||||
|
// url: apiPoint.url + 'insertUniversity/',
|
||||||
|
// headers: {
|
||||||
|
// 'Content-Type': 'application/json'
|
||||||
|
// },
|
||||||
|
// data: {
|
||||||
|
// data: $scope.myModel,
|
||||||
|
// branchCode: localDetails.localBranchID,
|
||||||
|
// createdBy: localDetails.localUserID,
|
||||||
|
// }
|
||||||
|
// };
|
||||||
|
formData.append("data", JSON.stringify($scope.myModel));
|
||||||
|
formData.append("branchCode", localDetails.localBranchID);
|
||||||
|
formData.append("createdBy", localDetails.localUserID);
|
||||||
|
formData.append('idProof', idProof);
|
||||||
|
|
||||||
|
|
||||||
|
$http.post(apiPoint.url + 'insertUniversity/', formData, {
|
||||||
|
transformRequest: angular.identity,
|
||||||
|
headers: { 'Content-Type': undefined, 'Process-Data': false },
|
||||||
|
}).success(function (data) {
|
||||||
|
if (data.addUniv == true) {
|
||||||
|
// swal("Success!", data.message, "success");
|
||||||
|
// $state.go($state.current, {}, { reload: true });
|
||||||
|
swal("Success!", data.message, "success");
|
||||||
|
$state.go($state.current, {}, { reload: true });
|
||||||
|
} else {
|
||||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||||
swal("","Something went wrong, please try again.", "error");
|
swal("Failed!", data.message, "error");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// $http(req).then(function (response) {
|
||||||
|
// if (response.data.addUniv == true) {
|
||||||
|
// swal("", "University details added successfully.", "success");
|
||||||
|
// $state.go($state.current, {}, { reload: true });
|
||||||
|
// }
|
||||||
|
// else if(response.data.addUniv == false){
|
||||||
|
// swal("","This University Id is already exist!", "error");
|
||||||
|
|
||||||
|
// }
|
||||||
|
// else {
|
||||||
|
// // $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||||
|
// swal("","Something went wrong, please try again.", "error");
|
||||||
|
// }
|
||||||
|
// });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
reset: function (form) {
|
reset: function (form) {
|
||||||
@ -212,3 +335,22 @@ app.controller('universityCtrl', ["$scope", "toaster", "$filter", "ngTableParams
|
|||||||
}
|
}
|
||||||
|
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// file upload directive
|
||||||
|
app.directive('fileUpload', function () {
|
||||||
|
return {
|
||||||
|
scope: true, //create a new scope
|
||||||
|
link: function (scope, el, attrs) {
|
||||||
|
el.bind('change', function (event) {
|
||||||
|
var files = event.target.files;
|
||||||
|
//iterate files since 'multiple' may be specified on the element
|
||||||
|
for (var i = 0; i < files.length; i++) {
|
||||||
|
//emit event upward
|
||||||
|
scope.$emit("fileSelected", { file: files[i] });
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|||||||
@ -88,7 +88,94 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-4">
|
||||||
|
<img class="thumb prof" ng-src="images/{{p.ProfilePicPath}}" />
|
||||||
|
<style>
|
||||||
|
.thumb {
|
||||||
|
width: 130px;
|
||||||
|
height: 140px;
|
||||||
|
margin: 18px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.prof {
|
||||||
|
border: 2px solid #2C3543;
|
||||||
|
}
|
||||||
|
.uploader {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="file-upload">
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<div class="col-md-6">
|
||||||
|
<h5>Update Profile Picture</h5>
|
||||||
|
<div class=" margin-bottom-5">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<input type="file" accept="image/*" ng-init="resetImage()" file-upload onchange="angular.element(this).scope().imageUpload(event)" />
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="user-image">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!--<input type="file" file-model="idProof"
|
||||||
|
accept="image/*" onchange="angular.element(this).scope().imageUpload(event)"/>-->
|
||||||
|
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<div ng-repeat="step in stepsModel">
|
||||||
|
<!--<a class="close-thin"></a>-->
|
||||||
|
<img class="thumb" ng-src="{{step}}" />
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="pull-right">
|
||||||
|
<button class="btn btn-success btn-o btn-sm margin-right-15" type="button" ng-click="resetImage()">Reset
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.thumb {
|
||||||
|
width: 130px;
|
||||||
|
height: 140px;
|
||||||
|
margin: 18px;
|
||||||
|
float: left;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.uploader {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--<pre>{{ p | json}}</pre>-->
|
<!--<pre>{{ p | json}}</pre>-->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|||||||
@ -385,6 +385,11 @@
|
|||||||
<span class="title" translate="sidebar.nav.report.examfee">Exam Writing Fee Report</span>
|
<span class="title" translate="sidebar.nav.report.examfee">Exam Writing Fee Report</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li ui-sref-active="active">
|
||||||
|
<a ui-sref="app.reports.balfee" ng-click="checkSuperAdmin()">
|
||||||
|
<span class="title" translate="sidebar.nav.report.balfee">Balance Fee Report</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -75,13 +75,11 @@
|
|||||||
</form>
|
</form>
|
||||||
<!-- <pre>{{statusr | json}}</pre> -->
|
<!-- <pre>{{statusr | json}}</pre> -->
|
||||||
<div style="text-align: right;">
|
<div style="text-align: right;">
|
||||||
<a download="Answer_booklets_report.xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Answer_booklets');">
|
<button class="btn btn-success btn-o" ng-click="exportData()">Export to Excel</button>
|
||||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="datatable" class="table table-hover">
|
<table id="datatable" class="table table-hover" style="font-size:0.9em;">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -89,7 +87,7 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>SL.No</th>
|
<th>SL.No</th>
|
||||||
<th>Student ID</th>
|
<th>Enrollment ID</th>
|
||||||
<th>Student Name</th>
|
<th>Student Name</th>
|
||||||
<th>Father Name</th>
|
<th>Father Name</th>
|
||||||
<th>Course</th>
|
<th>Course</th>
|
||||||
@ -104,16 +102,16 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody dir-paginate="p in ans_book_data|filter:search:strict|itemsPerPage:10">
|
<tbody dir-paginate="p in ans_book_data|filter:search:strict|itemsPerPage:10">
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{p.sl}}</td>
|
<td>{{p.SL_NO}}</td>
|
||||||
<td>{{p.ssid}}</td>
|
<td>{{p.Enrollment_id}}</td>
|
||||||
<td>{{p.name}}</td>
|
<td>{{p.Student_id}}</td>
|
||||||
<td>{{p.father}}</td>
|
<td>{{p.Father_name}}</td>
|
||||||
<td>{{p.course}}</td>
|
<td>{{p.Course_name}}</td>
|
||||||
<td>{{p.syear}}({{p.sem}})</td>
|
<td>{{p.Sem_year}}({{p.Sem}})</td>
|
||||||
<td>{{p.phone}}</td>
|
<td>{{p.Phone_number}}</td>
|
||||||
<td>{{p.uname}}</td>
|
<td>{{p.University}}</td>
|
||||||
<td>{{p.status}}</td>
|
<td>{{p.Status}}</td>
|
||||||
<td>{{p.adate}}</td>
|
<td>{{p.Date}}</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|||||||
@ -75,13 +75,11 @@
|
|||||||
</form>
|
</form>
|
||||||
<!-- <pre>{{statusr | json}}</pre> -->
|
<!-- <pre>{{statusr | json}}</pre> -->
|
||||||
<div style="text-align: right;">
|
<div style="text-align: right;">
|
||||||
<a download="Application_pending_report.xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Application_pending');">
|
<button class="btn btn-success btn-o" ng-click="exportData()">Export to Excel</button>
|
||||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="datatable" class="table table-hover">
|
<table id="datatable" class="table table-hover" style="font-size:0.9em;">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -90,7 +88,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>SL.No</th>
|
<th>SL.No</th>
|
||||||
<th>Admission Date</th>
|
<th>Admission Date</th>
|
||||||
<th>Student ID</th>
|
<th>Enrollment ID</th>
|
||||||
<th>Student Name</th>
|
<th>Student Name</th>
|
||||||
<th>Father Name</th>
|
<th>Father Name</th>
|
||||||
<th>Course</th>
|
<th>Course</th>
|
||||||
@ -105,16 +103,16 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody dir-paginate="p in app_pending_data|filter:search:strict|itemsPerPage:10">
|
<tbody dir-paginate="p in app_pending_data|filter:search:strict|itemsPerPage:10">
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{p.sl}}</td>
|
<td>{{p.SL_NO}}</td>
|
||||||
<td>{{p.adate}}</td>
|
<td>{{p.Admission_date}}</td>
|
||||||
<td>{{p.ssid}}</td>
|
<td>{{p.Enrollment_id}}</td>
|
||||||
<td>{{p.name}}</td>
|
<td>{{p.Student_id}}</td>
|
||||||
<td>{{p.father}}</td>
|
<td>{{p.Father_name}}</td>
|
||||||
<td>{{p.course}}</td>
|
<td>{{p.Course_name}}</td>
|
||||||
<td>{{p.syear}}</td>
|
<td>{{p.Sem_year}}</td>
|
||||||
<td>{{p.phone}}</td>
|
<td>{{p.Phone_number}}</td>
|
||||||
<td>{{p.uname}}</td>
|
<td>{{p.University}}</td>
|
||||||
<td>{{p.status}}</td>
|
<td>{{p.Status}}</td>
|
||||||
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -75,28 +75,33 @@
|
|||||||
</form>
|
</form>
|
||||||
<!-- <pre>{{statusr | json}}</pre> -->
|
<!-- <pre>{{statusr | json}}</pre> -->
|
||||||
<div style="text-align: right;">
|
<div style="text-align: right;">
|
||||||
<a download="Balance_fee_report.xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Balance_fee');">
|
<!-- <a download="Balance_fee_report.xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Balance_fee');">
|
||||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
||||||
</a>
|
</a> -->
|
||||||
|
<button class="btn btn-success btn-o" ng-click="exportData()">Export to Excel</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="datatable" class="table table-hover">
|
<table id="datatable" class="table table-hover" style="font-size:0.8em;">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="9"></th>
|
<th colspan="8"></th>
|
||||||
<th>Sum of Total Fee</th>
|
<th></th>
|
||||||
<th>Sum of Fees Paid</th>
|
<th></th>
|
||||||
<th>Sum of Balance Fee</th>
|
<th></th>
|
||||||
<th colspan="2">1st payment</th>
|
<th colspan="2">1st payment</th>
|
||||||
<th colspan="2">2nd payment</th>
|
<th colspan="2">2nd payment</th>
|
||||||
<th colspan="2">3rd payment</th>
|
<th colspan="2">3rd payment</th>
|
||||||
<th colspan="2">4th payment</th>
|
<th colspan="2">4th payment</th>
|
||||||
<th colspan="2">5th payment</th>
|
<th colspan="2">5th payment</th>
|
||||||
<th>Comments</th>
|
<th colspan="2">6th payment</th>
|
||||||
|
<th colspan="2">7th payment</th>
|
||||||
|
<th colspan="2">8th payment</th>
|
||||||
|
<th colspan="2">9th payment</th>
|
||||||
|
<th colspan="2">10th payment</th>
|
||||||
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -122,7 +127,17 @@
|
|||||||
<th>Amount</th>
|
<th>Amount</th>
|
||||||
<th>Bill No</th>
|
<th>Bill No</th>
|
||||||
<th>Amount</th>
|
<th>Amount</th>
|
||||||
<th>Comments</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>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -130,29 +145,99 @@
|
|||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody ng-repeat="b in balfee_data">
|
<tbody dir-paginate="p in balfee_data|filter:search:strict|itemsPerPage:10">
|
||||||
<tr ng-repeat="p in b">
|
<tr>
|
||||||
<td>{{p.sl}}</td>
|
<td>{{$index + 1}}</td>
|
||||||
<td>{{p.ssid}}</td>
|
<td>{{p.Student_id}}</td>
|
||||||
<td>{{p.name}}</td>
|
<td>{{p.Student_name}}</td>
|
||||||
<td>{{p.father}}</td>
|
<td>{{p.Father_name}}</td>
|
||||||
<td>{{p.course}}</td>
|
<td>{{p.Course_name}}</td>
|
||||||
<td>{{p.syear}}</td>
|
<td>{{p.Sem_year}}</td>
|
||||||
<td>{{p.phone}}</td>
|
<td>{{p.Phone_number}}</td>
|
||||||
<td>{{p.uname}}</td>
|
<td>{{p.University}}</td>
|
||||||
<td>{{p.total}}</td>
|
<td>{{p.Total}}</td>
|
||||||
<td>{{p.bamount}}</td>
|
<td>{{p.Paid_fee}}</td>
|
||||||
<td>{{p.balance}}</td>
|
<td>{{p.balance}}</td>
|
||||||
<td>{{p.1billno}}</td>
|
<td>
|
||||||
<td>{{p.1billamt}}</td>
|
<span ng-if="p.billno1">{{p.billno1}}</span>
|
||||||
<td>{{p.2billno}}</td>
|
<span ng-if="!p.billno1"> - </span>
|
||||||
<td>{{p.2billamt}}</td>
|
</td>
|
||||||
<td>{{p.3billno}}</td>
|
<td>
|
||||||
<td>{{p.3billamt}}</td>
|
<span ng-if="p.billamt1">{{p.billamt1}}</span>
|
||||||
<td>{{p.4billno}}</td>
|
<span ng-if="!p.billamt1"> 0 </span>
|
||||||
<td>{{p.4billamt}}</td>
|
</td>
|
||||||
<td>{{p.5billno}}</td>
|
<td>
|
||||||
<td>{{p.5billamt}}</td>
|
<span ng-if="p.billno2">{{p.billno2}}</span>
|
||||||
|
<span ng-if="!p.billno2"> - </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billamt2">{{p.billamt2}}</span>
|
||||||
|
<span ng-if="!p.billamt2"> 0 </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billno3">{{p.billno3}}</span>
|
||||||
|
<span ng-if="!p.billno3"> - </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billamt3">{{p.billamt3}}</span>
|
||||||
|
<span ng-if="!p.billamt3"> 0 </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billno4">{{p.billno4}}</span>
|
||||||
|
<span ng-if="!p.billno4"> - </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billamt4">{{p.billamt4}}</span>
|
||||||
|
<span ng-if="!p.billamt4"> 0 </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billno5">{{p.billno5}}</span>
|
||||||
|
<span ng-if="!p.billno5"> - </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billamt5">{{p.billamt5}}</span>
|
||||||
|
<span ng-if="!p.billamt5"> 0 </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billno6">{{p.billno6}}</span>
|
||||||
|
<span ng-if="!p.billno6"> - </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billamt6">{{p.billamt6}}</span>
|
||||||
|
<span ng-if="!p.billamt6"> 0 </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billno7">{{p.billno7}}</span>
|
||||||
|
<span ng-if="!p.billno7"> - </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billamt7">{{p.billamt7}}</span>
|
||||||
|
<span ng-if="!p.billamt7"> 0 </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billno8">{{p.billno8}}</span>
|
||||||
|
<span ng-if="!p.billno8"> - </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billamt8">{{p.billamt8}}</span>
|
||||||
|
<span ng-if="!p.billamt8"> 0 </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billno9">{{p.billno9}}</span>
|
||||||
|
<span ng-if="!p.billno9"> - </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billamt9">{{p.billamt9}}</span>
|
||||||
|
<span ng-if="!p.billamt9"> 0 </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billno10">{{p.billno10}}</span>
|
||||||
|
<span ng-if="!p.billno10"> - </span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span ng-if="p.billamt10">{{p.billamt10}}</span>
|
||||||
|
<span ng-if="!p.billamt10"> 0 </span>
|
||||||
|
</td>
|
||||||
<td>{{p.cmts}}</td>
|
<td>{{p.cmts}}</td>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -58,16 +58,7 @@
|
|||||||
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.batch_code}}</option>
|
<option ng-repeat="b in batch" value="{{b.batch}}"> {{b.batch_code}}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="col-md-3">
|
|
||||||
<label for="form-field-select-2">
|
|
||||||
Batch
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<select class="form-control" tabindex="3" class="cs-select cs-skin-elastic" name="batch" ng-model="searchData.Batch" ng-change="getValueChange()">
|
|
||||||
<option value="" selected>Select Batch</option>
|
|
||||||
<option ng-repeat="itemBatch in batchData" value="{{itemBatch.BatchCode}}">{{itemBatch.BatchName}}</option>
|
|
||||||
</select>
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<div class="col-md-2" style="padding-top: 2.3%;">
|
<div class="col-md-2" style="padding-top: 2.3%;">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
@ -89,13 +80,11 @@
|
|||||||
</form>
|
</form>
|
||||||
<!-- <pre>{{statusr | json}}</pre> -->
|
<!-- <pre>{{statusr | json}}</pre> -->
|
||||||
<div style="text-align: right;">
|
<div style="text-align: right;">
|
||||||
<a download="certificate_status.xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Certificate Status');">
|
<button class="btn btn-success btn-o" ng-click="exportData()">Export to Excel</button>
|
||||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="datatable" class="table table-hover">
|
<table id="datatable" class="table table-hover" style="font-size:0.9em;">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -104,7 +93,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>SL.No</th>
|
<th>SL.No</th>
|
||||||
<th>Document Fee Paid Date</th>
|
<th>Document Fee Paid Date</th>
|
||||||
<th>Student ID</th>
|
<th>Enrollment ID</th>
|
||||||
<th>Student Name</th>
|
<th>Student Name</th>
|
||||||
<th>Father Name</th>
|
<th>Father Name</th>
|
||||||
<th>Course</th>
|
<th>Course</th>
|
||||||
@ -120,19 +109,19 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody dir-paginate="p in cert_data|filter:search:strict|itemsPerPage:10">
|
<tbody dir-paginate="p in cert_data|filter:search:strict|itemsPerPage:10">
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{p.sl}}</td>
|
<td>{{p.SL_NO}}</td>
|
||||||
<td>{{p.bdate}}</td>
|
<td>{{p.Document_fee_paid_date}}</td>
|
||||||
<td>{{p.ssid}}</td>
|
<td>{{p.Enrollment_id}}</td>
|
||||||
<td>{{p.name}}</td>
|
<td>{{p.Student_name}}</td>
|
||||||
<td>{{p.father}}</td>
|
<td>{{p.Father_name}}</td>
|
||||||
<td>{{p.course}}</td>
|
<td>{{p.Course_name}}</td>
|
||||||
<td>{{p.syear}}</td>
|
<td>{{p.Sem_year}}</td>
|
||||||
<td>{{p.phone}}</td>
|
<td>{{p.Phone_number}}</td>
|
||||||
<td>{{p.uname}}</td>
|
<td>{{p.University}}</td>
|
||||||
<td>{{p.balance}}</td>
|
<td>{{p.Balance_fee}}</td>
|
||||||
<td>{{p.certname}}</td>
|
<td>{{p.Certificate_name}}</td>
|
||||||
<td>{{p.status}}</td>
|
<td>{{p.Status}}</td>
|
||||||
<td>{{p.adate}}</td>
|
<td>{{p.Date}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@ -75,13 +75,11 @@
|
|||||||
</form>
|
</form>
|
||||||
<!-- <pre>{{statusr | json}}</pre> -->
|
<!-- <pre>{{statusr | json}}</pre> -->
|
||||||
<div style="text-align: right;">
|
<div style="text-align: right;">
|
||||||
<a download="Document_pending_report.xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Document_pending');">
|
<button class="btn btn-success btn-o" ng-click="exportData()">Export to Excel</button>
|
||||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="datatable" class="table table-hover">
|
<table id="datatable" class="table table-hover" style="font-size:0.9em;">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -90,7 +88,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>SL.No</th>
|
<th>SL.No</th>
|
||||||
<th>Admission Date</th>
|
<th>Admission Date</th>
|
||||||
<th>Student ID</th>
|
<th>Enrollment ID</th>
|
||||||
<th>Student Name</th>
|
<th>Student Name</th>
|
||||||
<th>Father Name</th>
|
<th>Father Name</th>
|
||||||
<th>Course</th>
|
<th>Course</th>
|
||||||
@ -105,16 +103,16 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody dir-paginate="p in doc_pending_data|filter:search:strict|itemsPerPage:10">
|
<tbody dir-paginate="p in doc_pending_data|filter:search:strict|itemsPerPage:10">
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{p.sl}}</td>
|
<td>{{p.SL_NO}}</td>
|
||||||
<td>{{p.adate}}</td>
|
<td>{{p.Admission_date}}</td>
|
||||||
<td>{{p.ssid}}</td>
|
<td>{{p.Enrollment_id}}</td>
|
||||||
<td>{{p.name}}</td>
|
<td>{{p.Student_name}}</td>
|
||||||
<td>{{p.father}}</td>
|
<td>{{p.Father_name}}</td>
|
||||||
<td>{{p.course}}</td>
|
<td>{{p.Course_name}}</td>
|
||||||
<td>{{p.syear}}</td>
|
<td>{{p.Sem_year}}</td>
|
||||||
<td>{{p.phone}}</td>
|
<td>{{p.Phone_number}}</td>
|
||||||
<td>{{p.uname}}</td>
|
<td>{{p.University}}</td>
|
||||||
<td>{{p.status}}</td>
|
<td>{{p.Status}}</td>
|
||||||
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -75,26 +75,24 @@
|
|||||||
</form>
|
</form>
|
||||||
<!-- <pre>{{statusr | json}}</pre> -->
|
<!-- <pre>{{statusr | json}}</pre> -->
|
||||||
<div style="text-align: right;">
|
<div style="text-align: right;">
|
||||||
<a download="Exam_writingfee_report.xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Exam Writing Fee');">
|
<button class="btn btn-success btn-o" ng-click="exportData()">Export to Excel</button>
|
||||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="datatable" class="table table-hover">
|
<table id="datatable" class="table table-hover" style="font-size:0.9em;">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<!-- <tr>
|
||||||
<th colspan="8"></th>
|
<th colspan="8"></th>
|
||||||
<th>Sum of Exam Writing Fee</th>
|
<th>Sum of Exam Writing Fee</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr> -->
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>SL.No</th>
|
<th>SL.No</th>
|
||||||
<th>Student ID</th>
|
<th>Enrollment ID</th>
|
||||||
<th>Student Name</th>
|
<th>Student Name</th>
|
||||||
<th>Father Name</th>
|
<th>Father Name</th>
|
||||||
<th>Course</th>
|
<th>Course</th>
|
||||||
@ -111,22 +109,34 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody dir-paginate="p in examfee_data|filter:search:strict|itemsPerPage:10">
|
<tbody dir-paginate="p in examfee_data|filter:search:strict|itemsPerPage:10">
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{p.sl}}</td>
|
<td>{{p.SL_NO}}</td>
|
||||||
<td>{{p.ssid}}</td>
|
<td>{{p.Enrollment_id}}</td>
|
||||||
<td>{{p.name}}</td>
|
<td>{{p.Student_id}}</td>
|
||||||
<td>{{p.father}}</td>
|
<td>{{p.Father_name}}</td>
|
||||||
<td>{{p.course}}</td>
|
<td>{{p.Course_name}}</td>
|
||||||
<td>{{p.syear}}</td>
|
<td>{{p.Sem_year}}</td>
|
||||||
<td>{{p.phone}}</td>
|
<td>{{p.Phone_number}}</td>
|
||||||
<td>{{p.uname}}</td>
|
<td>{{p.University}}</td>
|
||||||
<td>{{p.stf}}</td>
|
<td>{{p.Amount}}</td>
|
||||||
<td>{{p.cmts}}</td>
|
<td>{{p.Comments}}</td>
|
||||||
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
|
<tfoot>
|
||||||
|
<td>Total</td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td>{{ getstf() }}</td>
|
||||||
|
<td></td>
|
||||||
|
|
||||||
|
</tfoot>
|
||||||
</table>
|
</table>
|
||||||
<h3 style="text-align:center;">{{message}}</h3>
|
<h3 style="text-align:center;">{{message}}</h3>
|
||||||
|
|
||||||
|
|||||||
@ -77,9 +77,7 @@
|
|||||||
</form>
|
</form>
|
||||||
<!-- <pre>{{statusr | json}}</pre> -->
|
<!-- <pre>{{statusr | json}}</pre> -->
|
||||||
<div style="text-align: right;">
|
<div style="text-align: right;">
|
||||||
<a download="Expense_report.xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Expense_Report');">
|
<button class="btn btn-success btn-o" ng-click="exportData()">Export to Excel</button>
|
||||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
@ -100,8 +98,8 @@
|
|||||||
<tbody dir-paginate="p in expense_data|filter:search:strict|itemsPerPage:10">
|
<tbody dir-paginate="p in expense_data|filter:search:strict|itemsPerPage:10">
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{$index + 1}}</td>
|
<td>{{$index + 1}}</td>
|
||||||
<td>{{p.exp_name}}</td>
|
<td>{{p.Expense_name}}</td>
|
||||||
<td style ="text-align:right;">{{p.amount}}</td>
|
<td style ="text-align:right;">{{p.Amount}}</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|||||||
@ -117,13 +117,11 @@
|
|||||||
</form>
|
</form>
|
||||||
<!-- <pre>{{statusr | json}}</pre> -->
|
<!-- <pre>{{statusr | json}}</pre> -->
|
||||||
<div style="text-align: right;">
|
<div style="text-align: right;">
|
||||||
<a download="Mark_Card_certificate_status.xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Markcard/Certificate Status');">
|
<button class="btn btn-success btn-o" ng-click="exportData()">Export to Excel</button>
|
||||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="datatable" class="table table-hover">
|
<table id="datatable" class="table table-hover" style="font-size:0.9em;">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -132,7 +130,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>SL.No</th>
|
<th>SL.No</th>
|
||||||
<th>Document Fee Paid Date</th>
|
<th>Document Fee Paid Date</th>
|
||||||
<th>Student ID</th>
|
<th>Enrollment ID</th>
|
||||||
<th>Student Name</th>
|
<th>Student Name</th>
|
||||||
<th>Father Name</th>
|
<th>Father Name</th>
|
||||||
<th>Course</th>
|
<th>Course</th>
|
||||||
@ -152,29 +150,29 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody dir-paginate="p in mark_cert_data|filter:search:strict|itemsPerPage:10">
|
<tbody dir-paginate="p in mark_cert_data|filter:search:strict|itemsPerPage:10">
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{p.sl}}</td>
|
<td>{{p.SL_NO}}</td>
|
||||||
<td>{{p.bdate}}</td>
|
<td>{{p.Document_fee_paid_date}}</td>
|
||||||
<td>{{p.ssid}}</td>
|
<td>{{p.Enrollment_id}}</td>
|
||||||
<td>{{p.name}}</td>
|
<td>{{p.Student_name}}</td>
|
||||||
<td>{{p.father}}</td>
|
<td>{{p.Father_name}}</td>
|
||||||
<td>{{p.course}}</td>
|
<td>{{p.Course_name}}</td>
|
||||||
<td>{{p.syear}}</td>
|
<td>{{p.Sem_year}}</td>
|
||||||
<td>{{p.phone}}</td>
|
<td>{{p.Phone_number}}</td>
|
||||||
<td>{{p.uname}}</td>
|
<td>{{p.University}}</td>
|
||||||
<td>{{p.balance}}</td>
|
<td>{{p.Balance_fee}}</td>
|
||||||
<td>{{p.status}}</td>
|
<td>{{p.Markcard_status}}</td>
|
||||||
<td>{{p.cdate}}</td>
|
<td>{{p.Markcard_date}}</td>
|
||||||
<td>{{p.ccmts}}</td>
|
<td>{{p.Markcard_comments}}</td>
|
||||||
<td>{{p.certname}}</td>
|
<td>{{p.Certificate_name}}</td>
|
||||||
<td>{{p.astatus}}</td>
|
<td>{{p.Certificate_status}}</td>
|
||||||
<td>{{p.adate}}</td>
|
<td>{{p.Certificate_date}}</td>
|
||||||
<td>{{p.acmts}}</td>
|
<td>{{p.Certificate_comments}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
<h3 style="text-align:center;">{{markcert_message}}</h3>
|
<h3 style="text-align:center;">{{message}}</h3>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -10,17 +10,6 @@
|
|||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<!-- 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>
|
</script>
|
||||||
<div class="container-fluid container-fullw bg-white">
|
<div class="container-fluid container-fullw bg-white">
|
||||||
@ -92,21 +81,20 @@
|
|||||||
</form>
|
</form>
|
||||||
<!-- <pre>{{statusr | json}}</pre> -->
|
<!-- <pre>{{statusr | json}}</pre> -->
|
||||||
<div style="text-align: right;">
|
<div style="text-align: right;">
|
||||||
<a download="Mark_Card_status.xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Mark Card Status');">
|
<button class="btn btn-success btn-o" ng-click="exportData()">Export to Excel</button>
|
||||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table datatable="ng" dt-options="dtOptions" class="table table-hover">
|
|
||||||
<!-- <table id="datatable" class="table table-hover"> -->
|
<table id="datatable" class="table table-hover" style="font-size:0.9em;">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>SL.No</th>
|
<th>SL.No</th>
|
||||||
<th>Intial Payment Paid Date</th>
|
<th>Intial Payment Paid Date</th>
|
||||||
<th>Student ID</th>
|
<th>Enrollment ID</th>
|
||||||
<th>Student Name</th>
|
<th>Student Name</th>
|
||||||
|
<th>Roll NO</th>
|
||||||
<th>Father Name</th>
|
<th>Father Name</th>
|
||||||
<th>Course</th>
|
<th>Course</th>
|
||||||
<th>Sem/Year</th>
|
<th>Sem/Year</th>
|
||||||
@ -120,18 +108,19 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody dir-paginate="p in markcard_data|filter:search:strict|itemsPerPage:10">
|
<tbody dir-paginate="p in markcard_data|filter:search:strict|itemsPerPage:10">
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{p.sl}}</td>
|
<td>{{p.SL_NO}}</td>
|
||||||
<td>{{p.bdate}}</td>
|
<td>{{p.Initial_paid_date}}</td>
|
||||||
<td>{{p.ssid}}</td>
|
<td>{{p.Enrollment_id}}</td>
|
||||||
<td>{{p.name}}</td>
|
<td>{{p.Student_id}}</td>
|
||||||
<td>{{p.father}}</td>
|
<td>{{p.Roll_NO}}</td>
|
||||||
<td>{{p.course}}</td>
|
<td>{{p.Father_name}}</td>
|
||||||
<td>{{p.syear}}({{p.sem}})</td>
|
<td>{{p.Course_name}}</td>
|
||||||
<td>{{p.phone}}</td>
|
<td>{{p.Sem_year}}({{p.Sem}})</td>
|
||||||
<td>{{p.uname}}</td>
|
<td>{{p.Phone_number}}</td>
|
||||||
<td>{{p.balance}}</td>
|
<td>{{p.University}}</td>
|
||||||
<td>{{p.status}}</td>
|
<td>{{p.Balance_Fee}}</td>
|
||||||
<td>{{p.cdate}}</td>
|
<td>{{p.Status}}</td>
|
||||||
|
<td>{{p.Date}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@ -16,17 +16,13 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
} */
|
} */
|
||||||
</style>
|
</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 class="container-fluid container-fullw bg-white">
|
||||||
<div ng-controller="report_study_material_statusCtrl" ng-init="filters()">
|
<div ng-controller="report_study_material_statusCtrl" ng-init="filters()">
|
||||||
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
|
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<label for="form-field-select-2">
|
<label for="form-field-select-2">
|
||||||
@ -89,44 +85,45 @@
|
|||||||
</form>
|
</form>
|
||||||
<!-- <pre>{{statusr | json}}</pre> -->
|
<!-- <pre>{{statusr | json}}</pre> -->
|
||||||
<div style="text-align: right;">
|
<div style="text-align: right;">
|
||||||
<a download="Study_material_status.xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Study Material Status');">
|
<!-- <a download="Study_material_status.xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Study Material Status');">
|
||||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
||||||
</a>
|
</a> -->
|
||||||
|
<button class="btn btn-success btn-o" ng-click="exportData()">Export to Excel</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div id="data" class="table-responsive">
|
||||||
<table id="datatable" class="table table-hover">
|
<table class="table table-hover" style="font-size:0.9em;">
|
||||||
|
<!-- <table datatable="" class="table table-hover">-->
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>SL.No</th>
|
<th>SL.No</th>
|
||||||
<th>Initial Payment Paid Date</th>
|
<th>Initial Payment Paid Date</th>
|
||||||
<th>Student ID</th>
|
<th>Enrollment ID</th>
|
||||||
<th>Student Name</th>
|
<th>Student Name</th>
|
||||||
<th>Father Name</th>
|
<th>Father Name</th>
|
||||||
<th>Course</th>
|
<th>Course</th>
|
||||||
<th>Sem/Year</th>
|
<th>Sem/Year</th>
|
||||||
<th>Phone No</th>
|
<th>Phone No</th>
|
||||||
<th>University</th>
|
<th>University</th>
|
||||||
<th>Balance Fee</th>
|
|
||||||
<th>Study Material Status</th>
|
<th>Study Material Status</th>
|
||||||
|
<th>Balance Fee</th>
|
||||||
<th>Date</th>
|
<th>Date</th>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody dir-paginate="p in study_mat_data|filter:search:strict|itemsPerPage:10">
|
<tbody dir-paginate="p in study_mat_data|filter:search:strict|itemsPerPage:10">
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{p.sl}}</td>
|
<td>{{p.SL_NO}}</td>
|
||||||
<td>{{p.bdate}}</td>
|
<td>{{p.Initial_paid_date}}</td>
|
||||||
<td>{{p.ssid}}</td>
|
<td>{{p.Enrollment_id}}</td>
|
||||||
<td>{{p.name}}</td>
|
<td>{{p.Student_name}}</td>
|
||||||
<td>{{p.father}}</td>
|
<td>{{p.Father_name}}</td>
|
||||||
<td>{{p.course}}</td>
|
<td>{{p.Course_name}}</td>
|
||||||
<td>{{p.syear}}({{p.sem}})</td>
|
<td>{{p.Sem_year}}({{p.Sem}})</td>
|
||||||
<td>{{p.phone}}</td>
|
<td>{{p.Phone_number}}</td>
|
||||||
<td>{{p.uname}}</td>
|
<td>{{p.University}}</td>
|
||||||
<td>{{p.balance}}</td>
|
<td>{{p.Balance_fee}}</td>
|
||||||
<td>{{p.status}}</td>
|
<td>{{p.Status}}</td>
|
||||||
<td>{{p.date}}</td>
|
<td>{{p.Date}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@ -16,8 +16,6 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
} */
|
} */
|
||||||
</style>
|
</style>
|
||||||
<script type="text/javascript" src="bower_components/ng-table-excel-export/ng-table-excel-export.min.js">
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<div class="container-fluid container-fullw bg-white">
|
<div class="container-fluid container-fullw bg-white">
|
||||||
@ -75,19 +73,23 @@
|
|||||||
</form>
|
</form>
|
||||||
<!-- <pre>{{statusr | json}}</pre> -->
|
<!-- <pre>{{statusr | json}}</pre> -->
|
||||||
<div style="text-align: right;">
|
<div style="text-align: right;">
|
||||||
<a download="Waiver_referal_report.xls" href="#" onclick="return ngTableExcelExport.excel(this, 'datatable', 'Waiver Referal');">
|
<button class="btn btn-success btn-o" ng-click="exportData()">Export to Excel</button>
|
||||||
<button class="btn btn-success btn-o" ng-click="Export()" tabindex="8">Export to Excel</button>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="datatable" class="table table-hover">
|
<table id="datatable" class="table table-hover" style="font-size:0.9em;">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="8"></th>
|
<th></th>
|
||||||
|
<th></th>
|
||||||
|
<th></th>
|
||||||
|
<th></th>
|
||||||
|
<th></th>
|
||||||
|
<th></th>
|
||||||
|
<th></th>
|
||||||
<th colspan="2">Sum of Waiver Fee</th>
|
<th colspan="2">Sum of Waiver Fee</th>
|
||||||
<th colspan="2">Sum of Referal Fee</th>
|
<th colspan="2">Sum of Referal Fee</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
@ -95,7 +97,7 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>SL.No</th>
|
<th>SL.No</th>
|
||||||
<th>Student ID</th>
|
<th>Enrollment ID</th>
|
||||||
<th>Student Name</th>
|
<th>Student Name</th>
|
||||||
<th>Father Name</th>
|
<th>Father Name</th>
|
||||||
<th>Course</th>
|
<th>Course</th>
|
||||||
@ -112,26 +114,39 @@
|
|||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody dir-paginate="p in waiver_referal_data|filter:search:strict|itemsPerPage:10">
|
<tbody ng-init="total = 0">
|
||||||
<tr>
|
<tr dir-paginate="p in waiver_referal_data|filter:search:strict|itemsPerPage:10">
|
||||||
<td>{{p.sl}}</td>
|
<td>{{p.SL_NO}}</td>
|
||||||
<td>{{p.ssid}}</td>
|
<td>{{p.Enrollment_id}}</td>
|
||||||
<td>{{p.name}}</td>
|
<td>{{p.Student_name}}</td>
|
||||||
<td>{{p.father}}</td>
|
<td>{{p.Father_name}}</td>
|
||||||
<td>{{p.course}}</td>
|
<td>{{p.Course_name}}</td>
|
||||||
<td>{{p.syear}}</td>
|
<td>{{p.Sem_year}}</td>
|
||||||
<td>{{p.phone}}</td>
|
<td>{{p.Phone_number}}</td>
|
||||||
<td>{{p.waiver_bill}}</td>
|
<td>{{p.Waiver_bill}}</td>
|
||||||
<td>{{p.waiver}}</td>
|
<td>{{p.Waiver_amount}}</td>
|
||||||
<td>{{p.referal_bill}}</td>
|
<td>{{p.Referal_bill}}</td>
|
||||||
<td>{{p.referal}}</td>
|
<td>{{p.Referal_amount}}</td>
|
||||||
<td>{{p.cmts}}</td>
|
<td>{{p.Comments}}</td>
|
||||||
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
|
<tfoot>
|
||||||
|
<td>Total</td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td>{{ getwaiver() }}</td>
|
||||||
|
<td></td>
|
||||||
|
<td>{{ getref() }}</td>
|
||||||
|
<td></td>
|
||||||
|
</tfoot>
|
||||||
</table>
|
</table>
|
||||||
<h3 style="text-align:center;">{{message}}</h3>
|
<h3 style="text-align:center;">{{message}}</h3>
|
||||||
|
|
||||||
|
|||||||
@ -61,7 +61,7 @@
|
|||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody dir-paginate="p in data|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:10">
|
<tbody dir-paginate="p in univ|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:10">
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{p.UniversityID}}</td>
|
<td>{{p.UniversityID}}</td>
|
||||||
<td>{{p.UniversityShortName}}</td>
|
<td>{{p.UniversityShortName}}</td>
|
||||||
@ -178,6 +178,71 @@
|
|||||||
<span class="error text-small block" ng-if="Form.Address.$dirty && Form.Address.$invalid">Address is required</span>
|
<span class="error text-small block" ng-if="Form.Address.$dirty && Form.Address.$invalid">Address is required</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-3">
|
||||||
|
<form name="Form" id="form1" novalidate ng-submit="form.submit(Form,myModel)" method="post">
|
||||||
|
<div class="file-upload">
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<div class="col-md-12">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="user-image">
|
||||||
|
<h5>University Logo</h5>
|
||||||
|
<div class=" margin-bottom-5">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<div ng-repeat="step in stepsModel">
|
||||||
|
|
||||||
|
<img class="thumb" ng-src="{{step}}" />
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="pull-right">
|
||||||
|
<button class="btn btn-success btn-o btn-sm margin-right-15" type="button" ng-click="resetImage()">Reset
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<input type="file" accept="image/*" file-upload onchange="angular.element(this).scope().imageUpload(event)" />
|
||||||
|
<style>
|
||||||
|
.thumb {
|
||||||
|
width: 130px;
|
||||||
|
height: 140px;
|
||||||
|
margin: 18px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.uploader {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<label>
|
<label>
|
||||||
|
|||||||
BIN
Apollo/images/university/Dri_1lJy5BcgsxUM.jpeg
Normal file
BIN
Apollo/images/university/Dri_1lJy5BcgsxUM.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
BIN
Apollo/images/university/Dri_9RZ2ClKwMWGL.jpeg
Normal file
BIN
Apollo/images/university/Dri_9RZ2ClKwMWGL.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 215 KiB |
BIN
Apollo/images/university/Dri_QD34BHpYftES.jpeg
Normal file
BIN
Apollo/images/university/Dri_QD34BHpYftES.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 191 KiB |
BIN
Apollo/images/university/Dri_UuochKAdS0I6.jpeg
Normal file
BIN
Apollo/images/university/Dri_UuochKAdS0I6.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 191 KiB |
BIN
Apollo/images/university/Dri_X1CQlgNW9y6v.jpeg
Normal file
BIN
Apollo/images/university/Dri_X1CQlgNW9y6v.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 191 KiB |
BIN
Apollo/images/university/default.jpeg
Executable file
BIN
Apollo/images/university/default.jpeg
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
@ -116,6 +116,9 @@
|
|||||||
<!--<script src="bower_components/generate-PDF/pdfmake.min.js"></script>
|
<!--<script src="bower_components/generate-PDF/pdfmake.min.js"></script>
|
||||||
<script src="bower_components/generate-PDF/html2canvas.min.js"></script>-->
|
<script src="bower_components/generate-PDF/html2canvas.min.js"></script>-->
|
||||||
<script src="bower_components/generate-PDF/kendo.all.min.js"></script>
|
<script src="bower_components/generate-PDF/kendo.all.min.js"></script>
|
||||||
|
<!--Export Excel for reports-->
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/alasql/0.4.2/alasql.min.js"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.9.2/xlsx.core.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user