@extends('layouts.app') @section('title', 'Academic Years') @section('page-title', 'Academic Years') @section('page-description') Manage academic years, active periods and the current academic session. @endsection @section('content') {{-- ============================================================ Toolbar ============================================================ --}} {{-- ============================================================ Toolbar ============================================================ --}}
{{ $academicYears->total() }} {{ Str::plural('academic year', $academicYears->total()) }} found
| Academic Year | Start Date | End Date | Duration | Current | Status | Actions | |
|---|---|---|---|---|---|---|---|
| {{-- Academic Year --}} |
{{ $academicYear->name }} Academic session |
{{-- Start Date --}}
{{ $academicYear->start_date->format('d M Y') }} | {{-- End Date --}}{{ $academicYear->end_date->format('d M Y') }} | {{-- Duration --}}{{ $academicYear->start_date->diffInDays($academicYear->end_date) + 1 }} days | {{-- Current --}}@if ($academicYear->is_current) Current @else — @endif | {{-- Status --}}@if ($academicYear->is_active) Active @else Inactive @endif | {{-- Actions --}}|
No academic years found@if (request()->hasAny(['search', 'status', 'current'])) No records match your current search or filters. @else Create your first academic year to begin organizing school records. @endif
@if (request()->hasAny(['search', 'status', 'current']))
Clear Filters
@else
New Academic Year
@endif
|
|||||||
Showing {{ $academicYears->firstItem() }} to {{ $academicYears->lastItem() }} of {{ $academicYears->total() }} results