AVP-85 Active link when clicking of Parent's email address

This commit is contained in:
root
2026-03-01 17:24:20 -05:00
parent a18198d547
commit 35b9cba882
9 changed files with 380 additions and 31 deletions
@@ -416,8 +416,10 @@ class AdministratorController extends BaseController
$totalStudents = (int) (
$this->db->table('student_class')
->select('COUNT(DISTINCT student_class.student_id) AS cnt')
->join('students', 'students.id = student_class.student_id', 'inner')
->where('student_class.school_year', $this->schoolYear)
->where('student_class.class_section_id IS NOT NULL', null, false)
->where('students.is_active', 1)
->get()
->getRow('cnt')
?? 0