@extends('layouts.admin') @section('title', 'Dashboard') @section('content')

Total Packages

{{ $stats['total_packages'] ?? 0 }}

Active Packages

{{ $stats['active_packages'] ?? 0 }}

Total Bookings

{{ $stats['total_bookings'] ?? 0 }}

Pending Bookings

{{ $stats['pending_bookings'] ?? 0 }}

Total Revenue

${{ number_format($stats['total_revenue'] ?? 0, 0) }}

Pending Offline

{{ $stats['pending_offline_payments'] ?? 0 }}

Bookings by Status

Revenue Overview

Revenue trend chart will be added here

(We can add monthly breakdown next)

Popular Packages

View all
@forelse($popularPackages ?? [] as $package)

{{ $package->title }}

{{ $package->bookings_count }} bookings

${{ number_format($package->price, 0) }}
@empty

No popular packages yet.

@endforelse

Recent Bookings

View all →
@forelse ($recentBookings ?? [] as $booking)

{{ $booking->package->title }}

{{ $booking->user->name }} • {{ $booking->created_at->format('M d, H:i') }}

{{ ucfirst($booking->status) }}
@empty
No recent bookings
@endforelse

Quick Actions

@push('scripts') @endpush @endsection