@include('exports/header')

{{ $title }}

{{ $date }}

ALUMNO: {{ $student }}


@foreach ($rows as $indexRows => $row) @if (count($row['courses']) == 0) @continue; @endif

SEMESTRE: {{ $row['name'] }}

PPS: {{ $row['semester_average'] }} PPA: {{ $row['accumulated_average'] }}

@foreach ($columns as $key => $column) @endforeach @php $row['courses'] = array_map(function ($row) use ($columns) { $row = array_intersect_key($row, $columns); return array_merge($columns, $row); }, $row['courses']->toArray()); @endphp @foreach ($row['courses'] as $index => $course) @foreach ($course as $key => $value) @endforeach @endforeach
{{ $column }}
{{ $key == 'id' ? $index + 1 : $value ?? 'SIN DATOS' }}

NRO. DE CURSOS: {{ count($row['courses']) }}


@if ($indexRows % 2 != 0)
@endif @endforeach