A visitor has been finalized. This is a notification for the host; no QR is required.
@php $hostName = $visit->host_name ?? 'Host'; $purpose = optional($visit->purpose)->name ?? $visit->purpose_id ?? '—'; $location = optional($visit->location)->name ?? $visit->location_id ?? '—'; $phone = $visitor->telephone ?? $visitor->phone ?? '—'; $tz = config('app.timezone', 'UTC'); $start = $visit->scheduled_at ? \Carbon\Carbon::parse($visit->scheduled_at)->timezone($tz)->format('d M Y, H:i') : '—'; $end = $visit->scheduled_to ? \Carbon\Carbon::parse($visit->scheduled_to)->timezone($tz)->format('d M Y, H:i') : '—'; @endphp

Visitor Finalized (Notification)

Hello {{ $hostName }}, the visitor below has been finalized. This is a notification; no QR is required for you.

Visitor

@if(!empty($photoUrl))
Visitor Photo
@endif
Name {{ $visitor->full_name ?? '—' }}
Email {{ $visitor->email ?? '—' }}
Telephone {{ $phone }}
Company {{ $visitor->company ?? '—' }}
Vehicle No {{ $visitor->vehicle_no ?? '—' }}
Identification No {{ $visitor->identification_no ?? '—' }}

Visit

Purpose {{ $purpose }}
Location {{ $location }}
Start {{ $start }} ({{ $tz }})
End {{ $end }} ({{ $tz }})
Permit No {{ $visit->permit_no ?? '—' }}
PO No {{ $visit->order_no ?? '—' }}

— Automated notification

© {{ date('Y') }} SmartPass. All rights reserved.