Fix last-name exception carry-forward and parent action label
Tests / PHPUnit (push) Successful in 55s
Tests / PHPUnit (push) Successful in 55s
This commit is contained in:
@@ -1669,7 +1669,7 @@ class ParentController extends BaseController
|
||||
private function requiredActionLabel(?array $evaluation): string
|
||||
{
|
||||
if ($evaluation === null) {
|
||||
return 'Contact administration';
|
||||
return 'Complete re-enrollment before the registration deadline.';
|
||||
}
|
||||
|
||||
$state = $this->parentEnrollmentStateFromEvaluation($evaluation, null);
|
||||
@@ -1678,7 +1678,7 @@ class ParentController extends BaseController
|
||||
'Eligible with follow-up' => 'Complete re-enrollment and follow the listed next step.',
|
||||
'Already submitted' => 'Already submitted',
|
||||
'Action needed' => 'Action needed: pay the previous-year balance or contact administration.',
|
||||
'Under review' => 'Under review. Contact the school administration.',
|
||||
'Under review' => 'Contact the school administration.',
|
||||
default => 'Contact administration',
|
||||
};
|
||||
}
|
||||
@@ -1716,7 +1716,7 @@ class ParentController extends BaseController
|
||||
return 'Already submitted';
|
||||
}
|
||||
|
||||
if (! empty($evaluation['can_enroll']) || $decision === 'EXCEPTION_ELIGIBLE' || $decision === 'ELIGIBLE') {
|
||||
if (! empty($evaluation['can_enroll']) || ! empty($evaluation['parent_enrollment_allowed']) || $decision === 'EXCEPTION_ELIGIBLE' || $decision === 'ELIGIBLE') {
|
||||
if ($decision === 'ELIGIBLE_WITH_WARNING' || ($evaluation['warning_rule_codes'] ?? []) !== []) {
|
||||
return 'Eligible with follow-up';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user