@php $faviconPath = 'images/branding/logo-cefyt-dark.png'; $faviconVersion = file_exists(public_path($faviconPath)) ? filemtime(public_path($faviconPath)) : time(); $cssPath = 'css/app.css'; $cssVersion = file_exists(public_path($cssPath)) ? filemtime(public_path($cssPath)) : time(); @endphp Nómina de {{ $subject->name }} @php $career = $subject->career; $enrollments = $subject->enrollments->sortBy(fn ($enrollment) => $enrollment->student->full_name, SORT_NATURAL | SORT_FLAG_CASE); @endphp

Nómina de materia

{{ $subject->name }}

{{ $career->name }} · {{ $subject->year_number }}° año · {{ $subject->academic_year }}

Docente: {{ $subject->teacher?->name ?? 'A confirmar' }}

Fecha de impresión: {{ now()->format('d/m/Y H:i') }}

Total de alumnos: {{ $enrollments->count() }}

@foreach ($enrollments as $enrollment) @php $summary = \App\Http\Controllers\ConsultationController::attendanceSummary($enrollment); @endphp @endforeach
P = Presente AI = Ausente injustificado AJ = Ausente justificado