= $maxChilds; $disableEmergencyBtn = count($emergencies) >= $maxEmergency; ?> extend('layout/main_layout') ?> section('content') ?>

Student Registration

You've reached the maximum number of students ().
getFlashdata('error')): ?>
getFlashdata('error')) ?>
⚠ Please ensure that all of your students are enrolled.

Please complete their enrollment using the button below to ensure they are able to attend classes.

Enroll in Classes
Student Information
School ID First Name Last Name DOB Grade Medical Conditions Allergies Action
format('m-d-Y')) ?> 0 ? array_map('trim', explode(',', $kid['medical_conditions'])) : ['N/A']); // Escape each item, then join with real
(not escaped) echo implode('
', array_map('esc', $mc)); ?>
0 ? array_map('trim', explode(',', $kid['allergies'])) : ['N/A']); echo implode('
', array_map('esc', $al)); ?>
Emergency Contacts
First Name Last Name Phone Relation
= $lastDayOfRegistration); $disableAll = $disableStudentBtn || $disableDueToDate; ?>
attendance['timezone'] ?? user_timezone())); $now = new DateTime('now', $tz); $closeAt = new DateTime($lastDayOfRegistration . ' 00:00:00', $tz); // Closed at the start of the close date $disableDueToDate = ($now >= $closeAt); // Last usable calendar day (date - 1) $lastDayFmt = (clone $closeAt)->modify('-1 day')->format('m-d-Y'); // Also prepare a precise closing moment string $closeAtFmt24 = $closeAt->format('m-d-Y H:i T'); // e.g., 10-01-2025 00:00 EDT $closeAtFmt12 = $closeAt->format('m-d-Y g:i A T'); // e.g., 10-01-2025 12:00 AM EDT ?> endSection() ?> section('scripts') ?> endSection() ?>