@extends('layouts.admin') @section('title',$booking->number) @section('heading','Service booking') @section('content')

{{ $booking->number }}

{{ $booking->offering?->name }} · {{ $booking->vendor?->name }}

Back
Status{{ str_replace('_',' ',$booking->status) }}
Appointment{{ $booking->starts_at->format('d M Y H:i') }}until {{ $booking->ends_at->format('H:i') }}
Total{{ number_format((float)$booking->total,2) }}
Payment{{ ucfirst($booking->payment_status) }}{{ strtoupper($booking->payment_method) }}

Customer

{{ $booking->customer?->name }}
{{ $booking->customer?->email }}
{{ $booking->customer?->phone }}

{{ $booking->notes ?: 'No customer notes.' }}

Booked add-ons

@forelse($booking->addons as $addon)

{{ $addon->name }} · {{ number_format((float)$addon->price,2) }} · {{ $addon->duration_minutes }} min

@empty

No add-ons.

@endforelse

Customer verification evidence

@forelse($booking->verificationRecords as $record)@empty@endforelse
PhaseStateVerified atVerified byFailed attempts
{{ ucfirst(str_replace('_',' ',$record->phase)) }}{{ $record->consumed_at ? 'verified' : ($record->expires_at->isPast() ? 'expired' : 'active') }}{{ $record->consumed_at?->format('d M Y H:i:s') ?: '—' }}{{ $record->verifier?->name ?: '—' }}{{ $record->attempts }}
The customer has not opened a verification credential yet.
@if($transitions)

Update workflow

Check-in and check-out normally require the customer's QR/PIN. Administrative overrides are audit-labelled and require a reason.

@csrf
@endif

Audit history

@forelse($booking->events->sortByDesc('created_at') as $event)@empty@endforelse
TimeFromToActorNote
{{ $event->created_at->format('d M Y H:i') }}{{ $event->from_status ?: '—' }}{{ $event->to_status }}{{ $event->actor?->name ?: 'System' }}{{ $event->note ?: '—' }}
No events.
@endsection