@extends('layouts.admin') @section('title','Academic years list') @section('content')

Academic years 0

{{-- @canany(['role.create']) --}} {{-- @endcan --}}
{{-- @canany(['role.edit']) --}} {{-- @endcan --}} @forelse ($academicYears as $key=>$year) {{-- @canany(['role.edit']) --}} {{-- @endcan --}} @empty @endforelse
id Year Current Apply for registrationactions
{{ ++$key }} {{ $year->year }} @if ($year->is_current) Yes @else No @endif @if ($year->available_for_registration) Available @else Not Available @endif Actions
{{-- empty table --}}

There is no data!

{{ $academicYears->appends(Request::except('page'))->render('components._pagination') }}

Showing {{$academicYears->count()}} of {{ $academicYears->total() }} record(s).

@endsection