report fee balance branch wise

This commit is contained in:
venbatechnologies@gmail.com 2018-11-02 14:55:08 +05:30
parent 88aa19747b
commit 9a8793d432
2 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@ $db['default'] = array(
'password' => 'apollo1234',
'database' => 'apollod4_ApolloDECDev',
// 'username' => 'apollod4_SIT',
// 'password' => 'apollosit1234',
// 'database' => 'apollod4_ApolloDECNEWSIT',

View File

@ -916,7 +916,7 @@ where std.active = 1 and sms.branch = '".$br."'
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.feestype=sfs.FeesType
where sfp.IsActive = 1 and sfp.UpdatedBy = '".$br."'
where sfp.IsActive = 1 and sfp.UpdatedBy = '".$br."' and std.BranchCode='".$br."'
";