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

{{ $totalStudents }}

Activos

{{ $activeStudents }}

Inactivos

{{ $inactiveStudents }}

Lista de Estudiantes

Administra los estudiantes del sistema

@can('create students') Nuevo Estudiante @endcan @can('export students') @endcan @can('import students') Importar @endcan
@forelse($students as $student) @empty @endforelse
Código @if($sortBy === 'codigo') @endif Estudiante @if($sortBy === 'nombres') @endif Grado/Sección @if($sortBy === 'grado') @endif Nivel Educativo Edad Contacto Estado Acciones
{{ $student->codigo }}
@if($student->foto) Foto @else
{{ substr($student->nombres, 0, 1) }}
@endif
{{ $student->nombres }} {{ $student->apellidos }}
{{ $student->documento_identidad }}
{{ $student->grado }} - {{ $student->seccion }}
{{ $student->fecha_nacimiento?->format('d/m/Y') }} ({{ $student->edad_con_meses }})
@if($student->nivelEducativo)
{{ $student->nivelEducativo->nombre }}
@else No asignado @endif @if($student->turno) {{ $student->turno->nombre }} @endif @if($student->schoolPeriod) {{ $student->schoolPeriod->nombre }} @endif
@if($student->fecha_nacimiento) {{ $student->edad }} años @else N/A @endif @if($student->esMenorDeEdad) @if($student->representante_nombres)
{{ $student->representante_nombres }} {{ $student->representante_apellidos }}
@if($student->representante_telefonos) @if(is_array($student->representante_telefonos)) {{ implode(', ', $student->representante_telefonos) }} @else {{ $student->representante_telefonos }} @endif @endif @if($student->representante_correo) {{ $student->representante_correo }} @endif @else Sin representante @endif @else @if($student->correo_electronico)
{{ $student->correo_electronico }}
@else Sin correo @endif @endif
status ? 'checked' : '' }} @can('edit students') wire:click="toggleStatus({{ $student->id }})" @endcan>
No se encontraron estudiantes
@if($showQrModal && $selectedStudent) @endif