@extends('layouts.app') @section('title', 'Users') @section('page-title', 'User Management') @section('content')
System Users

Manage accounts, roles and permissions

Add User
{{-- Filters --}}
Reset
@forelse($users as $user) @empty @endforelse
User Role Manager Status Last Login Created Actions
{{ $user->name }} @if($user->trashed()) Deleted @endif
{{ $user->email }}
{{ $user->role_label }} {{ $user->manager?->name ?? '—' }} @if($user->is_active && !$user->trashed()) Active @else Inactive @endif {{ $user->last_login_at ? $user->last_login_at->diffForHumans() : 'Never' }} {{ $user->created_at->format('M d, Y') }}
@if(!$user->trashed()) @if($user->id !== auth()->id())
@csrf @method('DELETE')
@endif @else
@csrf @method('PATCH')
@endif
No users found.
@if($users->hasPages())
{{ $users->links('pagination::bootstrap-5') }}
@endif
@endsection