fix widthraw spelling
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 47s
Tests / PHPUnit (push) Failing after 1m16s

This commit is contained in:
root
2026-08-20 16:07:34 -04:00
parent bfa343b69f
commit 246def8ca9
7 changed files with 20 additions and 31 deletions
+3 -3
View File
@@ -305,7 +305,7 @@ class StudentModel extends Model
->where('sc.school_year', $school_year)
->groupStart()
->where('students.is_active', 1)
->orWhere("LOWER(TRIM(e.enrollment_status)) IN ('denied','withdrawn','widthran','widthrawan','withdrawan','waitlist')", null, false)
->orWhere("LOWER(TRIM(e.enrollment_status)) IN ('denied','withdrawn','waitlist')", null, false)
->orWhere('e.is_withdrawn', 1)
->groupEnd();
@@ -346,7 +346,7 @@ class StudentModel extends Model
->where('student_class.school_year', $schoolYear)
->groupStart()
->where('students.is_active', 1)
->orWhere("LOWER(TRIM(e.enrollment_status)) IN ('denied','withdrawn','widthran','widthrawan','withdrawan','waitlist')", null, false)
->orWhere("LOWER(TRIM(e.enrollment_status)) IN ('denied','withdrawn','waitlist')", null, false)
->orWhere('e.is_withdrawn', 1)
->groupEnd()
->groupBy('students.id, students.school_id, students.firstname, students.lastname, students.is_active, e.enrollment_status, e.is_withdrawn')
@@ -502,7 +502,7 @@ class StudentModel extends Model
$builder->groupStart()
->where('students.is_active', 1)
->orWhere("LOWER(TRIM(e.enrollment_status)) IN ('denied','withdrawn','widthran','widthrawan','withdrawan','waitlist')", null, false)
->orWhere("LOWER(TRIM(e.enrollment_status)) IN ('denied','withdrawn','waitlist')", null, false)
->orWhere('e.is_withdrawn', 1)
->groupEnd();