@extends('layouts.admin') @section('title','Dashboard') @section('page-title','Dashboard') @section('content')
Total Bookings
{{ $stats['total_bookings'] }}
All time
Today's Bookings
{{ $stats['today_bookings'] }}
{{ now()->format('M j') }}
Pending
{{ $stats['pending_bookings'] }}
Awaiting confirmation
Total Clients
{{ $stats['total_clients'] }}
Registered
Active Staff
{{ $stats['total_staff'] }}
Team members
Total Revenue
₵{{ number_format($stats['total_revenue'],2) }}
All confirmed payments
This Month
₵{{ number_format($stats['month_revenue'],2) }}
{{ now()->format('M Y') }}
Recent BookingsView all
@foreach($recentBookings as $b) @endforeach
RefClientServiceDateStatus
{{ $b->reference_code }} {{ $b->client_name }} {{ $b->service_name }} {{ \Carbon\Carbon::parse($b->appointment_date)->format('M j') }} {{ ucfirst($b->status) }}
Popular Services
@foreach($popularServices as $s)
{{ $s->name }} {{ $s->bookings_count }} bookings
@endforeach
Revenue — Last 6 Months
@foreach($revenueData as $r) @endforeach
MonthBookingsRevenue
{{ $r['month'] }} {{ $r['bookings'] }} ₵{{ number_format($r['revenue'],2) }}
@endsection