{{ $golfer->user->name }}

← Back to Golfers
@if($photos->count() > 0)

Photos

@foreach($photos as $photo) Photo @endforeach
@endif

About

{{ $golfer->bio }}

Reviews

@if($totalReviews > 0)
@for($i = 1; $i <= 5; $i++) @endfor
{{ number_format($averageRating, 1) }} ({{ $totalReviews }} {{ $totalReviews === 1 ? 'review' : 'reviews' }})
@endif
@if($totalReviews > 0) View all → @endif
@if($reviews->count() > 0)
@foreach($reviews as $review)
@if($review->reviewer->getFirstMediaUrl('avatar')) {{ $review->reviewer->name }} @else
{{ strtoupper(substr($review->reviewer->name, 0, 1)) }}{{ strtoupper(substr(explode(' ', $review->reviewer->name)[1] ?? '', 0, 1)) }}
@endif

{{ $review->reviewer->name }}

@for($i = 1; $i <= 5; $i++) @endfor
{{ $review->created_at->diffForHumans() }}
@if($review->comment)

{!! nl2br(e(Str::limit($review->comment, 200))) !!}

@endif
@endforeach
@if($totalReviews > 5) @endif @else

No reviews yet

Be the first to book and review {{ $golfer->user->name }}!

@endif
@if($upcomingAvailability->count() > 0)

Upcoming Availability

Next 30 Days

Here are the times when {{ $golfer->user->name }} is available to play. Book your session now!

@foreach($upcomingAvailability as $date => $slots)
@userDate(\Carbon\Carbon::parse($date)) @if(\Carbon\Carbon::parse($date)->isToday()) Today @elseif(\Carbon\Carbon::parse($date)->isTomorrow()) Tomorrow @endif
@foreach($slots as $slot) {{ date('g:i A', strtotime($slot->start_time)) }} - {{ date('g:i A', strtotime($slot->end_time)) }} @endforeach
@endforeach

Showing availability for the next 30 days. Times are subject to booking confirmation.

@else

No upcoming availability in the next 30 days. Contact {{ $golfer->user->name }} to discuss scheduling.

@endif

${{ number_format($golfer->hourly_rate, 0) }}

per hour

@if(auth()->user()->role === 'client') Request to Play @else
Client Access Only
@endif
{{ $golfer->home_location }}
@if($golfer->willing_to_travel)
Willing to travel
@endif
{{ $golfer->min_advance_booking_hours ?? 24 }} hours advance notice
@if($golfer->tags->count() > 0)

Specializations

@foreach($golfer->tags as $tag) {{ $tag->name }} @endforeach
@endif
@if($relatedGolfers->count() > 0)

Similar Golfers

@foreach($relatedGolfers as $relatedGolfer) @include('golfers.partials.golfer-card', ['golfer' => $relatedGolfer, 'viewMode' => 'grid']) @endforeach
@endif @push('scripts') @endpush