@extends('layout.layout') @section('content') @include('components.alert') @php $totalAbsentTeachers = $absentTeachers->count(); $totalAbsenceCases = $absentTeachers->sum('total_absences'); $averagePerTeacher = $totalAbsentTeachers > 0 ? number_format($absentTeachers->avg('total_absences'), 2) : 0; @endphp
Pick a day to inspect teacher absences and the sessions affected on that date.
Results for {{ \Carbon\Carbon::parse($absenceDate)->format('Y-m-d') }}.