@extends('admin.layout') @section('title', 'User Management') @section('content')

Registered Users

Manage user roles, Super Admin privileges, and accounts.

@if($search) ✕ @endif
@forelse($users as $user) @empty @endforelse
User Role Calls (Out / In) Joined Actions
{{ strtoupper(substr($user->name, 0, 2)) }}

{{ $user->name }}

{{ $user->email }}

@if($user->is_admin) 🛡️ Super Admin @else 👤 User @endif
{{ $user->outgoing_calls_count }} out / {{ $user->incoming_calls_count }} in
{{ $user->created_at->format('M d, Y') }}
@csrf
@if($user->id !== auth()->id())
@csrf @method('DELETE')
@endif
No users found matching your search query.
@if($users->hasPages())
{{ $users->links() }}
@endif
@endsection