fix is_active student flag and apply it in all pages
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
$sid = (int)($s['id'] ?? $s['student_id'] ?? 0);
|
||||
$label = esc(($s['firstname'] ?? '') . ' ' . ($s['lastname'] ?? ''));
|
||||
if ($sid > 0) {
|
||||
return '<a href="#" class="text-decoration-none" data-family-student-id="' . $sid . '">' . $label . '</a>';
|
||||
return '<a href="#" class="text-decoration-none" data-family-student-id="' . $sid . '">' . $label . '</a>' . student_enrollment_status_button(['student_id' => $sid]);
|
||||
}
|
||||
return $label;
|
||||
}, $group['students']);
|
||||
|
||||
Reference in New Issue
Block a user