Back to Bookings

Booking Request Details

{{ $bookingRequest->formatted_proposed_date }} at {{ $bookingRequest->formatted_proposed_time }}

{{ $bookingRequest->status_label }}

Booking Details

Course Name
{{ $bookingRequest->course_name }}
Location
{{ $bookingRequest->course_location }}
Date
{{ $bookingRequest->formatted_proposed_date }}
Time
{{ $bookingRequest->formatted_proposed_time }}
Group Size
{{ $bookingRequest->group_size }} {{ $bookingRequest->group_size === 1 ? 'Player' : 'Players' }}
Duration
{{ $bookingRequest->duration_minutes / 60 }} {{ $bookingRequest->duration_minutes === 60 ? 'Hour' : 'Hours' }}
@if($bookingRequest->message)
Special Requests
{{ $bookingRequest->message }}
@endif

Participants

{{ substr($bookingRequest->client->name, 0, 1) }}

{{ $bookingRequest->client->name }}

Client

@if($bookingRequest->golferProfile && $bookingRequest->golferProfile->getFirstMediaUrl('photos')) {{ $bookingRequest->golfer->name }} @else
{{ substr($bookingRequest->golfer->name, 0, 1) }}
@endif

{{ $bookingRequest->golfer->name }}

Golfer

@if(auth()->user()->role === 'client') View Profile @endif
@if($bookingRequest->decline_reason || $bookingRequest->cancel_reason)

{{ $bookingRequest->isDeclined() ? 'Decline Reason' : 'Cancellation Reason' }}

{{ $bookingRequest->decline_reason ?? $bookingRequest->cancel_reason }}

@endif @if(auth()->user()->role === 'golfer' && $bookingRequest->isPending())

Response Required

@if(!$bookingRequest->isPaid())

Awaiting Payment

The client has not completed payment yet. You can only accept this booking after they have paid.

@else

Payment Received

The client has completed payment. You can now accept or decline this booking.

@endif
@csrf

Decline Booking Request

@csrf
@endif @if(auth()->user()->role === 'client' && $bookingRequest->canBeCancelled() && !($bookingRequest->booking && $bookingRequest->booking->isCompleted()))

Cancel Booking

If you need to cancel this booking request, please provide a reason.

Cancel Booking Request

@csrf
@endif @if(auth()->user()->role === 'client' && $bookingRequest->isAccepted() && $bookingRequest->booking) @php $booking = $bookingRequest->booking; $bookingDateTime = \Carbon\Carbon::parse($booking->final_date->format('Y-m-d') . ' ' . $booking->final_time->format('H:i')); $sessionEnded = $bookingDateTime->isPast(); $isCompleted = $booking->isCompleted(); $hasReviewed = $isCompleted && $booking->hasReviewFromUser(auth()->id()); @endphp @if($isCompleted)

Session Completed

This booking has been marked as complete. Thank you for using The Fairway Social!

@if($hasReviewed)
You've already reviewed this golfer
@else Leave a Review @endif
@elseif($sessionEnded)

Session Complete?

Your golf session has ended. Please mark it as complete to release payment to the golfer and leave a review.

@csrf
@else

Upcoming Session

Your session is scheduled for {{ $booking->formatted_final_date }} at {{ $booking->formatted_final_time }}. You'll be able to mark it as complete after the session ends.

@endif @endif @if($bookingRequest->conversation)

Message Thread

Continue the conversation with {{ auth()->user()->role === 'client' ? $bookingRequest->golfer->name : $bookingRequest->client->name }}

View Messages
@endif

Price Summary

Hourly Rate ${{ number_format($bookingRequest->price_per_hour, 2) }}
Duration {{ $bookingRequest->duration_minutes / 60 }} {{ $bookingRequest->duration_minutes === 60 ? 'hour' : 'hours' }}
Total ${{ number_format($bookingRequest->total_price, 2) }}
@if(auth()->user()->role === 'client' && $bookingRequest->needsPayment())
Pay Now

Complete payment to submit your booking request.

@elseif($bookingRequest->isPending() && $bookingRequest->isPaid() && auth()->user()->role !== 'golfer')

Payment received - waiting for golfer to accept.

@elseif($bookingRequest->isAccepted())

Payment authorized - funds will be released after completion.

@endif

Timeline

@userTimezoneDisplay

Request Created

@userDateTime($bookingRequest->created_at)

@if($bookingRequest->accepted_at)

Accepted

@userDateTime($bookingRequest->accepted_at)

@endif @if($bookingRequest->declined_at)

Declined

@userDateTime($bookingRequest->declined_at)

@endif @if($bookingRequest->cancelled_at)

Cancelled

@userDateTime($bookingRequest->cancelled_at)

@endif @if($bookingRequest->booking && $bookingRequest->booking->completed_at)

Completed

@userDateTime($bookingRequest->booking->completed_at)

@endif