getUri()->getPath(), '/'); $hiddenOnPaths = [ 'administrator/emergency_contact', 'flags/flags_management', 'administrator/calendar_view', 'administrator/student_class_assignment', 'administrator/sections/auto-distribute', 'admin/enrollment/new-students', 'payment/unpaid-parents', 'expenses/index', 'reimbursements/index', ]; ?> getUri()->getQuery(); $returnTo = current_url() . ($query !== '' ? '?' . $query : ''); $activeSchoolYearId = null; foreach ($schoolYearOptions as $year) { if (strtolower((string) ($year['status'] ?? '')) === 'active') { $activeSchoolYearId = (int) ($year['id'] ?? 0); break; } } ?>
isReadonly()): ?> READ-ONLY ACTIVE yearName()) ?>
isExplicitSelection() && $activeSchoolYearId !== null): ?>