@endif
@foreach ($variable->imgs as $img)
@endforeach
{!! $variable->nombre_definido !!}
@if ($variable->nota != NULL)
@endif
|
@switch($variable->id_tipo_variable)
@case(1)
| Imagen |
Nombre |
@if($variable->evaluacion && $variable->evaluacion->evaluacionimg)
@foreach ($variable->evaluacion->evaluacionimg as $img)
|
|
{{$img['name_file']}} |
@endforeach
@endif
@break
@case(2)
precision; $i++)
@php $precision .= "0"; @endphp
@endfor
step="0.{{$precision}}1">
@break
@case(3)
precision; $i++)
@php $precision .= "0"; @endphp
@endfor
step="0.{{$precision}}1">
@break
@case(4)
@break
@case(5)
| Imagen |
Nombre |
@if($variable->evaluacion && $variable->evaluacion->evaluacionimg)
@foreach ($variable->evaluacion->evaluacionimg as $img)
|
|
{{$img['name_file']}} |
@endforeach
@endif
@break
@case(6)
@break
@case(7)
@break
@case(8)
@php
$cadena ="";
if(!empty($variable->resultado_variable)){
$cadena .= $variable->resultado_variable;
}else{
$cadena .= $variable->tabla;
}
@endphp
@break
@case(9)
{{$variable->tabla}}
@break
@endswitch
@if ($variable->equipo)
Utiliza equipo*
Para conocer el equipo utilizado, consulta el capítulo 0.
@endif
|
@php
$evaluacionSeleccionada = '';
if (!empty($variable->evaluacion_guardada)) {
$evaluacionSeleccionada = trim($variable->evaluacion_guardada);
}
if ($evaluacionSeleccionada === '' && !empty($variable->evaluacion_default)) {
$evaluacionSeleccionada = trim($variable->evaluacion_default);
}
if ($evaluacionSeleccionada != '') {
switch ($evaluacionSeleccionada) {
case 'NA':
$evaluacionSeleccionada = 'NO APLICA';
break;
case '*':
$evaluacionSeleccionada = '(*) VEASE OBSERVACIONES AL FINAL DEL INFORME';
break;
case 'NC':
$evaluacionSeleccionada = 'NO CUMPLE';
break;
case 'C':
$evaluacionSeleccionada = 'CUMPLE';
break;
case 'X: La prueba no se puede realizar':
$evaluacionSeleccionada = 'X';
break;
}
}
@endphp
|
@php
$j++;
@endphp
@if ($j != ($inciso->variables->count() + 1))
@endif
@endforeach
@endif
@endforeach