@extends('layouts.app') @section('title', 'Check-in '.$appointment->reference) @php $a = $appointment; @endphp @section('content')
OTP verified · {{ $a->reference }} {{ $a->type_label }}
Visitor

{{ $a->visitor->name }}

{{ $a->visitor->company ?: 'Individual' }}
Phone
{{ $a->visitor->phone }}
Email
{{ $a->visitor->email ?: '—' }}
ID proof
{{ $a->visitor->id_type ? $a->visitor->id_type.' · '.$a->visitor->id_number : 'Not recorded' }}
Past visits
{{ $previousVisits }}
Host

{{ $a->host->name }}

{{ $a->host->designation }}@if($a->host->department) · {{ $a->host->department }}@endif
Phone
{{ $a->host->phone ?: '—' }}
Email
{{ $a->host->email }}
Purpose: {{ $a->purpose }}
Scheduled: {{ $a->scheduled_at->format('d M Y, h:i A') }} @if ($a->duration_minutes) ({{ $a->duration_minutes }} min)@endif @if ($a->notes)
Notes: {{ $a->notes }}@endif
Confirm check-in
@if (! $a->visitor->id_type)
No ID proof on record — please verify identity physically.
@endif
@csrf
@error('badge_number')
{{ $message }}
@enderror
@error('vehicle_number')
{{ $message }}
@enderror
View full appointment
@endsection