extend('layout/main_layout') ?> section('styles') ?> endSection() ?> section('content') ?> attendance['timezone'] ?? user_timezone()); $deadlineObj = (new DateTime($lastDayOfRegistration, new DateTimeZone($tz)))->setTime(23, 59, 59); $nowObj = new DateTime('now', new DateTimeZone($tz)); $deadlinePassed = $nowObj > $deadlineObj; $hasAcceptedSchoolPolicy = (bool) ($hasAcceptedSchoolPolicy ?? false); $familyFinancialSummary = is_array($familyFinancialSummary ?? null) ? $familyFinancialSummary : []; $enrollmentFeeSchedule = is_array($enrollmentFeeSchedule ?? null) ? $enrollmentFeeSchedule : []; $money = static function ($amount) use ($familyFinancialSummary): string { $currency = (string) ($familyFinancialSummary['currency'] ?? '$'); return $currency . number_format((float) $amount, 2); }; $statusBadge = static function (?string $status): string { $status = strtolower(trim((string) $status)); return match ($status) { 'admission under review' => 'admission under review', 'review & decision' => 'review & decision', 'payment pending' => 'payment pending', 'enrolled' => 'enrolled', 'withdraw under review' => 'withdraw under review', 'refund pending' => 'refund pending', 'withdrawn' => 'withdrawn', 'waitlist' => 'waitlist', 'denied' => 'denied', 'not enrolled' => 'not enrolled', default => 'unknown', }; }; $alreadyEnrolledMessage = static fn (?string $status): string => \App\Support\Enrollment\EnrollmentEligibility::alreadyEnrolledMessage($status); $alreadyEnrolledTitle = static fn (?string $status): string => \App\Support\Enrollment\EnrollmentEligibility::alreadyEnrolledTitle($status); $hasSettledEnrollmentStatus = static function (?string $status, ?string $admissionStatus = ''): bool { if (strtolower(trim((string) $admissionStatus)) === 'accepted') { return true; } return in_array(strtolower(trim((string) $status)), [ 'admission under review', 'review & decision', 'payment pending', 'enrolled', 'waitlist', 'withdraw under review', 'refund pending', ], true); }; $enrollableCount = 0; $withdrawableCount = 0; $currentYearTuitionStudentCount = 0; foreach (($students ?? []) as $student) { $studentStatus = strtolower(trim((string) ($student['enrollment_status'] ?? ''))); $studentAdmissionStatus = strtolower(trim((string) ($student['admission_status'] ?? ''))); if ( ! in_array($studentStatus, ['withdrawn', 'withdraw under review', 'refund pending', 'denied', 'not enrolled'], true) && ( in_array($studentStatus, ['admission under review', 'review & decision', 'payment pending', 'enrolled', 'waitlist'], true) || $studentAdmissionStatus === 'accepted' ) ) { $currentYearTuitionStudentCount++; } $evaluation = is_array($student['transition_evaluation'] ?? null) ? $student['transition_evaluation'] : []; if ( (($evaluation['can_enroll'] ?? false) === true || ($evaluation['parent_enrollment_allowed'] ?? false) === true) && !$deadlinePassed && $isEditable ) { $enrollableCount++; } if (($student['enrollment_status'] ?? '') === 'enrolled' && $isEditable) { $withdrawableCount++; } } $studentCount = count($students ?? []); ?>

Enroll in Classes

School Year:
getFlashdata('error'); $flashSuccess = session()->getFlashdata('success'); ?>

Enrollment is the process of officially signing up your child for the upcoming school year.

Enrollment process
Review student information, confirm your home address and phone, acknowledge policies, review tuition and balances, then submit enrollment.
Enrollment closed on format('m-d-Y')) ?>.
No students are currently linked to this account.
No students are currently eligible for enrollment. You may still click Start Enrollment to review the reason.
ucfirst(strtolower($m[0])), (string) $section) : 'Not Assigned'; ?>
Student Grade Decision Required Action Status Eligibility Withdraw
School ID:
' . esc($alreadyEnrolledMessage((string) ($student['enrollment_status'] ?? ''))) . ''; } elseif (($evaluation['can_enroll'] ?? false) === true || ($evaluation['parent_enrollment_allowed'] ?? false) === true) { echo 'Eligible'; } elseif (! empty($evaluation['primary_parent_message'])) { echo '' . esc($evaluation['primary_parent_message']) . ''; } elseif (! empty($student['enrollment_eligibility_message']['message'])) { echo '' . esc($student['enrollment_eligibility_message']['message']) . ''; } else { echo 'Not eligible'; } ?>
>
Withdrawn Unavailable
0): ?>

No students found for the selected school year. Please register your kids first.

endSection() ?> section('scripts') ?> endSection() ?>