fix is_new issue with enrollment fixes
This commit is contained in:
@@ -110,6 +110,10 @@ public function studentProfiles(string $selectedYear): array
|
||||
->getResultArray();
|
||||
}
|
||||
|
||||
if ($selectedYear !== '') {
|
||||
service('studentYearStatus')->attachToStudents($students, $selectedYear);
|
||||
}
|
||||
|
||||
$enrollmentStatusByStudentId = [];
|
||||
$studentIds = array_values(array_unique(array_filter(array_map(
|
||||
static fn (array $row): int => (int) ($row['id'] ?? 0),
|
||||
|
||||
Reference in New Issue
Block a user