@extends('layouts.app') @section('title', 'OTP Delivery Status') @push('stylesheets') @include('admin-controls.partials.settings-styles') @endpush @section('contents')
OTP send attempts @if ($logs->total() > 0) Showing {{ $logs->firstItem() }}–{{ $logs->lastItem() }} of {{ number_format($logs->total()) }} @else No records @endif
@forelse ($logs as $log) @empty @endforelse
Date Time User Email OTP Sent Reason Context
{{ optional($log->created_at)->format('d M Y h:i A') ?? '—' }} {{ $log->user_name ?: '—' }} {{ $log->email ?: '—' }} {{ $log->otp_code }} @if ($log->sent) Yes @else No @endif @if ($log->sent) @else
{{ $log->failure_reason ?: 'Email send failed.' }}
@endif
{{ str_replace('_', ' ', (string) $log->context) }}
No OTP delivery records found.
@if ($logs->hasPages()) @endif
@endsection