@extends('layouts.Administracion') @section('title', 'Gestión de Año Escolar') @section('content')
@forelse($anhoEscolars as $anho) @empty @endforelse
# Nombre Inicio Fin Estado Acciones
{{ ($anhoEscolars->currentPage() - 1) * $anhoEscolars->perPage() + $loop->iteration }} {{ $anho->nombre_anho_escolar }} {{ $anho->fecha_inicio_anho_escolar->format('d/m/Y') }} {{ $anho->fecha_fin_anho_escolar->format('d/m/Y') }} {{ $anho->estado_anho_escolar ? 'Activo' : 'Inactivo' }} @if(auth()->user()->hasRol('SUPERADMIN'))
@csrf @method('DELETE')
@endif
No hay años escolares registrados.
{{ $anhoEscolars->appends(request()->all())->links() }}
@endsection