Booking Request #{{ $bookingRequest->id }}

{{ $bookingRequest->status_label }}

Request Details

Request ID
#{{ $bookingRequest->id }}
Status
{{ $bookingRequest->status_label }}
Course Name
{{ $bookingRequest->course_name ?? 'N/A' }}
Course Location
{{ $bookingRequest->course_location ?? 'N/A' }}
Proposed Date
{{ $bookingRequest->proposed_date?->format('l, F j, Y') ?? 'N/A' }}
Proposed Time
{{ $bookingRequest->formatted_proposed_time ?? 'N/A' }}
Duration
{{ $bookingRequest->duration_minutes }} minutes ({{ $bookingRequest->duration_minutes / 60 }} hours)
Group Size
{{ $bookingRequest->group_size }} {{ Str::plural('person', $bookingRequest->group_size) }}
Created At
{{ $bookingRequest->created_at->format('M d, Y h:i A') }}
Last Updated
{{ $bookingRequest->updated_at->format('M d, Y h:i A') }}
@if($bookingRequest->message)
Client Message
{{ $bookingRequest->message }}
@endif

Pricing Details

Hourly Rate ${{ number_format($bookingRequest->price_per_hour, 2) }}/hr
Duration {{ $bookingRequest->duration_minutes }} minutes
Total Price ${{ number_format($bookingRequest->total_price, 2) }}

Timeline

  • Request Created

    {{ $bookingRequest->created_at->format('M d, Y h:i A') }}
  • @if($bookingRequest->accepted_at)
  • Request Accepted by Golfer

    {{ $bookingRequest->accepted_at->format('M d, Y h:i A') }}
  • @endif @if($bookingRequest->declined_at)
  • Request Declined

    @if($bookingRequest->decline_reason)

    Reason: {{ $bookingRequest->decline_reason }}

    @endif
    {{ $bookingRequest->declined_at->format('M d, Y h:i A') }}
  • @endif @if($bookingRequest->cancelled_at)
  • Request Cancelled

    @if($bookingRequest->cancel_reason)

    Reason: {{ $bookingRequest->cancel_reason }}

    @endif
    {{ $bookingRequest->cancelled_at->format('M d, Y h:i A') }}
  • @endif @if($bookingRequest->booking)
  • Booking Created

    Booking #{{ $bookingRequest->booking->id }}

    {{ $bookingRequest->booking->created_at->format('M d, Y h:i A') }}
  • @endif
{{-- @if($bookingRequest->conversation && $bookingRequest->conversation->messages->count() > 0)

Conversation ({{ $bookingRequest->conversation->messages->count() }} messages)

@foreach($bookingRequest->conversation->messages->take(10) as $message)
{{ $message->sender->name }} {{ $message->created_at->format('M d, h:i A') }}

{{ $message->content }}

@endforeach @if($bookingRequest->conversation->messages->count() > 10) @endif
@endif --}}

Client

@if($bookingRequest->client)
{{ substr($bookingRequest->client->name, 0, 1) }}
{{ $bookingRequest->client->name }}
{{ $bookingRequest->client->email }}
@if($bookingRequest->client->phone)
Phone: {{ $bookingRequest->client->phone }}
@endif View Client Profile @else

Client information not available

@endif

Golfer

@if($bookingRequest->golfer)
{{ substr($bookingRequest->golfer->name, 0, 1) }}
{{ $bookingRequest->golfer->name }}
{{ $bookingRequest->golfer->email }}
@if($bookingRequest->golferProfile)
Hourly Rate: ${{ number_format($bookingRequest->golferProfile->hourly_rate, 2) }}
@if($bookingRequest->golferProfile->home_location)
Location: {{ $bookingRequest->golferProfile->home_location }}
@endif @endif @else

Golfer information not available

@endif
@if($bookingRequest->booking)

Related Booking

Booking ID
#{{ $bookingRequest->booking->id }}
Status
{{ ucfirst($bookingRequest->booking->status) }}
Price
${{ number_format($bookingRequest->booking->price, 2) }}
@if($bookingRequest->booking->payment)
Payment Status
{{ ucfirst($bookingRequest->booking->payment->status) }}
@endif
View Booking Details @if($bookingRequest->booking->payment)
View Payment Details @endif
@endif

Quick Actions

{{-- @if($bookingRequest->conversation_id) View Conversation @endif --}} Back to List