User Management

Manage system users, roles, and permissions

Active: {{ $stats['active'] }}
Inactive: {{ $stats['inactive'] }}
Suspended: {{ $stats['suspended'] }}
Total: {{ $stats['total'] }}
@if($this->getSelectedCount() > 0)
{{ $this->getSelectedCount() }} selected
@endif Add New User
@if($this->hasActiveFilters()) @endif
Showing {{ $users->firstItem() ?? 0 }} to {{ $users->lastItem() ?? 0 }} of {{ $users->total() }} users
@forelse($users as $user) @empty @endforelse
Name @if($sortField === 'name') @if($sortDirection === 'asc') @else @endif @endif
Email @if($sortField === 'email') @if($sortDirection === 'asc') @else @endif @endif
Employee ID Roles Department Status Permissions Actions
{{ $user->initials() }}
{{ $user->name }}
@if($user->position)
{{ $user->position }}
@endif
{{ $user->email }}
@if($user->phone)
{{ $user->phone }}
@endif
{{ $user->employee_id ?: '-' }} @if($user->roles->count() > 0)
@foreach($user->roles->take(2) as $role) {{ $role->display_name }} @endforeach @if($user->roles->count() > 2) +{{ $user->roles->count() - 2 }} more @endif
@else No roles @endif
{{ $user->department ? ucfirst(str_replace('_', ' ', $user->department)) : '-' }} {{ ucfirst($user->status) }} {{ $this->getUserPermissionCount($user) }}
@if($user->id !== auth()->id()) @if($user->status === 'active') @elseif($user->status === 'inactive') @endif @if($user->status !== 'suspended') @endif @endif

No users found

Try adjusting your search or filter criteria.

@if($this->hasActiveFilters()) @endif
@if($users->hasPages())
{{ $users->links() }}
@endif