fix teacher and parent routes

This commit is contained in:
root
2026-04-24 02:12:01 -04:00
parent 5128c74892
commit 7216cb2885
36 changed files with 1575 additions and 49 deletions
@@ -115,7 +115,7 @@ class ClassPreparationCalculatorService
$schoolYear = $schoolYear ?: (string) Configuration::getConfig('school_year');
$baseQuery = DB::table('teacher_class')
->select('COUNT(*) AS cnt')
->selectRaw('COUNT(*) AS cnt')
->where('class_section_id', $classSectionId)
->whereIn('position', ['main', 'ta']);