{{ now($business->timezone)->format('H') < 12 ? 'Good morning' : (now($business->timezone)->format('H') < 18 ? 'Good afternoon' : 'Good evening') }}

{{ $profile?->firstName ?: $user->name }}

Good to see you, {{ $profile?->firstName ?: $user->name }}
@if ($appointments->first()) @php($next = $appointments->first())
Your next visit{{ ucfirst(strtolower($next->status->value)) }}

{{ $next->services->pluck('service.name')->join(', ') }}

with {{ $next->staff->user?->name ?: 'your barber' }}

{{ $next->startAt->setTimezone($business->timezone)->format('D, M j · g:i A') }}

{{ $business->name }}

Details
@endif @if ($loyaltySummary) @php($threshold = max(1, $loyaltySummary['threshold']))

Loyalty card

{{ max(0, $threshold - $loyaltySummary['currentStamps']) }} more visits until your reward

@endif

Your barbers

See all
@forelse ($business->staff->where('status.value', 'ACTIVE')->take(4) as $member)

{{ Str::before($member->user?->name ?: 'Barber', ' ') }}

@empty

Your shop team will appear here.

@endforelse

Popular services

See all
@foreach ($business->serviceCategories->flatMap->services->where('isActive', true)->take(3) as $service)

{{ $service->name }}

{{ $service->durationMinutes }}m

£{{ number_format((float) $service->price, 2) }}
@endforeach