@extends('pdf.layout.certificates.certificate_layout') @section('content') @php($count_subjets_index = 0) @foreach ($periods as $period => $grades) @foreach ($grades as $index_grade => $grade) @php($count_subjets_index++) @if ($index_grade === 0) @endif @endforeach @if ($count_subjects === $count_subjets_index) @for ($i = 0; $i <= 50 -$count_subjects ; $i++) @endfor @endif @endforeach {{--
--}}
CLAVE NOMBRE DE LA ASIGNATURA CICLO EN QUE SE CURSÓ CALIFICACIÓN OBSERVACIONES
NÚMERO LETRA
{{ $period }}
{{ $grade->class->cve_subject }} {{ $grade->class->name }} {{ $grade->cycle->year }}-{{ $grade->cycle->sub_cycle }} {{ round($grade->grade, 2) }} {{ $grade->grade_text }} {{-- {{ $grade->description }} --}}
Promedio: {{ $average }}
{{ $i }}
@endsection