diff --git a/Apollo/api/application/models/Reports_model.php b/Apollo/api/application/models/Reports_model.php index 28c376f2..add8c9e4 100755 --- a/Apollo/api/application/models/Reports_model.php +++ b/Apollo/api/application/models/Reports_model.php @@ -908,7 +908,7 @@ left join left join T_UniversityMaster u on u.UniversityID=cm.UniversityID left join T_StudentDetails std on std.StudentID=sfp.StudentID and std.IsActive = 1 left join T_Student_CourseDetails scd on scd.StudentID=sfs.StudentID and scd.CourseID=sfs.CourseID - left join BalFees as bal on bal.student=sfp.StudentID and bal.course=sfs.CourseID and bal.semyr=cfd.Sem_Year + left join BalFees as bal on bal.student=sfp.StudentID and bal.course=sfs.CourseID and bal.feestype=sfs.FeesType where sfp.IsActive = 1 and sfp.UpdatedBy = '".$br."' ";