3rd tile changes on dashboard

This commit is contained in:
gandhimathi 2018-10-31 13:34:21 +05:30
parent 0e0b2f09d1
commit 8c2cb30ba1

View File

@ -821,7 +821,7 @@ public function leadCountMonth($branchId = null, $requestedBy = null){
LEFT JOIN T_StudentDetails std ON std.StudentID = a.StudentID
LEFT JOIN T_StaffDetails sd ON sd.StaffID = std.AdmittedBy
LEFT JOIN T_BatchMaster bm ON bm.BatchCode = a.BatchCode
where a.BranchCode = '".$branchId."'
where a.BranchCode = '".$branchId."' and a.BatchCode != 'Not applicable'
GROUP BY std.AdmittedBy , bcode) b
@ -928,7 +928,7 @@ public function leadCountMonth($branchId = null, $requestedBy = null){
left join T_Students_Fees_Status sfs on sfs.StudentID =scd.StudentID and sfs.CourseID = scd.CourseID
left join T_BatchMaster bm on bm.BatchCode = sfs.BatchCode
left join T_StaffDetails sd on sd.StaffID = std.AdmittedBy
where year(std.CreatedOn) = year(now()) and std.BranchCode = '".$branchId."'
where year(std.CreatedOn) = year(now()) and sfs.BatchCode != 'Not applicable' and std.BranchCode = '".$branchId."'
";
if($univ != ''){