@php
$brandNavy = '#00264B';
$brandBlue = '#1A4FD3';
$brandSky = '#4A84F7';
$brandOrange = '#E27227';
$brandGray = '#F3F6F9';
@endphp
Malla Curricular - {{ $programa->nombre }}
{{-- Portada corta --}}
Malla Curricular
Programa: {{ $programa->nombre }}
@if (optional($programa->info)->duracion)
Duración: {{ $programa->info->duracion }} ·
@endif
@if (optional($programa->info)->modalidad)
Modalidad: {{ $programa->info->modalidad }}
@endif
{{-- Semestres en grilla 2x --}}
@foreach ($semestres as $sem)
@php
$cursos = $sem->cursos ?? collect();
$tCred = $cursos->sum('creditos');
$tHoras = $cursos->sum('horas');
@endphp
{{ $sem->nombre }}
@if ($cursos->isNotEmpty())
{{ $tCred }} cr
{{ $tHoras }} h
@endif
@if ($cursos->isEmpty())
Sin cursos registrados.
@else
| Curso |
Carga |
@foreach ($cursos as $c)
| {{ $c->nombre }} |
{{ (int) ($c->creditos ?? 0) }} cr
{{ (int) ($c->horas ?? 0) }} h
|
@endforeach
@endif
@endforeach