@extends('adminlte::page') @section('title', 'Dashboard') @section('content_header')

Dashboard

@stop @section('content') {{-- ✅ Top Summary Cards --}}
{{-- ✅ Second Row of Summary Cards --}}
{{-- ✅ Charts Section --}}
Event Type Distribution
Upcoming Events
@forelse ($upcomingEvents as $event)
{{ $event->title }}
{{ \Carbon\Carbon::parse($event->start_date)->format('M d, Y') }} - {{ \Carbon\Carbon::parse($event->end_date)->format('M d, Y') }} | {{ ucfirst($event->type) }}
@empty

No upcoming events.

@endforelse
{{-- ✅ Recent Students & Calendar --}}
Recent Student Registrations
@forelse ($recentStudents as $student) @empty @endforelse
Name Gender Registered
{{ $student->name ?? 'N/A' }} {{ ucfirst($student->gender ?? 'N/A') }} {{ \Carbon\Carbon::parse($student->created_at)->format('M d, Y') }}
No recent registrations.
Event Calendar
@stop @section('footer') @stop @section('css') @stop @section('js') @stop