@if ($location_data->location->otp && $location_data->location->otp->isEnabled)
@isset($location_data->location->otp)
@if ($location_data->location->getOtpLogs->count() == 0) @else @foreach ($location_data->location->getOtpLogs->sortByDesc('created_at') as $log) @endforeach @endif
Date & time Verification Code Details Status
No data found
{{ \Carbon\Carbon::parse($log->created_at)->format('d M Y h:i A') }} {{ $log->otp }}
  • {{$log->ip}}
  • {{$log->os}}
  • {{$log->device}}
{{ \Carbon\Carbon::parse($log->expires_at)->isPast() ? 'Expired' : 'Successful' }}
@endisset
@endif