@extends('dashboard.layouts.app') @section('title', __('dashboard.Users')) @section('page_heading', __('dashboard.Users')) @section('breadcrumb') @endsection @section('content')

{{ __('dashboard.Users') }}

{{-- Filter Form --}}
{{ __('dashboard.Reset') }}
@if($users->isEmpty())
{{ __('dashboard.No users found') }}.
@else
@foreach($users as $user) @endforeach
ID {{ __('dashboard.Avatar') }} {{ __('dashboard.Name') }} {{ __('dashboard.Email') }} {{ __('dashboard.Account Type') }} {{ __('dashboard.Phone') }} {{__('dashboard.Is Verified')}} {{__('dashboard.Account Status')}} {{ __('dashboard.Created At') }} {{ __('dashboard.Actions') }}
{{ $user->id }} @if($user->avatar) {{ $user->name }} @else avatar @endif {{ $user->name }} {{ $user->email ?? '-' }} {{ __('dashboard.' . Str::studly(str_replace('_', ' ', $user->account_type))) }} {{ $user->phone ?? '-' }} @if($user->is_verified) {{__('dashboard.Yes')}} @else {{__('dashboard.No')}} @endif @if($user->isActive()) {{ __('dashboard.Active') }} @elseif($user->isBanned()) {{ __('dashboard.Banned') }} @endif {{ $user->created_at }}
{{ $users->links() }} @endif
@endsection @section('scripts') @endsection