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

Dashboard

Completed Bookings

{{ $totalBookings ?? 0 }}

{{ $monthName }} Bookings

{{ $thisMonthBookings }}

This Month Earning

{{ number_format($thisMonthEarning) }} AED

{{ $monthName }} Cash Out

{{ number_format($cashOut, 2) ?? 0 }} AED

{{-- ✅ New Row for Pending + Cancelled --}} {{--

This Month Pending

{{ $thisMonthPending }}

This Month Cancelled

{{ $thisMonthCancelled }}

--}}
Service Seekers
View All
@forelse($serviceSeekers as $seeker)
{{ $seeker->name }}
{{ number_format($seeker->average_rating,1) }}
@empty

No seekers found

@endforelse
Service Providers
View All
@forelse($serviceProviders as $provider)
{{ $provider->name }}
{{ number_format($provider->average_rating,1) }}
@empty

No providers found

@endforelse
Available Services
View All
@forelse($services as $service) @empty @endforelse
Name Price Action
{{ $service->name }} {{ $service->price }}
status ? 'checked' : '' }}>
No services found
Recent Reviews
View All
@forelse($recentReviews as $review) @empty @endforelse
Username Reviews
{{ $review->user->name }}

{{ $review->review }}

No reviews found
Recent Bookings
{{-- --}} View All
@forelse($physicalBookings as $booking) @empty @endforelse
Booking ID / Date & Time Service Status
#{{ $booking->id }}
{{ $booking->booking_date }} {{ $booking->start_time }}
{{ $booking->provider_service?->services?->name ?? 'N/A' }} {{ ucfirst($booking->status) }}
No Physical Bookings Found
@forelse($onlineBookings as $booking) @empty @endforelse
Booking ID / Date & Time Service Status
#{{ $booking->id }}
{{ $booking->booking_date }} {{ $booking->start_time }}
{{ $booking->provider_service?->services?->name ?? 'N/A' }} {{ ucfirst($booking->status) }}
No Online Bookings Found
@endsection @push('body-scripts') {{-- Old charts code kept for length --}} {{-- --}} @endpush