@extends('layouts.app') @section('title', 'Manage Users - Admin - TicketHub Central') @section('content')

Manage Users

Add and manage support staff accounts

Add User
@if($users->isEmpty())

No users found

@else
@foreach($users as $user) @endforeach
Name Username Role Created Actions
{{ strtoupper(substr($user->name, 0, 1)) }}
{{ $user->name }}
{{ $user->username }} @if($user->is_admin) Admin @else Support @endif {{ $user->created_at?->format('M d, Y') }}
@if($user->id !== auth()->id())
@csrf @method('DELETE')
@else @endif
@if($users->hasPages())
{{ $users->links() }}
@endif @endif
@endsection