@component('mail::message') # Visitor approval required A visitor has submitted their details and requires your approval. Please review the information below and take action. @if($invite->valid_from || $invite->valid_to) @endif
Visitor {{ $response->full_name ?? '—' }}
Company {{ $response->company ?? '—' }}
IC / ID No. {{ $response->ic_no ?? '—' }}
Email {{ $response->email ?? '—' }}
Visit type {{ $invite->visitor_type ?? '—' }}
Purpose {{ $invite->purpose_text ?? '—' }}
Visit window @php $from = optional($invite->valid_from)->format('d M Y, H:i'); $to = optional($invite->valid_to)->format('d M Y, H:i'); @endphp {{ $from ?? '—' }} @if($from || $to)  –  @endif {{ $to ?? '—' }}
@component('mail::button', ['url' => config('app.frontend_url').'/approvals']) Review & take action @endcomponent If you are not the appropriate person to review this request, please forward this email to the relevant approver. Thanks, {{ config('app.name') }} @endcomponent