@extends('admin.layouts.app') @section('title', 'Dashboard') @section('breadcrumb') @endsection @section('content')
{{ number_format($stats['total_students']) }}
Active Students
{{ number_format($stats['total_employees']) }}
Employees
{{ number_format($stats['pending_applications']) }}
Pending Applications
₹{{ number_format($stats['fees_collected_month'] / 1000, 1) }}K
Fees This Month
₹{{ number_format($stats['fees_pending']) }} pending
Monthly Fee Collection Last 6 months
Today's Attendance
@if($todayAttendance && $todayAttendance->total > 0)
{{ $todayAttendance->present }}
Present
{{ $todayAttendance->absent }}
Absent
{{ $todayAttendance->late }}
Late
@else

No attendance marked today

Mark Now
@endif
Recent Applications View All
@foreach($recentApplications as $app) @endforeach
App No. Student Class Status
{{ $app->application_no }}
{{ $app->student_name }}
{{ $app->mobile_no }}
{{ $app->class->name ?? '—' }} {{ ucfirst(str_replace('_', ' ', $app->status)) }} View
Students by Class
@foreach($classDistribution as $row)
{{ $row->class_name }} {{ $row->count }}
@endforeach
@endsection @push('scripts') @endpush