Users

{{ $user->name }}

Edit user
@php $record = [ 'Staff ID' => $user->staff_id, 'Email' => $user->email, 'Department' => $user->department, 'Position' => $user->position, 'Role' => \App\Models\User::ROLES[$user->role] ?? $user->role, 'Status' => $user->is_active ? 'Active' : 'Deactivated', ]; @endphp
@foreach ($record as $label => $value)
{{ $label }}
{{ $value ?: '—' }}
@endforeach

Training history