@extends('layouts.admin') @section('title', 'Users Management') @section('page_title', 'Users Management') @section('content')
@if($search)
Clear Filter Found {{ $users->total() }} result(s)
@endif
@forelse($users as $user) @empty @endforelse
Name Email Phone City Orders Status Joined Actions
{{ $user->name }} {{ $user->email }} {{ $user->phone ?? 'N/A' }} {{ $user->city ?? 'N/A' }} {{ $user->orders->count() }} @if($user->is_active) Active @else Inactive @endif {{ $user->created_at->format('M d, Y') }}
@csrf @method('DELETE')
@if($search) No users found matching "{{ $search }}" @else No users found @endif
@if($users->count())
@endif @endsection