fix teacher and parent routes
This commit is contained in:
@@ -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']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user