@extends('layouts.admin') @section('title', 'Bookings - ' . $shop->name) @section('content')

Booking Management

Manage bookings for {{ $shop->name }}

Back to Shop
{{ $stats['total'] }}

Total

{{ $stats['pending'] }}

Pending

{{ $stats['confirmed'] }}

Confirmed

{{ $stats['completed'] }}

Completed

{{ $stats['today'] }}

Today

{{ $stats['upcoming'] }}

Upcoming

Search & Filters
Bookings ({{ $bookings->total() }})
@if($bookings->count() > 0)
@foreach($bookings as $booking) @endforeach
Reference Customer Service Date & Time Duration Amount Status Actions
{{ $booking->booking_reference }} @if($booking->invoice_number) {{ $booking->invoice_number }} @endif
{{ $booking->customer_name }} {{ $booking->customer_email }} {{ $booking->customer_phone }}
@if($booking->service) {{ $booking->service->name }} @if($booking->assigned_staff_name) Staff: {{ $booking->assigned_staff_name }} @endif @else Service not found @endif
{{ $booking->booking_date->format('M d, Y') }} {{ $booking->start_time }} - {{ $booking->end_time }}
{{ $booking->duration_minutes }}min
${{ number_format($booking->total_amount, 2) }} {{ ucfirst($booking->payment_status) }}
{{ ucfirst(str_replace('_', ' ', $booking->status)) }}
@else

No bookings found

Start managing your appointments by creating your first booking.

@endif
@if($bookings->hasPages())
{{ $bookings->withQueryString()->links() }}
@endif @endsection @section('scripts') @endsection