{{ __('Users') }}

{{ __('Kelola role dan akses staff.') }}

{{ __('Admin') }}
{{ __('Reset') }}
@foreach ($users as $user) @php $role = $user->role ?? 'customer'; $roleClass = match ($role) { 'admin' => 'bg-indigo-500/15 text-indigo-200 ring-indigo-500/30', 'staff' => 'bg-fuchsia-500/15 text-fuchsia-200 ring-fuchsia-500/30', default => 'bg-white/5 text-gray-200 ring-white/10', }; @endphp @endforeach
{{ __('ID') }} {{ __('User') }} {{ __('Role') }} {{ __('Created') }} {{ __('Action') }}
{{ $user->id }}
{{ $user->name }}
{{ $user->email }}
{{ $role }} {{ optional($user->created_at)->format('Y-m-d H:i') }} {{ __('Edit') }}
{{ $users->links() }}