@extends('admin.layouts.app', ['head' => 'headForm', 'foot' => 'footForm']) @section('title') {{ __('Device Details') }} @stop @section('content')
{{ $device->device_name ?? __('Unnamed Device') }}
| {{ __('Employee') }} |
{{ $device->user?->full_name }}
@if($device->user?->employee)
{{ $device->user->employee->job_title ?? '' }} @endif |
|---|---|
| {{ __('Device Name') }} | {{ $device->device_name ?? '-' }} |
| {{ __('Platform') }} | {{ $device->getPlatformLabel() }} |
| {{ __('State') }} | {{ $device->state?->label() }} |
| {{ __('Installation ID') }} | {{ $device->installation_id }} |
| {{ __('IMEI') }} | {{ $device->imei }} |
| {{ __('Created At') }} | {{ $device->created_at?->format('Y-m-d H:i:s') }} ({{ $device->created_at?->diffForHumans() }}) |
| {{ __('Expires At') }} | {{ $device->expires_at?->format('Y-m-d H:i:s') }} @if($device->isExpired()) {{ __('Expired') }} @endif |
| {{ __('Credential ID') }} | {{ Str::limit($device->credential_id, 30) }} |
|---|---|
| {{ __('Credential Type') }} | {{ str_replace('_', ' ', ucwords($device->credential_type, '_')) }} |
| {{ __('Public Key') }} | {{ Str::limit($device->public_key, 60) }} |
| {{ __('Reviewed By') }} | {{ $device->reviewer?->full_name ?? '-' }} |
| {{ __('Reviewed At') }} | {{ $device->reviewed_at?->format('Y-m-d H:i:s') ?? '-' }} |
| {{ __('Rejection Reason') }} | {{ $device->rejectionReason->nameLang() }} |
| {{ __('Internal Note') }} | {{ $device->note }} |
| {{ __('Last Seen') }} | {{ $device->last_seen_at?->format('Y-m-d H:i:s') }} ({{ $device->last_seen_at?->diffForHumans() }}) |
{{ json_encode($device->attestation_metadata, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) }}
{{ json_encode($device->device_metadata, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) }}