{{-- brafa Systems — Unifi door details. The Unifi counterpart of showLockDetails: dark hero card with the door's product shot (same pattern as the Sciener lock page), info + stats, guest PINs, and the unlock records ingested into lock_records. Light cards use dark text — white text only inside the dark hero. --}}
Unifi Access
@if($doorGroupName) Door group: {{ $doorGroupName }} @else Unifi Access door @endif
| Guest | PIN | From | To | Status |
|---|---|---|---|---|
| {{ $visitor['GuestName'] ?? '-' }} | {{ $visitor['pin_code'] ?? '-' }} | {{ !empty($visitor['start_date']) ? \Carbon\Carbon::parse($visitor['start_date'])->format('d/m/y H:i') : '-' }} | {{ !empty($visitor['end_date']) ? \Carbon\Carbon::parse($visitor['end_date'])->format('d/m/y H:i') : '-' }} | @if(!empty($visitor['end_date']) && \Carbon\Carbon::parse($visitor['end_date'])->isPast()) Expired @else {{ $visitor['status'] ?? 'Active' }} @endif |
| No guest PINs for this door. | ||||
| Name | Type | Result | Time |
|---|---|---|---|
| {{ $record->username ?? '-' }} | @switch($record->recordType) @case(-4) qr_code QR Code @break @case(1) Unlock with APP @break @case(4) dialpad PIN @break @case(7) Card @break @case(12) Unlock via network @break @case(48) Unauthorized attempt @break @case(55) Remote Unlock @break @case(67) Facial ID Unlock @break @default Unknown @endswitch | @if ($record->success) Granted @else Denied @endif | {{ date('d/m/y H:i:s', $record->lockDate / 1000) }} |
| No records for this door yet. | |||