@if(session()->has('error')) @endif @if(session()->has('success')) @endif @if(session()->has('message')) @endif

Histórico de Matrículas

Historial de matrículas por estudiante

Filtros
@if(count($matriculas) > 0)

Total Matrículas

{{ $estadisticas['total'] }}

Niveles

{{ $estadisticas['por_nivel']->count() }}

Programas

{{ $estadisticas['por_programa']->count() }}

Períodos

{{ $estadisticas['por_periodo']->count() }}

Estadísticas
Por Estado
@foreach($estadisticas['por_estado'] as $estado => $cantidad) @endforeach
Estado Cantidad Porcentaje
@if($estado == 'activo') Activo @elseif($estado == 'inactivo') Inactivo @else {{ ucfirst($estado) }} @endif {{ $cantidad }} {{ number_format(($cantidad / ($estadisticas['total'] > 0 ? $estadisticas['total'] : 1)) * 100, 2) }}%
Por Nivel Educativo
@foreach($estadisticas['por_nivel'] as $nivel => $cantidad) @endforeach
Nivel Cantidad Porcentaje
{{ $nivel }} {{ $cantidad }} {{ number_format(($cantidad / ($estadisticas['total'] > 0 ? $estadisticas['total'] : 1)) * 100, 2) }}%
Detalle de Matrículas
@foreach($matriculas as $matricula) @endforeach
Fecha Estudiante Documento Programa Nivel Período Estado Costo
{{ format_date($matricula->fecha_matricula) ?? 'N/A' }}
{{ $matricula->student->nombres ?? '' }} {{ $matricula->student->apellidos ?? '' }}
{{ $matricula->student->documento_identidad ?? '' }}
{{ $matricula->student->documento_identidad ?? '' }} {{ $matricula->programa->nombre ?? '' }} {{ $matricula->programa->nivelEducativo->nombre ?? '' }} {{ $matricula->periodo->nombre ?? '' }} @if($matricula->estado == 'activo') Activo @elseif($matricula->estado == 'inactivo') Inactivo @else {{ ucfirst($matricula->estado) }} @endif @money($matricula->costo)
@else
No hay datos para mostrar

No se encontraron matrículas con los filtros aplicados

@endif