@extends('admin.layouts.app') @section('title', 'Booking #' . $booking->id) @section('page-title', 'Booking #' . $booking->id) @section('page-subtitle', $booking->customer_name . ' — ' . $booking->service_type) @section('content')

Booking Details

@php $fields = [ 'Customer Name' => $booking->customer_name, 'Email' => $booking->customer_email, 'Phone' => $booking->customer_phone, 'Service Type' => $booking->service_type, 'Preferred Date' => $booking->preferred_date ? \Carbon\Carbon::parse($booking->preferred_date)->format('M j, Y') : 'TBD', 'Preferred Time' => $booking->preferred_time ?? 'TBD', 'Vehicle Make' => $booking->vehicle_make ?? 'N/A', 'Vehicle Model' => $booking->vehicle_model ?? 'N/A', 'Vehicle Year' => $booking->vehicle_year ?? 'N/A', ]; @endphp @foreach($fields as $label => $value)

{{ $label }}

{{ $value }}

@endforeach
@if($booking->notes)

Notes

{{ $booking->notes }}

@endif

Update Status

{{ $booking->status }}
@csrf @method('PATCH')

Meta

Booked{{ \Carbon\Carbon::parse($booking->created_at)->format('M j, Y') }}
Updated{{ \Carbon\Carbon::parse($booking->updated_at)->format('M j, Y') }}
Back to Bookings
@endsection