| {{ $loop->iteration }} |
{{ $est['nombre_completo'] }} |
@foreach ($instrumentos as $instr)
@php $score = $scores[$instr->id] ?? null; @endphp
@if ($instr->por_indicador)
{{ $score['indicador'] ?? '-' }} |
@else
@php
$puntos = $score['puntos'] ?? null;
$notaReal = ($puntos !== null && $instr->puntos > 0)
? number_format(($puntos / $instr->puntos) * 10, 2)
: '0.00';
$porcentaje = ($puntos !== null)
? number_format(($puntos / $instr->puntos) * $instr->porcentaje, 2)
: '0.00';
@endphp
{{ $puntos ?? '-' }} |
{{ $notaReal }} |
{{ $porcentaje }}% |
@endif
@endforeach
{{ $est['total_porcentaje'] ?? '0.00' }}% |
@endforeach