fix is_active student flag and apply it in all pages
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 48s
Tests / PHPUnit (push) Successful in 1m17s

This commit is contained in:
root
2026-08-20 12:59:59 -04:00
parent 0a31aa1393
commit bfa343b69f
57 changed files with 820 additions and 240 deletions
+4 -1
View File
@@ -77,7 +77,10 @@
<?php foreach ($records as $r): ?>
<tr>
<td><code><?= esc($r['certificate_number']) ?></code></td>
<td><?= esc($r['student_name']) ?></td>
<td>
<?= esc($r['student_name']) ?>
<?= student_enrollment_status_button($r, $schoolYear ?? null) ?>
</td>
<td><?= esc($r['grade'] ?? '—') ?></td>
<td><?= $r['cert_date'] ? esc(date('m/d/Y', strtotime($r['cert_date']))) : '—' ?></td>
<td><?= esc($r['school_year'] ?? '—') ?></td>
+5 -2
View File
@@ -245,7 +245,10 @@ $decisionBadge = [
<?= $isPass ? '' : 'disabled' ?>>
</td>
<td><?= esc($s['firstname']) ?></td>
<td>
<?= esc($s['firstname']) ?>
<?= student_enrollment_status_button($s, $schoolYear ?? null) ?>
</td>
<td><?= esc($s['lastname']) ?></td>
<td class="text-center fw-semibold">
@@ -624,4 +627,4 @@ window.showCertificatePdf=function(url,fn){
});
})();
</script>
<?= $this->endSection() ?>
<?= $this->endSection() ?>