@php $currentDateTime = \Carbon\Carbon::now()->format('Y-m-d H:i:s'); @endphp FALTAS POR MATERIAS
{{ config_intranet('full_name') }}
REPORTE DE FALTAS POR MATERIAS - {{ $name }}
Fecha de descarga: {{ $currentDateTime }}
@foreach ($data as $schoolSubject => $item) {{-- @dd($data) --}} @endforeach
Materia Docente Total de horas Total de faltas Cordinación Justificaciones
{{ $item->class }} {{ $item->teacher }} {{ $item->total_hours }} {{ $item->faults }} {{ $item->coordination }} {{ $item->justify ? 'SI' : 'NO' }}
{{-- @dd() --}}