@extends('layouts.Administracion') @section('title', 'Gestión de Grados Académicos') @section('content')
| Estudiante | Identificación | P1 | P2 | P3 | P4 | Definitiva | Acciones |
|---|---|---|---|---|---|---|---|
|
{{ $estudiante->user->name ?? 'Estudiante no encontrado' }}
{{ $enrollment->ano_lectivo }}
|
{{ $enrollment->documento_estudiante }} | {{ $nota->nota_per1 ?? '0.00' }} | {{ $nota->nota_per2 ?? '0.00' }} | {{ $nota->nota_per3 ?? '0.00' }} | {{ $nota->nota_per4 ?? '0.00' }} | @php $defVal = (float)($nota->nota_definitiva ?? 0); $rawPeriods = [$nota->nota_per1 ?? 0, $nota->nota_per2 ?? 0, $nota->nota_per3 ?? 0, $nota->nota_per4 ?? 0]; $validPeriods = array_filter($rawPeriods, fn($n) => is_numeric($n) && (float)$n > 0); @endphp @if(count($validPeriods) >= 3 || $defVal > 0) {{ number_format($defVal, 1) }} @else Pnd. @endif |
@php
$isHistorical = ($enrollment->ano_lectivo != $currentAnho);
$canCalificar = !$isHistorical || auth()->user()->hasRol('SUPERADMIN');
@endphp
@if(request('asignatura_id') && $estudiante)
@if($canCalificar)
{{ $isHistorical ? 'Rectificar' : 'Calificar' }}
@else
Histórico
@endif
@else
Ajuste filtros
@endif
{{-- Botón Certificado por id_matricula --}}
Cert.
|
|
No se encontraron registros históricos para los criterios seleccionados.
|
|||||||
| # | Nombre | Bloque | Curso | Sede | Director | Estado | Acciones | |
|---|---|---|---|---|---|---|---|---|
| {{ ($grados->currentPage() - 1) * $grados->perPage() + $loop->iteration }} | {{ $grado->nombre_grado }} | {{ $grado->bloque }} | {{ $grado->curso->nombre_curso ?? 'N/A' }} | {{ $grado->sede->nombre_sede ?? 'N/A' }} | {{ $grado->docente->user->name ?? 'N/A' }} | {{ $grado->estado_grado_academico ? 'Activo' : 'Inactivo' }} | @if(auth()->user()->hasRol('SUPERADMIN')) @endif | |
|
No hay grados académicos registrados.
Crear el primer grado
|
||||||||