@forelse ($users as $id => $user) {{ ++$id }} @if ($user->image) @else
{{ strtoupper(substr($user->first_name ?? 'U', 0, 1)) }}
@endif {{ $user->created_at->format('y-m-d') }}

{{ $user->created_at->diffForHumans() }}

{{ $user->first_name }} {{ $user->last_name }}

{{ $user->company }}

{{ $user->email }}

{{ $user->phone }}

@if ($user->status == 'active') Active @elseif ($user->status == 'pending') Pending @elseif ($user->status == 'blocked') Blocked @endif
@if ($user->status == 'blocked')
@csrf
@endif
@empty No users available. @endforelse