@if ($list_items) @foreach ($list_items as $list_item) {{ $loop->iteration }}
@if($list_item->user)
{{ $list_item->user->name }}
User ID: #{{ $list_item->user->id }} @else
Guest User
No user account/ Deleted User @endif
@if($list_item->email)
{{ $list_item->email }}
@endif @if($list_item->phone)
{{ $list_item->country_code }} {{ $list_item->phone }}
@endif
{{ $list_item->ip_address ?? 'N/A' }}
@if($list_item->channel === 'phone') Phone @else Email @endif
@if($list_item->otp_code)
{{ $list_item->otp_code }}
@endif
@if($list_item->status === 'verified') Verified @elseif($list_item->status === 'pending') Pending @elseif($list_item->status === 'failed') Failed @else Expired @endif
{{ $list_item->created_at->format('d-m-Y, g:i A') }} @include('admin.crud.action-dropdown', [ 'deleteUrl' => route('admin.login-attempts.destroy', $list_item->id), 'redirectUrl' => route('admin.login-attempts.index') ]) @endforeach @endif