@include('partials.theme-styles')
Número de control: {{ $alumno->numero_control }}
Portal de Alumnos - ICAT| Curso | Clave | Inicia | Termina | Unidad | Estatus | Diploma | Encuesta | Acciones |
|---|---|---|---|---|---|---|---|---|
| {{ $curso->curso_nombre }} | {{ $curso->clave_registro }} | {{ $curso->fecha_inicia }} | {{ $curso->fecha_termina }} | {{ $curso->nombre_corto }} | @if($curso->acreditado == 'SI') Acreditado @elseif($curso->acreditado == 'DESERCIÓN' || $curso->acreditado == 'DESERCION') Deserción @elseif($curso->acreditado == 'NO') No Acreditado @elseif(empty($curso->acreditado) || is_null($curso->acreditado)) Pendiente @endif {{-- @if($curso->status) {{ $curso->status }} @endif --}} | {{ $curso->folio_diploma ?? 'Sin folio' }} | @php $noEncuesta = ($curso->acreditado == 'DESERCIÓN' || $curso->acreditado == 'DESERCION' || $curso->acreditado == 'NO') || empty($curso->acreditado); @endphp @if($encuestaRespondida) Completada @elseif($noEncuesta) Sin Encuesta @else Pendiente @endif | @php $puedeResponderEncuesta = !$encuestaRespondida && !$noEncuesta; // Tipo 4 (Evaluación): el botón solo aparece cuando el aula ya está en estatus E o posterior if ($curso->curso_tipo == 4) { $puedeResponderEncuesta = $puedeResponderEncuesta && in_array($curso->estatus, ['E', 'F', 'G', 'Z']); } @endphp @if($puedeResponderEncuesta) Responder Encuesta @elseif($noEncuesta) Sin Encuesta @elseif($curso->curso_tipo == 4 && !$encuestaRespondida) {{-- Tipo 4: encuesta pendiente pero el aula aún no está en estatus E --}} En proceso @else @endif |