fix is_new issue with enrollment fixes
This commit is contained in:
@@ -38,9 +38,9 @@
|
||||
<th>Registration Date</th>
|
||||
<th>Parent/Guardian</th>
|
||||
<th>Student Name</th>
|
||||
<th>School ID</th>
|
||||
<th>Age</th>
|
||||
<th>New Student</th>
|
||||
<th>Removed (Prior Years)</th>
|
||||
<th>Current Class</th>
|
||||
<th>Actual Status</th>
|
||||
<th>Update Enrollment Status</th>
|
||||
@@ -79,6 +79,11 @@
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
|
||||
<!-- School ID -->
|
||||
<td>
|
||||
<?= esc($student['school_id'] ?? '-') ?>
|
||||
</td>
|
||||
|
||||
<!-- Age -->
|
||||
<td class="text-center">
|
||||
<?= isset($student['age']) && $student['age'] !== '' && $student['age'] !== null ? esc((string)(int)$student['age']) : '-' ?>
|
||||
@@ -95,15 +100,6 @@
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
|
||||
<!-- Removed Previous Year -->
|
||||
<td>
|
||||
<?php if (($student['removed_previous_year'] ?? 'No') === 'Yes'): ?>
|
||||
<span class="badge bg-danger text-light">Yes</span>
|
||||
<?php else: ?>
|
||||
<span class="badge bg-secondary">No</span>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
|
||||
<!-- Class -->
|
||||
<td><?= esc($student['class_section'] ?? 'Class not Assigned') ?></td>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user