Community Smart Access
@php $badgeClass = match ($status ?? 'info') { 'approved' => 'badge approved', 'rejected' => 'badge rejected', 'invalid' => 'badge invalid', default => 'badge info', }; $badgeText = strtoupper($status ?? 'INFO'); @endphp {{ $badgeText }}
{{ $title ?? 'Result' }}

{{ $message ?? '' }}

@if ($status != 'info')
Approved/Rejected By: {{ $approverEmail ?? '-' }}
Time: {{ now('Asia/Kuala_Lumpur')->format('d/m/Y H:i') }}
@endif {{-- optional button back to portal --}} {{-- Back to Portal --}}