@extends('layouts.admin') @section('title', 'Dashboard') @section('page-title', 'Dashboard') @push('styles') @endpush @section('content')

👋 Welcome back, {{ auth()->user()->name ?? 'Admin' }}!

Here's what's happening on your platform today — {{ now()->format('D, d M Y') }}

Add Career Pending ({{ $stats['pending_bookings'] }})
{{ number_format($stats['total_students']) }}
Total Students
Growing
{{ number_format($stats['total_counselors']) }}
Counselors
Active
{{ number_format($stats['total_bookings']) }}
Total Bookings
{{ $stats['pending_bookings'] }} pending
{{ number_format($stats['revenue']/1000, 1) }}K
Revenue (PKR)
Paid sessions
{{ $stats['total_careers'] }}
Career Fields
{{ $stats['total_blogs'] }}
Blog Posts
{{ $stats['confirmed'] }}
Confirmed Bookings
Good conversion rate

Bookings by Status

Live

Monthly Bookings

Last 6 months trend

Student Registrations

Monthly new signups

Recent Bookings

View All
@forelse($recentBookings as $booking)
{{ substr($booking->user->name??'U',0,1) }}
{{ $booking->user->name ?? 'Student' }}
with {{ $booking->counselor->user->name ?? 'Counselor' }}
{{ ucfirst($booking->status) }}
{{ optional($booking->booking_date)->format('d M') ?? 'TBD' }}
@empty
No bookings yet
@endforelse

Recent Students

View All
@forelse($recentStudents as $student)
{{ substr($student->name,0,1) }}
{{ $student->name }}
{{ $student->email }}
{{ $student->created_at->diffForHumans() }}
@empty
No students yet
@endforelse
@endsection @push('scripts') @endpush