@extends('layouts.app') @section('title', 'User Management - Admin') @section('content')
{{-- Page Header --}}

User Management

Manage and oversee all users on your marketplace platform

@if(auth()->user()?->role?->hasPermission('users.manage')) Create User @endif
Export
{{-- Quick Stats --}} @include('admin.users.partials.stats', ['stats' => $stats]) {{-- Filters --}}
{{-- Search --}}
{{-- Role Filter --}}
{{-- Status Filters --}}
{{-- Per Page --}}
{{-- Hidden sort/direction --}} {{-- Actions --}}
Reset
{{ $users->total() }} users @if($users->total() > 0) ({{ $users->firstItem() }} - {{ $users->lastItem() }}) @endif
{{-- Bulk Actions --}} @if($users->count() > 0) @endif {{-- Users Table - Compact Version --}}
@forelse($users as $user) {{-- Checkbox --}} {{-- ID --}} {{-- User Info --}} {{-- Role --}} {{-- Status --}} {{-- Balance --}} {{-- Actions --}} @empty @endforelse
ID User Role Status Balance Actions
#{{ $user->id }}
@if($user->avatar) {{ $user->username }} @else
{{ Str::upper(Str::substr($user->username ?? $user->email ?? 'U', 0, 2)) }}
@endif
{{ $user->role?->display_name ?? 'Member' }} @if($user->banned) Banned @else Active @endif {{ currency_symbol() }}{{ number_format($user->balance, 2) }}
@if(!$user->role?->is_super_admin) @endif
No users found

Try adjusting your search or filter criteria

{{-- Pagination --}} @if($users->hasPages()) @endif
{{-- Hidden Forms --}} @endsection @push('styles') @endpush @push('scripts') @endpush