@extends('admin.layouts.app') @section('title', 'Dashboard') @section('breadcrumb') @endsection @section('content')
{{ number_format($stats['complete_applications']) }}
Complete Applications
00
Employees
{{ number_format($stats['pending_applications']) }}
Pending Applications
₹{{ number_format($stats['total_student_applications_payment'], 1) }}K
Total Application Fees
{{--
₹3000 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->form_number ?? '--' }}
{{ $app->applicant_name }}
{{ $app->contact_no }}
{{ $app->course . ' ' . ($app->subject ?? '—') }} @php $statuses = [ 'step1_complete' => ['primary', 'Step 1 Completed'], 'payment_completed' => ['info', 'Payment Completed'], 'submitted' => ['warning', 'Document Submitted'], 'application_selected' => ['success', 'Shortlisted'], 'verified' => ['secondary', 'Admitted'], ]; [$badgeClass, $label] = $statuses[$app->status] ?? [ 'dark', ucfirst(str_replace('_', ' ', $app->status)), ]; @endphp {{ $label }} View
Students by Application
@foreach ($classDistribution as $row)
{{ $row->class_name }} {{ $row->count }}
@endforeach
@endsection @push('scripts') @endpush