fix registration enrollment of students
This commit is contained in:
@@ -302,7 +302,7 @@ final class EnrollmentRegistrationEmailService
|
||||
return 'KG students may complete registration now. ' . $name . ' is eligible for re-enrollment even though no final deliberation decision is recorded.' . $placementText;
|
||||
}
|
||||
|
||||
if (($evaluation['can_enroll'] ?? false) === false && ! empty($evaluation['primary_parent_message'])) {
|
||||
if (! $this->canCompleteParentReEnrollment($evaluation) && ! empty($evaluation['primary_parent_message'])) {
|
||||
return (string) $evaluation['primary_parent_message'];
|
||||
}
|
||||
|
||||
@@ -655,7 +655,7 @@ final class EnrollmentRegistrationEmailService
|
||||
return $placement;
|
||||
}
|
||||
|
||||
return ($evaluation['can_enroll'] ?? false) === true ? 'Pending' : '';
|
||||
return $this->canCompleteParentReEnrollment($evaluation) ? 'Pending' : '';
|
||||
}
|
||||
|
||||
private function requiredAction(array $evaluation, string $deadline, string $name = 'The student'): string
|
||||
|
||||
Reference in New Issue
Block a user