fix is_new issue with enrollment fixes
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 48s
Tests / PHPUnit (push) Failing after 1m22s

This commit is contained in:
root
2026-08-20 19:57:25 -04:00
parent 127098b87c
commit 889c037660
29 changed files with 77306 additions and 293 deletions
+9 -11
View File
@@ -1,15 +1,13 @@
<?= $this->extend('layout/main_layout') ?>
<?= $this->section('content') ?>
<div class="container-fluid">
<div class="row">
<main class="col-md-9 ml-sm-auto col-lg-10 px-md-4">
<div class="alert alert-success mt-4">
<h4 class="alert-heading">Success!</h4>
<p>The student(s) has/have been successfully enrolled.</p>
<p>You will be redirected to the enroll page shortly...</p>
</div>
</main>
<?php $successMessage = session()->getFlashdata('success'); ?>
<div class="container my-4">
<div class="alert alert-success">
<h4 class="alert-heading">Success!</h4>
<p><?= esc($successMessage ?: 'The student(s) has/have been successfully enrolled.') ?></p>
<p class="mb-0">You will be redirected to the enroll page shortly...</p>
</div>
<a href="<?= base_url('/parent/enroll_classes') ?>" class="btn btn-success">Return to Enrollment</a>
</div>
<?= $this->endSection() ?>
@@ -17,6 +15,6 @@
<script>
setTimeout(function() {
window.location.href = "<?= base_url('/parent/enroll_classes'); ?>";
}, 5000); // 2500 milliseconds = 2.5 seconds
}, 5000);
</script>
<?= $this->endSection() ?>
<?= $this->endSection() ?>