Incidents Management
= $this->include('partials/academic_filter') ?>
getFlashdata('success')): ?>
= session()->getFlashdata('success'); ?>
set('flag_form_token', $token);
$incidentLabels = [
'payment' => 'Payment',
'attendance' => 'Attendance',
'grade' => 'Grade',
'behavior' => 'Behavior (General)',
'talking_off_task' => 'Talking/off-task',
'calling_out' => 'Calling out',
'minor_disruption' => 'Minor disruption',
'minor_dress_code' => 'Minor dress code',
'forgetting_materials' => 'Forgetting materials',
'repeated_defiance' => 'Repeated defiance',
'disrespectful_tone' => 'Disrespectful tone',
'minor_profanity' => 'Minor profanity',
'repeated_tardiness' => 'Repeated tardiness',
'device_misuse' => 'Device misuse',
'minor_conflict' => 'Minor conflict/horseplay',
'bullying_harassment' => 'Bullying/harassment',
'fighting_aggression' => 'Fighting/aggression',
'threats' => 'Threats',
'theft' => 'Theft',
'vandalism' => 'Vandalism',
'sexual_harassment' => 'Sexual harassment',
'serious_cyber_incident' => 'Serious cyber incident',
'contraband' => 'Contraband',
'weapons_drugs' => 'Weapons/drugs',
'other' => 'Other',
];
?>
Pending Incidents
| Last Updater |
Student Name |
Grade |
Incident Type |
Description |
Datetime |
Incident State |
Actions |
|
|
= esc($flag['student_name']) ?> |
= esc($flag['grade']) ?> |
= esc($incidentLabel) ?> |
|
= esc(!empty($flag['flag_datetime']) ? local_datetime($flag['flag_datetime'], 'm-d-Y H:i') : '') ?> |
= esc($flag['flag_state']) ?> |
|
| No incidents found. |
= $this->endSection() ?>
= $this->section('scripts') ?>
= $this->endSection() ?>