@extends('layouts.admin') @section('page-title', 'Financial Sessions') @section('page-subtitle', 'Manage financial years and active session') @section('content')

Financial Sessions

Overview of all financial sessions and control of which one is active.

+ Create Session
Total sessions: {{ $sessions->count() }}
Only one session should be marked as Active.
@forelse($sessions as $s) @empty @endforelse
Session Start End Status Action
{{ $s->name }} {{ $s->start_date->format('d M Y') }} {{ $s->end_date->format('d M Y') }} @if($s->is_active) Active @else Inactive @endif @if(!$s->is_active)
@csrf
@else Current active @endif
No sessions created yet. Click “Create Session” to add your first financial year.
@endsection