@extends('layouts.main') @section('content')
Doctor Bookings
@forelse($upcoming as $booking) @empty @endforelse
Patient Date Time Status
{{ $booking->patient->first_name ?? 'N/A' }} {{ $booking->appointment_date ? \Carbon\Carbon::parse($booking->appointment_date)->format('d M Y') : '-' }} {{ $booking->start_time ? \Carbon\Carbon::parse($booking->start_time)->format('h:i A') : '-' }} Upcoming
No upcoming bookings
@forelse($completed as $booking) @empty @endforelse
Patient Date Time Status
{{ $booking->patient->first_name ?? 'N/A' }} {{ $booking->appointment_date ? \Carbon\Carbon::parse($booking->appointment_date)->format('d M Y') : '-' }} {{ $booking->start_time ? \Carbon\Carbon::parse($booking->start_time)->format('h:i A') : '-' }} Completed
No completed bookings
@forelse($cancelled as $booking) @empty @endforelse
Patient Date Time Status
{{ $booking->patient->first_name ?? 'N/A' }} {{ $booking->appointment_date ? \Carbon\Carbon::parse($booking->appointment_date)->format('d M Y') : '-' }} {{ $booking->start_time ? \Carbon\Carbon::parse($booking->start_time)->format('h:i A') : '-' }} Cancelled
No cancelled bookings
@endsection