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

My Dashboard

{{ $bookingsCount ?? 0 }}

Total Bookings

{{ $completedBookings ?? 0 }}

Completed

{{ $upcomingBookings ?? 0 }}

Upcoming

₦{{ number_format($totalSpent ?? 0, 2) }}

Total Spent

Recent Bookings
@if(isset($recentBookings) && count($recentBookings) > 0)
@foreach($recentBookings as $booking) @endforeach
Booking # Therapist Date Amount Status Payment
{{ $booking->booking_number }} {{ $booking->provider->user->name ?? 'N/A' }} {{ date('M d, Y', strtotime($booking->booking_date)) }} ₦{{ number_format($booking->total_amount, 2) }} {{ ucfirst($booking->status) }} {{ ucfirst($booking->payment_status) }}
@else

No bookings yet. Book a session now!

@endif
@endsection