apply the school year concept
Tests / PHPUnit (push) Failing after 1m19s

This commit is contained in:
root
2026-07-14 00:59:00 -04:00
parent 504c3bc9f9
commit feb1b29a32
73 changed files with 4288 additions and 620 deletions
@@ -3,7 +3,12 @@
<div class="container mt-4">
<div class="d-flex justify-content-between align-items-center mb-3">
<h3 class="mb-0">Competition Winners</h3>
<div>
<h3 class="mb-0">Competition Winners</h3>
<?php if (!empty($schoolYear)): ?>
<div class="text-muted small">School Year: <?= esc($schoolYear) ?></div>
<?php endif; ?>
</div>
<a class="btn btn-primary" href="/admin/competition-winners/create">+ New Competition</a>
</div>
@@ -19,6 +24,7 @@
<tr>
<th>ID</th>
<th>Title</th>
<th>School Year</th>
<th>Class Section</th>
<th>Winners Rule</th>
<th>Published</th>
@@ -36,6 +42,7 @@
<tr>
<td><?= esc($c['id']) ?></td>
<td><?= esc($c['title']) ?></td>
<td><?= esc($c['school_year'] ?? '') ?></td>
<td><?= esc($sectionName) ?></td>
<td>Tiered per class</td>
<td><?= $c['is_published'] ? 'Yes' : 'No' ?></td>