report bug fixes
This commit is contained in:
parent
bf608a7167
commit
68b6afc879
@ -248,7 +248,7 @@ left join
|
||||
as cm on cm.cid=cfd.ccid
|
||||
left join
|
||||
(SELECT StudentID as sid,MobileNumber as phone,IsActive as active,FirstName as name,Fathername as father,PermanentAddress as address,AlternateNumber 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
|
||||
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
|
||||
where std.active = 1 and sms.branch = '".$br."'
|
||||
";
|
||||
|
||||
@ -271,7 +271,7 @@ left join (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,Enrollmen
|
||||
|
||||
}
|
||||
|
||||
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code,Sem";
|
||||
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code,Sem,Sem_year";
|
||||
|
||||
|
||||
$leadDet=$this->db->query($sql);
|
||||
@ -320,12 +320,14 @@ left join (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,Enrollmen
|
||||
}
|
||||
public function answer_booklet($bat=null,$br=null,$u=null){
|
||||
|
||||
$sql = "select ifnull(sms.sid,'-') as Student_id,ifnull(scd.eid,'-') as Enrollment_id,ifnull(std.name,'-') as Student_name,ifnull(std.father,'-') as Father_name,ifnull(std.phone,'-') as Phone_number,ifnull(sms.cid,'-') as Course_id,ifnull(sfs.batch,'-') as Batch_code,ifnull(sms.branch,'-') as Branch_code,ifnull(sms.adate,'-') as Date,ifnull(cfd.syear,'-') as Sem_year,ifnull(sms.sem,'-') as Sem,ifnull(cm.course,'-') as Course_name,ifnull(cm.uname,'-') as University,ifnull(list.status,'-') as Status,ifnull(std.address,'-') as address,ifnull(std.AlternateNumber,'') as AlternateNumber
|
||||
$sql = "select ifnull(sms.sid,'-') as Student_id,ifnull(scd.eid,'-') as Enrollment_id,ifnull(std.name,'-') as Student_name,ifnull(std.father,'-') as Father_name,ifnull(std.phone,'-') as Phone_number,ifnull(sms.cid,'-') as Course_id,ifnull(sfs.batch,'-') as Batch_code,ifnull(sms.branch,'-') as Branch_code,ifnull(sms.adate,'-') as Date,ifnull(cfd.syear,'-') as Sem_year,ifnull(sms.sem,'-') as Sem,ifnull(cm.course,'-') as Course_name,ifnull(cm.uname,'-') as University,ifnull(list.status,'-') as Status,ifnull(std.address,'-') as address,ifnull(std.AlternateNumber,'') as AlternateNumber,listdate.issuedate,listdate.rcvedate
|
||||
|
||||
from
|
||||
(SELECT ID,StudentID as sid,CourseID as cid,BranchCode as branch,ListCode as lcode,AnsDate as
|
||||
adate,Sem as sem FROM T_AnswerBookletStatus
|
||||
WHERE ID IN (SELECT max(ID) FROM T_AnswerBookletStatus group by StudentID,CourseID,BranchCode,Sem)
|
||||
group by sid,sem,cid,lcode,branch) as sms
|
||||
|
||||
left join
|
||||
(SELECT FeesID as fid,BatchCode as batch,StudentID as sid,CourseID as cid,FeesType as ftype, sum(CourseFees) as cf,Sum(STFOrWR) as stf,sum(Others) as others
|
||||
FROM T_Students_Fees_Status
|
||||
@ -350,7 +352,15 @@ left join
|
||||
as cm on cm.cid=cfd.ccid
|
||||
left join
|
||||
(SELECT StudentID as sid,MobileNumber as phone,IsActive as active,FirstName as name,Fathername as father,PermanentAddress as address,AlternateNumber 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
|
||||
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
|
||||
left join
|
||||
(select ID,StudentID as sid,
|
||||
max(if(ListName = 'ISSUED TO STUDENT', AnsDate,'-')) as issuedate,
|
||||
max(if(ListName = 'RECEIVED FROM STUDENT', AnsDate,'-')) as rcvedate
|
||||
from T_AnswerBookletStatus abs
|
||||
left join T_PickListDetails list on list.ListCode=abs.ListCode where AnsDate is not null
|
||||
group by sid
|
||||
) as listdate on listdate.sid=sms.sid
|
||||
where std.active = 1 and sms.branch = '".$br."'
|
||||
";
|
||||
|
||||
@ -364,7 +374,7 @@ left join (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,Enrollmen
|
||||
$sql.=" and cm.uid = '".$u."'";
|
||||
|
||||
}
|
||||
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code,Sem";
|
||||
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code,Sem,Sem_year";
|
||||
|
||||
|
||||
|
||||
@ -383,12 +393,13 @@ left join (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,Enrollmen
|
||||
}
|
||||
public function app_pending($bat=null,$br=null,$u=null){
|
||||
|
||||
$sql = "select ifnull(sms.sid,'-') as Student_id,ifnull(scd.eid,'-') as Enrollment_id,ifnull(std.name,'-') as Student_name,ifnull(std.father,'-') as Father_name,ifnull(std.phone,'-') as Phone_number,ifnull(sms.cid,'-') as Course_id,ifnull(cfd.syear,'-') as Sem_year,ifnull(sfs.batch,'-') as Batch_code,ifnull(sms.branch,'-') as Branch_code,ifnull(cm.course,'-') as Course_name,ifnull(cm.uname,'-') as University,ifnull(list.status,'-') as Status,ifnull(sfp.bdate,'-') as Admission_date,
|
||||
$sql = "select ifnull(sms.sid,'-') as Student_id,ifnull(scd.eid,'-') as Enrollment_id,ifnull(std.name,'-') as Student_name,ifnull(std.father,'-') as Father_name,ifnull(std.phone,'-') as Phone_number,ifnull(sms.cid,'-') as Course_id,ifnull(cfd.syear,'-') as Sem_year,ifnull(sfs.batch,'-') as Batch_code,ifnull(sms.branch,'-') as Branch_code,ifnull(cm.course,'-') as Course_name,ifnull(cm.uname,'-') as University,ifnull(sms.status,'-') as Status,ifnull(sfp.bdate,'-') as Admission_date,
|
||||
ifnull(std.address,'-') as address,ifnull(std.AlternateNumber,'') as AlternateNumber
|
||||
from
|
||||
(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,list.ListName as status,app.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
|
||||
where CertificateName = 'APPLICATION' and ID IN (SELECT max(ID) FROM T_ApplicationStatus group by StudentID,CourseID,BranchCode)
|
||||
left join T_PickListDetails list on list.ListCode=app.ListCode
|
||||
where CertificateName like 'APPLICATION%' and list.ListName != 'SENT TO UNIVERSITY' and ID IN (SELECT max(ID) FROM T_ApplicationStatus group by StudentID,CourseID,BranchCode)
|
||||
group by sid,cid,lcode,branch) as sms
|
||||
left join
|
||||
(SELECT FeesID as fid,BatchCode as batch,StudentID as sid,CourseID as cid,FeesType as ftype, sum(CourseFees) as cf,Sum(STFOrWR) as stf,sum(Others) as others
|
||||
@ -402,9 +413,6 @@ WHERE IsActive = 1 and ID IN (SELECT min(ID) FROM T_Students_Fees_PaidDetails gr
|
||||
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
|
||||
(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
|
||||
@ -428,7 +436,7 @@ left join (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,Enrollmen
|
||||
$sql.=" and cm.uid = '".$u."'";
|
||||
|
||||
}
|
||||
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code";
|
||||
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code,Sem_year";
|
||||
|
||||
|
||||
|
||||
@ -447,44 +455,51 @@ left join (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,Enrollmen
|
||||
}
|
||||
public function doc_pending($bat=null,$br=null,$u=null){
|
||||
|
||||
$sql = "SELECT ifnull(sdt.StudentID,'-') as Student_id,ifnull(scd.eid,'-') as Enrollment_id,ifnull(sfb.bdate,'-') as Admission_date,ifnull(std.name,'-') as Student_name,ifnull(std.father,'-') as Father_name,ifnull(std.phone,'-') as Phone_number,ifnull(lt.CreatedBranch,'-') as Branch_code,ifnull(sfb.batch,'-') as Batch_code,ifnull(lt.Course,'-') as Course_name,ifnull(lt.University,'-') as University,ifnull(uc.cid,'-') as Course_id,ifnull(cfd.syear,'-') as Sem_year,ifnull(sdt.StatusName,'-') as Status,ifnull(std.address,'-') as address,ifnull(std.AlternateNumber,'') as AlternateNumber
|
||||
FROM T_Student_DocumentTrack_Details as sdt
|
||||
join T_Lead_Tracking as lt on lt.PendingDocStatus=sdt.ID
|
||||
left join
|
||||
(SELECT StudentID as sid,MobileNumber as phone,IsActive as active,FirstName as name,Fathername as father,PermanentAddress as address,AlternateNumber FROM T_StudentDetails) as std on std.sid=sdt.StudentID
|
||||
left join
|
||||
$sql = "select ifnull(sms.sid,'-') as Student_id,ifnull(scd.eid,'-') as Enrollment_id,ifnull(std.name,'-') as Student_name,ifnull(std.father,'-') as Father_name,ifnull(std.phone,'-') as Phone_number,ifnull(sms.cid,'-') as Course_id,ifnull(cfd.syear,'-') as Sem_year,ifnull(sfs.batch,'-') as Batch_code,ifnull(sms.branch,'-') as Branch_code,ifnull(cm.course,'-') as Course_name,ifnull(cm.uname,'-') as University,ifnull(sms.status,'-') as Status,sms.certname as certname,ifnull(sfp.bdate,'-') as Admission_date,sms.adate,
|
||||
ifnull(std.address,'-') as address,ifnull(std.AlternateNumber,'') as AlternateNumber
|
||||
from
|
||||
(SELECT ID,StudentID as sid,CourseID as cid,app.BranchCode as branch,list.ListName as status,app.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_PickListDetails list on list.ListCode=app.ListCode
|
||||
where list.ListName = 'PENDING' and ID IN (SELECT max(ID) FROM T_ApplicationStatus group by StudentID,CourseID,BranchCode)
|
||||
group by sid,cid,lcode,branch) as sms
|
||||
left join
|
||||
(SELECT FeesID as fid,BatchCode as batch,StudentID as sid,CourseID as cid,FeesType as ftype, sum(CourseFees) as cf,Sum(STFOrWR) as stf,sum(Others) as others
|
||||
FROM T_Students_Fees_Status
|
||||
group by sid,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 IsActive = 1 and 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 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
|
||||
left join T_UniversityMaster as u on u.UniversityID=cm.UniversityID
|
||||
group by cid
|
||||
order by CourseID) as uc on uc.course=lt.Course
|
||||
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=uc.cid
|
||||
left join
|
||||
(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 and lt.CreatedBranch = '".$br."'
|
||||
UniversityName as uname,cm.BranchCode as branch FROM T_CourseMaster as cm
|
||||
left join T_UniversityMaster as u on u.UniversityID=cm.UniversityID
|
||||
group by cid
|
||||
order by CourseID)
|
||||
as cm on cm.cid=cfd.ccid
|
||||
left join
|
||||
(SELECT StudentID as sid,MobileNumber as phone,IsActive as active,FirstName as name,Fathername as father,PermanentAddress as address,AlternateNumber 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 std.active = 1 and sms.branch = '".$br."'
|
||||
|
||||
";
|
||||
|
||||
if ($bat!= ''){
|
||||
|
||||
$sql.=" and sfb.batch = '".$bat."'";
|
||||
$sql.=" and sfs.batch = '".$bat."'";
|
||||
|
||||
}
|
||||
if ($u!= ''){
|
||||
|
||||
$sql.=" and uc.cuid = '".$u."'";
|
||||
$sql.=" and cm.uid = '".$u."'";
|
||||
|
||||
}
|
||||
$sql.="group by Student_id,Course_id,Batch_code,Branch_code ";
|
||||
$sql.="group by Student_id,Course_id,Batch_code,Branch_code,Sem_year ";
|
||||
|
||||
|
||||
|
||||
@ -503,9 +518,9 @@ left join (SELECT StudentID as sid,UniversityID as uid,CourseID as cid,Enrollmen
|
||||
}
|
||||
public function wav_ref($bat=null,$br=null,$u=null){
|
||||
|
||||
$sql = "select ifnull(sms.sid,'-') as Student_id,ifnull(scd.eid,'-') as Enrollment_id,ifnull(std.name,'-') as Student_name,ifnull(std.father,'-') as Father_name,ifnull(std.phone,'-') as Phone_number,ifnull(cfd.syear,'-') as Sem_year,ifnull(sfs.batch,'-') as Batch_code,ifnull(scd.branch,'-') as Branch_code,ifnull(sfs.cid,'-') as Course_id,ifnull(cm.course,'-') as Course_name,ifnull(cm.uname,'-') as University,ifnull(sms.waiver_bill,'-') as Waiver_bill,ifnull(sms.waiver,0) as Waiver_amount,ifnull(sms.referal_bill,'-') as Referal_bill,ifnull(sms.referal,0) as Referal_amount,ifnull(sms.cmts,'-') as Comments,ifnull(std.address,'-') as address,ifnull(std.AlternateNumber,'') as AlternateNumber
|
||||
$sql = "select ifnull(sms.sid,'-') as Student_id,ifnull(scd.eid,'-') as Enrollment_id,ifnull(std.name,'-') as Student_name,ifnull(std.father,'-') as Father_name,ifnull(std.phone,'-') as Phone_number,ifnull(cfd.syear,'-') as Sem_year,ifnull(sfs.batch,'-') as Batch_code,ifnull(scd.branch,'-') as Branch_code,ifnull(sfs.cid,'-') as Course_id,ifnull(cm.course,'-') as Course_name,ifnull(cm.uname,'-') as University,staff.FirstName as staffname,ifnull(sms.waiver_bill,'-') as Waiver_bill,ifnull(sms.waiver,0) as Waiver_amount,ifnull(sms.referal_bill,'-') as Referal_bill,ifnull(sms.referal,0) as Referal_amount,ifnull(sms.cmts,'-') as Comments,ifnull(std.address,'-') as address,ifnull(std.AlternateNumber,'') as AlternateNumber
|
||||
from
|
||||
(SELECT StudentID as sid,CommentsForStudent as cmts,FeesId as fid,
|
||||
(SELECT StudentID as sid,CreatedBy as lid,CommentsForStudent as cmts,FeesId as fid,
|
||||
IF(ModeOfPayment = 'WAIVER', BillNO,'-') AS waiver_bill,
|
||||
IF(ModeOfPayment = 'WAIVER', sum(BillAmount), 0) AS waiver,
|
||||
IF(ModeOfPayment = 'REFERRAL', BillNO,'-') AS referal_bill,
|
||||
@ -529,6 +544,10 @@ left join
|
||||
as cm on cm.cid=cfd.ccid
|
||||
left join
|
||||
(SELECT StudentID as sid,MobileNumber as phone,IsActive as active,FirstName as name,Fathername as father,PermanentAddress as address,AlternateNumber FROM T_StudentDetails) as std on std.sid=sms.sid
|
||||
left join
|
||||
T_Login as login on login.ID=sms.lid
|
||||
left join
|
||||
T_StaffDetails as staff on staff.StaffID=login.StaffID
|
||||
where std.active = 1 and scd.branch = '".$br."'
|
||||
|
||||
";
|
||||
@ -543,7 +562,7 @@ left join
|
||||
$sql.=" and cm.uid = '".$u."'";
|
||||
|
||||
}
|
||||
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code,Waiver_bill,Referal_bill";
|
||||
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code,Waiver_bill,Referal_bill,Sem_year";
|
||||
|
||||
|
||||
|
||||
@ -598,7 +617,7 @@ left join
|
||||
$sql.=" and cm.uid = '".$u."'";
|
||||
|
||||
}
|
||||
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code";
|
||||
$sql.=" group by Student_id,Course_id,Batch_code,Branch_code,Sem_year";
|
||||
|
||||
|
||||
|
||||
@ -617,7 +636,7 @@ left join
|
||||
}
|
||||
public function balfee($bat=null,$br=null,$u=null){
|
||||
|
||||
$sql = "SELECT ifnull(sfp.StudentID,'-') as Student_id,ifnull(scd.eid,'-') as eid,ifnull(std.name,'-') as Student_name,ifnull(std.father,'-') as Father_name,ifnull(std.phone,'-') as Phone_number,ifnull(sfs.batch,'-') as Batch_code,ifnull(sfs.cid,'-') as Course_id,ifnull(cm.course,'-') as Course_name,ifnull(u.uname,'-') as University,ifnull(sfs.branch,'-') as Branch_code,ifnull(cfd.syear,'-') as Sem_year,ifnull((sfs.cf + sfs.stf + sfs.others),0) as Total,ifnull((sfb.bamount),0) as Paid_fee,ifnull(((sfs.cf + sfs.stf + sfs.others) - (sfb.bamount)),0) as balance,
|
||||
$sql = "SELECT ifnull(sfp.StudentID,'-') as Student_id,ifnull(scd.eid,'-') as eid,ifnull(std.name,'-') as Student_name,date_format(std.regdate,'%d-%m-%Y') as regdate,ifnull(std.father,'-') as Father_name,ifnull(std.phone,'-') as Phone_number,ifnull(sfs.batch,'-') as Batch_code,ifnull(sfs.cid,'-') as Course_id,ifnull(cm.course,'-') as Course_name,ifnull(u.uname,'-') as University,ifnull(sfs.branch,'-') as Branch_code,ifnull(cfd.syear,'-') as Sem_year,ifnull((sfs.cf + sfs.stf + sfs.others),0) as Total,ifnull((sfb.bamount),0) as Paid_fee,ifnull(((sfs.cf + sfs.stf + sfs.others) - (sfb.bamount)),0) as balance,
|
||||
ifnull(MAX(CASE WHEN Installment = 1 THEN sfp.BillNO END),'-') as billno1,
|
||||
ifnull(MAX(CASE WHEN Installment = 1 THEN sfp.BillAmount END),0) as billamt1,
|
||||
ifnull(MAX(CASE WHEN Installment = 2 THEN sfp.BillNO END),'-') as billno2,
|
||||
@ -652,7 +671,7 @@ left join
|
||||
(SELECT UniversityID as uid,UniversityName as uname FROM T_UniversityMaster) as u
|
||||
on u.uid=cm.uid
|
||||
left join
|
||||
(SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father,IsActive as active,PermanentAddress as address,AlternateNumber FROM T_StudentDetails where IsActive = 1) as std on std.sid=sfp.StudentID
|
||||
(SELECT StudentID as sid,MobileNumber as phone,FirstName as name,Fathername as father,IsActive as active,PermanentAddress as address,AlternateNumber,CreatedOn as regdate FROM T_StudentDetails where IsActive = 1) as std on std.sid=sfp.StudentID
|
||||
left join
|
||||
(SELECT BatchCode as bcode,BatchName as batchname FROM T_BatchMaster) as b on b.bcode=sfs.batch
|
||||
left join
|
||||
@ -660,7 +679,7 @@ left join
|
||||
left join
|
||||
(SELECT StudentID as sid,FeesID as fid,BillNo as billno,sum(BillAmount) as bamount FROM T_Students_Fees_PaidDetails where IsActive = 1
|
||||
group by sid,fid) as sfb on sfb.sid=sfp.StudentID and sfb.fid=sfp.FeesID
|
||||
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=sfs.sid and scd.cid=sfs.cid and scd.branch=sfs.branch
|
||||
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=sfs.sid
|
||||
where sfp.IsActive = 1 and br.brcode = '".$br."'
|
||||
|
||||
";
|
||||
|
||||
@ -121,6 +121,33 @@ app.controller('report_balfeeCtrl', ["$scope", "$filter","$rootScope","$modal",
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
$scope.gettotal = function(){
|
||||
var totalfee = 0;
|
||||
for(var i = 0; i < $scope.balfee_data.length; i++){
|
||||
var item = $scope.balfee_data[i];
|
||||
totalfee += parseFloat(item.Total);
|
||||
}
|
||||
return totalfee; }
|
||||
$scope.getpaid = function(){
|
||||
var totalpaid = 0;
|
||||
for(var i = 0; i < $scope.balfee_data.length; i++){
|
||||
var item = $scope.balfee_data[i];
|
||||
totalpaid += parseFloat(item.Paid_fee);
|
||||
}
|
||||
return totalpaid; }
|
||||
|
||||
$scope.getbalance = function(){
|
||||
var totalbalance=0;
|
||||
for(var i = 0; i < $scope.balfee_data.length; i++){
|
||||
var item = $scope.balfee_data[i];
|
||||
totalbalance += parseFloat(item.balance);
|
||||
|
||||
}
|
||||
return totalbalance; }
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -143,7 +170,7 @@ app.controller('report_balfeeCtrl', ["$scope", "$filter","$rootScope","$modal",
|
||||
|
||||
|
||||
$scope.exportData = function () {
|
||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,eid as EnrollmentID,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,Sem_year as SemYear,CAST(Phone_number AS NUMBER) as PhoneNumber,University as University,CAST(Total AS NUMBER) as TotalFee,CAST(Paid_fee AS NUMBER) as FeesPaid,CAST(balance AS NUMBER) as Balance,billno1 as BillNO1,CAST(billamt1 AS NUMBER) as BillAmount1,billno2 as BillNO2,CAST(billamt2 AS NUMBER) as BillAmount2, billno3 as BillNO3, CAST(billamt3 AS NUMBER) as BillAmount3, billno4 as BillNO4, CAST(billamt4 AS NUMBER) as BillAmount4, billno5 as BillNO5,CAST(billamt5 AS NUMBER) as BillAmount5,billno6 as BillNO6,CAST(billamt6 AS NUMBER) as BillAmount6,billno7 as BillNo7,CAST(billamt7 AS NUMBER)as BillAmount7,billno8 as BillNO8,CAST(billamt8 AS NUMBER) as BillAmount8,billno9 as BillNO9,CAST(billamt9 AS NUMBER) as BillAmount9,billno10 as BillNO10,CAST(billamt10 AS NUMBER) as BillAmount10 INTO XLS("Balancefee_status.xls",?) FROM ?',[mystyle,$scope.balfee_data]);
|
||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,eid as EnrollmentID,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,Sem_year as SemYear,CAST(Phone_number AS NUMBER) as PhoneNumber,University as University,regdate as RegistrationDate,CAST(Total AS NUMBER) as TotalFee,CAST(Paid_fee AS NUMBER) as FeesPaid,CAST(balance AS NUMBER) as Balance,billno1 as BillNO1,CAST(billamt1 AS NUMBER) as BillAmount1,billno2 as BillNO2,CAST(billamt2 AS NUMBER) as BillAmount2, billno3 as BillNO3, CAST(billamt3 AS NUMBER) as BillAmount3, billno4 as BillNO4, CAST(billamt4 AS NUMBER) as BillAmount4, billno5 as BillNO5,CAST(billamt5 AS NUMBER) as BillAmount5,billno6 as BillNO6,CAST(billamt6 AS NUMBER) as BillAmount6,billno7 as BillNo7,CAST(billamt7 AS NUMBER)as BillAmount7,billno8 as BillNO8,CAST(billamt8 AS NUMBER) as BillAmount8,billno9 as BillNO9,CAST(billamt9 AS NUMBER) as BillAmount9,billno10 as BillNO10,CAST(billamt10 AS NUMBER) as BillAmount10 INTO XLS("Balancefee_status.xls",?) FROM ?',[mystyle,$scope.balfee_data]);
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -133,7 +133,7 @@ app.controller('report_doc_pendingCtrl', ["$scope", "$filter","$rootScope","$mod
|
||||
|
||||
|
||||
$scope.exportData = function () {
|
||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Admission_date as AdmissionDate,Enrollment_id as EnrollmentID,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,Sem_year as SemYear,CAST(Phone_number AS NUMBER) as PhoneNumber,University as University,Status as DocumentPendingStatus INTO XLS("Document_pending_student_list.xls",?) FROM ?',[mystyle,$scope.doc_pending_data]);
|
||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Admission_date as AdmissionDate,Enrollment_id as EnrollmentID,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,Sem_year as SemYear,CAST(Phone_number AS NUMBER) as PhoneNumber,University as University,adate as DocumentAppliedDate,certname as DocumentName,Status as DocumentPendingStatus INTO XLS("Document_pending_student_list.xls",?) FROM ?',[mystyle,$scope.doc_pending_data]);
|
||||
};
|
||||
/*modal controller
|
||||
* */
|
||||
|
||||
@ -114,7 +114,7 @@ app.controller('report_waiver_referalCtrl', ["$scope", "API_POINTS", "$http", "S
|
||||
|
||||
|
||||
$scope.exportData = function () {
|
||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Enrollment_id as EnrollmentID,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,Sem_year as SemYear,CAST(Phone_number AS NUMBER) as PhoneNumber,University as University,Waiver_bill as WaiverBillNo,CAST(Waiver_amount AS NUMBER) as WaiverAmount,Referal_bill as ReferalBillNo,CAST(Referal_amount AS NUMBER) as ReferalAmount,Comments as Comments INTO XLS("Waiver_referal_report.xls",?) FROM ?',[mystyle,$scope.waiver_referal_data]);
|
||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Enrollment_id as EnrollmentID,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,Sem_year as SemYear,University as University,CAST(Phone_number AS NUMBER) as PhoneNumber,staffname as Waiver/referalGivenBy,Waiver_bill as WaiverBillNo,CAST(Waiver_amount AS NUMBER) as WaiverAmount,Referal_bill as ReferalBillNo,CAST(Referal_amount AS NUMBER) as ReferalAmount,Comments as Comments INTO XLS("Waiver_referal_report.xls",?) FROM ?',[mystyle,$scope.waiver_referal_data]);
|
||||
};
|
||||
/*modal controller
|
||||
* */
|
||||
|
||||
@ -7,6 +7,12 @@
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
td,th {
|
||||
white-space: nowrap;
|
||||
}
|
||||
th{
|
||||
text-align:center;
|
||||
}
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
@ -92,6 +98,8 @@
|
||||
<th>Sem/Year</th>
|
||||
<th>Phone No</th>
|
||||
<th>University</th>
|
||||
<th>Issued To Student Date</th>
|
||||
<th>Received From Student Date</th>
|
||||
<th>Answer Booklet Status</th>
|
||||
<th>Date</th>
|
||||
|
||||
@ -109,6 +117,8 @@
|
||||
<td>{{p.Sem_year}}({{p.Sem}})</td>
|
||||
<td><a tooltip="View Student" class="text-dark" ng-click="open(p);">{{p.Phone_number}}</a></td>
|
||||
<td>{{p.University}}</td>
|
||||
<td>{{p.issuedate}}</td>
|
||||
<td>{{p.rcvedate}}</td>
|
||||
<td>{{p.Status}}</td>
|
||||
<td>{{p.Date}}</td>
|
||||
|
||||
|
||||
@ -7,6 +7,12 @@
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
td,th {
|
||||
white-space: nowrap;
|
||||
}
|
||||
th{
|
||||
text-align:center;
|
||||
}
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
|
||||
@ -66,14 +66,24 @@
|
||||
</form>
|
||||
<!-- <pre>{{statusr | json}}</pre> -->
|
||||
<div class="row" style="text-align: right;">
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-2">
|
||||
<input class="form-control" type="text" ng-model="search" id="searchIn" autofocus tabindex="2" placeholder="Search" />
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-2">
|
||||
<span>Total Fee:Rs.</span><span>{{gettotal()}}</span>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<span>Paid:Rs.</span><span>{{getpaid()}}</span>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<span>Balance:</span><span>{{getbalance()/gettotal()*100 | number : 2 || "0"}}%</span>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<button class="btn btn-success btn-o" ng-click="calltracking()">Call Tracking</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<button class="btn btn-success btn-o" ng-click="exportData()">Export to Excel</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table id="datatable" class="table table-hover" style="font-size:0.8em;" ng-controller="studentModalDemoCtrl">
|
||||
@ -85,54 +95,57 @@
|
||||
<th colspan="8"></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th colspan="2">1st payment</th>
|
||||
<th colspan="2">2nd payment</th>
|
||||
<th colspan="2">3rd payment</th>
|
||||
<th colspan="2">4th payment</th>
|
||||
<th colspan="2">5th payment</th>
|
||||
<th 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>
|
||||
<th nowrap style="text-align:center;">Sum of Total Fee</th>
|
||||
<th nowrap style="text-align:center;">Sum of Fee Paid</th>
|
||||
<th nowrap style="text-align:center;">Sum of Balance Fee</th>
|
||||
<th nowrap colspan="2" style="text-align:center;">1st payment</th>
|
||||
<th nowrap colspan="2" style="text-align:center;">2nd payment</th>
|
||||
<th nowrap colspan="2" style="text-align:center;">3rd payment</th>
|
||||
<th nowrap colspan="2" style="text-align:center;">4th payment</th>
|
||||
<th nowrap colspan="2" style="text-align:center;">5th payment</th>
|
||||
<th nowrap colspan="2" style="text-align:center;">6th payment</th>
|
||||
<th nowrap colspan="2" style="text-align:center;">7th payment</th>
|
||||
<th nowrap colspan="2" style="text-align:center;">8th payment</th>
|
||||
<th nowrap colspan="2" style="text-align:center;">9th payment</th>
|
||||
<th nowrap colspan="2" style="text-align:center;">10th payment</th>
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><input type="checkbox" ng-model="myModel.all" id="all" name="all" ng-click="isCheckAll($event);"></th>
|
||||
<th>SL.No</th>
|
||||
<th>Enrollment ID</th>
|
||||
<th>Student Name</th>
|
||||
<th>Father Name</th>
|
||||
<th>Course</th>
|
||||
<th>Sem/Year</th>
|
||||
<th>Phone No</th>
|
||||
<th>University</th>
|
||||
<th>Total Fee</th>
|
||||
<th>Fees Paid</th>
|
||||
<th>Balance</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th>Bill No</th>
|
||||
<th>Amount</th>
|
||||
<th nowrap style="text-align:center;">SL.No</th>
|
||||
<th nowrap style="text-align:center;">Enrollment ID</th>
|
||||
<th nowrap style="text-align:center;">Student Name</th>
|
||||
<th nowrap style="text-align:center;">Father Name</th>
|
||||
<th nowrap style="text-align:center;">Course</th>
|
||||
<th nowrap style="text-align:center;">Sem/Year</th>
|
||||
<th nowrap style="text-align:center;">Phone No</th>
|
||||
<th nowrap style="text-align:center;">University</th>
|
||||
<th nowrap style="text-align:center;">Reg Date</th>
|
||||
<th nowrap style="text-align:center;">Total Fee</th>
|
||||
<th nowrap style="text-align:center;">Fees Paid</th>
|
||||
<th nowrap style="text-align:center;">Balance</th>
|
||||
<th nowrap style="text-align:center;">Bill No</th>
|
||||
<th nowrap style="text-align:center;">Amount</th>
|
||||
<th nowrap style="text-align:center;">Bill No</th>
|
||||
<th nowrap style="text-align:center;">Amount</th>
|
||||
<th nowrap style="text-align:center;">Bill No</th>
|
||||
<th nowrap style="text-align:center;">Amount</th>
|
||||
<th nowrap style="text-align:center;">Bill No</th>
|
||||
<th nowrap style="text-align:center;">Amount</th>
|
||||
<th nowrap style="text-align:center;">Bill No</th>
|
||||
<th nowrap style="text-align:center;">Amount</th>
|
||||
<th nowrap style="text-align:center;">Bill No</th>
|
||||
<th nowrap style="text-align:center;">Amount</th>
|
||||
<th nowrap style="text-align:center;">Bill No</th>
|
||||
<th nowrap style="text-align:center;">Amount</th>
|
||||
<th nowrap style="text-align:center;">Bill No</th>
|
||||
<th nowrap style="text-align:center;">Amount</th>
|
||||
<th nowrap style="text-align:center;">Bill No</th>
|
||||
<th nowrap style="text-align:center;">Amount</th>
|
||||
<th nowrap style="text-align:center;">Bill No</th>
|
||||
<th nowrap style="text-align:center;">Amount</th>
|
||||
|
||||
|
||||
|
||||
@ -144,98 +157,99 @@
|
||||
<tbody dir-paginate="p in balfee_data|filter:search:strict|itemsPerPage:itemsPerPage" current-page="currentPage">
|
||||
<tr>
|
||||
<td><input type="checkbox" ng-checked="myModel.all" id="{{p.Student_id}}" name="{{p.Student_id}}" class="form-control" ng-click="isClick($event);" /></td>
|
||||
<td>{{p.SL_NO}}</td>
|
||||
<td>{{p.eid}}</td>
|
||||
<td><a tooltip="View Student" class="text-dark" ng-click="open(p);">{{p.Student_name}}</a></td>
|
||||
<td>{{p.Father_name}}</td>
|
||||
<td>{{p.Course_name}}</td>
|
||||
<td>{{p.Sem_year}}</td>
|
||||
<td><a tooltip="View Student" class="text-dark" ng-click="open(p);">{{p.Phone_number}}</a></td>
|
||||
<td>{{p.University}}</td>
|
||||
<td>{{p.Total}}</td>
|
||||
<td>{{p.Paid_fee}}</td>
|
||||
<td>{{p.balance}}</td>
|
||||
<td>
|
||||
<td nowrap>{{p.SL_NO}}</td>
|
||||
<td nowrap>{{p.eid}}</td>
|
||||
<td nowrap><a tooltip="View Student" class="text-dark" ng-click="open(p);">{{p.Student_name}}</a></td>
|
||||
<td nowrap>{{p.Father_name}}</td>
|
||||
<td nowrap>{{p.Course_name}}</td>
|
||||
<td nowrap>{{p.Sem_year}}</td>
|
||||
<td nowrap><a tooltip="View Student" class="text-dark" ng-click="open(p);">{{p.Phone_number}}</a></td>
|
||||
<td nowrap>{{p.University}}</td>
|
||||
<td nowrap>{{p.regdate}}</td>
|
||||
<td nowrap style="text-align:right;">{{p.Total}}</td>
|
||||
<td nowrap style="text-align:right;">{{p.Paid_fee}}</td>
|
||||
<td nowrap style="text-align:right;">{{p.balance}}</td>
|
||||
<td nowrap>
|
||||
<span ng-if="p.billno1">{{p.billno1}}</span>
|
||||
<span ng-if="!p.billno1"> - </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap style="text-align:right;">
|
||||
<span ng-if="p.billamt1">{{p.billamt1}}</span>
|
||||
<span ng-if="!p.billamt1"> 0 </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap>
|
||||
<span ng-if="p.billno2">{{p.billno2}}</span>
|
||||
<span ng-if="!p.billno2"> - </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap style="text-align:right;">
|
||||
<span ng-if="p.billamt2">{{p.billamt2}}</span>
|
||||
<span ng-if="!p.billamt2"> 0 </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap>
|
||||
<span ng-if="p.billno3">{{p.billno3}}</span>
|
||||
<span ng-if="!p.billno3"> - </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap style="text-align:right;">
|
||||
<span ng-if="p.billamt3">{{p.billamt3}}</span>
|
||||
<span ng-if="!p.billamt3"> 0 </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap>
|
||||
<span ng-if="p.billno4">{{p.billno4}}</span>
|
||||
<span ng-if="!p.billno4"> - </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap style="text-align:right;">
|
||||
<span ng-if="p.billamt4">{{p.billamt4}}</span>
|
||||
<span ng-if="!p.billamt4"> 0 </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap>
|
||||
<span ng-if="p.billno5">{{p.billno5}}</span>
|
||||
<span ng-if="!p.billno5"> - </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap style="text-align:right;">
|
||||
<span ng-if="p.billamt5">{{p.billamt5}}</span>
|
||||
<span ng-if="!p.billamt5"> 0 </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap>
|
||||
<span ng-if="p.billno6">{{p.billno6}}</span>
|
||||
<span ng-if="!p.billno6"> - </span>
|
||||
</td>
|
||||
<td>
|
||||
<td style="text-align:right;">
|
||||
<span ng-if="p.billamt6">{{p.billamt6}}</span>
|
||||
<span ng-if="!p.billamt6"> 0 </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap>
|
||||
<span ng-if="p.billno7">{{p.billno7}}</span>
|
||||
<span ng-if="!p.billno7"> - </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap style="text-align:right;">
|
||||
<span ng-if="p.billamt7">{{p.billamt7}}</span>
|
||||
<span ng-if="!p.billamt7"> 0 </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap>
|
||||
<span ng-if="p.billno8">{{p.billno8}}</span>
|
||||
<span ng-if="!p.billno8"> - </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap style="text-align:right;">
|
||||
<span ng-if="p.billamt8">{{p.billamt8}}</span>
|
||||
<span ng-if="!p.billamt8"> 0 </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap>
|
||||
<span ng-if="p.billno9">{{p.billno9}}</span>
|
||||
<span ng-if="!p.billno9"> - </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap style="text-align:right;">
|
||||
<span ng-if="p.billamt9">{{p.billamt9}}</span>
|
||||
<span ng-if="!p.billamt9"> 0 </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap>
|
||||
<span ng-if="p.billno10">{{p.billno10}}</span>
|
||||
<span ng-if="!p.billno10"> - </span>
|
||||
</td>
|
||||
<td>
|
||||
<td nowrap style="text-align:right;">
|
||||
<span ng-if="p.billamt10">{{p.billamt10}}</span>
|
||||
<span ng-if="!p.billamt10"> 0 </span>
|
||||
</td>
|
||||
<td>{{p.cmts}}</td>
|
||||
<td nowrap>{{p.cmts}}</td>
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
@ -7,6 +7,12 @@
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
td,th {
|
||||
white-space: nowrap;
|
||||
}
|
||||
th{
|
||||
text-align:center;
|
||||
}
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
@ -93,6 +99,8 @@
|
||||
<th>Sem/Year</th>
|
||||
<th>Phone No</th>
|
||||
<th>University</th>
|
||||
<th>Document Applied Date</th>
|
||||
<th>Document Name</th>
|
||||
<th>Document Status</th>
|
||||
|
||||
|
||||
@ -111,6 +119,8 @@
|
||||
<td>{{p.Sem_year}}</td>
|
||||
<td><a tooltip="View Student" class="text-dark" ng-click="open(p);">{{p.Phone_number}}</a></td>
|
||||
<td>{{p.University}}</td>
|
||||
<td>{{p.adate}}</td>
|
||||
<td>{{p.certname}}</td>
|
||||
<td>{{p.Status}}</td>
|
||||
|
||||
|
||||
|
||||
@ -7,6 +7,12 @@
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
td,th {
|
||||
white-space: nowrap;
|
||||
}
|
||||
th{
|
||||
text-align:center;
|
||||
}
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
@ -81,11 +87,11 @@
|
||||
|
||||
|
||||
<thead>
|
||||
<!-- <tr>
|
||||
<th colspan="8"></th>
|
||||
<tr>
|
||||
<th colspan="9"></th>
|
||||
<th>Sum of Exam Writing Fee</th>
|
||||
<th></th>
|
||||
</tr> -->
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><input type="checkbox" ng-model="myModel.all" id="all" name="all" ng-click="isCheckAll($event);"></th>
|
||||
@ -116,7 +122,7 @@
|
||||
<td>{{p.Sem_year}}</td>
|
||||
<td><a tooltip="View Student" class="text-dark" ng-click="open(p);">{{p.Phone_number}}</a></td>
|
||||
<td>{{p.University}}</td>
|
||||
<td>{{p.Amount}}</td>
|
||||
<td style="text-align:right;">{{p.Amount}}</td>
|
||||
<td>{{p.Comments}}</td>
|
||||
|
||||
|
||||
@ -132,7 +138,8 @@
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>{{ getstf() }}</td>
|
||||
<td></td>
|
||||
<td style="text-align:right;">{{ getstf() }}</td>
|
||||
<td></td>
|
||||
|
||||
</tfoot>
|
||||
|
||||
@ -7,6 +7,12 @@
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
td,th {
|
||||
white-space: nowrap;
|
||||
}
|
||||
th{
|
||||
text-align:center;
|
||||
}
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
|
||||
@ -7,6 +7,12 @@
|
||||
</div>
|
||||
</section>
|
||||
<style>
|
||||
td,th {
|
||||
white-space: nowrap;
|
||||
}
|
||||
th{
|
||||
text-align:center;
|
||||
}
|
||||
/* .sort-icon {
|
||||
font-size: 9px;
|
||||
margin-left: 5px;
|
||||
@ -87,6 +93,7 @@
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th colspan="2">Sum of Waiver Fee</th>
|
||||
<th colspan="2">Sum of Referal Fee</th>
|
||||
<th></th>
|
||||
@ -99,8 +106,9 @@
|
||||
<th>Father Name</th>
|
||||
<th>Course</th>
|
||||
<th>Sem/Year</th>
|
||||
<th>Phone No</th>
|
||||
<th>University</th>
|
||||
<th>Phone No</th>
|
||||
<th>Waiver/referal given by</th>
|
||||
<th>Waiver Bill No</th>
|
||||
<th>Waivers Amount</th>
|
||||
<th>Referal Bill No</th>
|
||||
@ -122,10 +130,11 @@
|
||||
<td>{{p.Sem_year}}</td>
|
||||
<td>{{p.University}}</td>
|
||||
<td><a tooltip="View Student" class="text-dark" ng-click="open(p);">{{p.Phone_number}}</a></td>
|
||||
<td>{{p.staffname}}</td>
|
||||
<td>{{p.Waiver_bill}}</td>
|
||||
<td>{{p.Waiver_amount}}</td>
|
||||
<td style="text-align:right;">{{p.Waiver_amount}}</td>
|
||||
<td>{{p.Referal_bill}}</td>
|
||||
<td>{{p.Referal_amount}}</td>
|
||||
<td style="text-align:right;">{{p.Referal_amount}}</td>
|
||||
<td>{{p.Comments}}</td>
|
||||
|
||||
|
||||
@ -142,9 +151,10 @@
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>{{ getwaiver() }}</td>
|
||||
<td></td>
|
||||
<td style="text-align:right;">{{ getwaiver() }}</td>
|
||||
<td></td>
|
||||
<td>{{ getref() }}</td>
|
||||
<td style="text-align:right;">{{ getref() }}</td>
|
||||
<td></td>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user