Users

Users

Manage who can access this application.

Add user
Name Email Role Status Joined @forelse ($users as $user)
{{ $user->name }}
@if ($user->id === auth()->id())
You
@endif
{{ $user->email }} @php $roleColors = [ 'super_admin' => 'bg-purple-100 text-purple-800', 'admin' => 'bg-blue-100 text-blue-800', 'manager' => 'bg-green-100 text-green-800', 'clerk' => 'bg-gray-100 text-gray-800', ]; @endphp {{ ucwords(str_replace('_', ' ', $user->role ?? 'clerk')) }} @if ($user->is_active ?? true) Active @else Inactive @endif {{ $user->created_at->format('M j, Y') }} Edit @if ($user->id !== auth()->id())
@csrf @method('DELETE') Delete
@endif
@empty No users found. @endforelse
@if ($users->hasPages())
{{ $users->links() }}
@endif