@extends('setting.nav') @section('title', 'Auto Reply Log') @section('content')
@include('auto_reply._tabs') @php // Every status is offered, including the ones with no entries, so a // status that never occurs is visibly zero rather than absent. $statuses = \App\Models\AutoReplyLog::STATUSES; @endphp
@if ($activeStatus) @endif
@forelse ($logs as $log) @empty @endforelse
When Recipient Category Confidence Status Reason
{{ optional($log->created_at)->format('d M, H:i') }}
{{ $log->recipient_email ?: '—' }}
@if ($log->subject)
{{ \Illuminate\Support\Str::limit($log->subject, 50) }}
@endif
@if ($log->category_id && isset($categories[$log->category_id])) {{ $categories[$log->category_id]->name }} @elseif ($log->category_code) {{ $log->category_code }} @else — @endif {{ $log->ai_confidence === null ? '—' : number_format($log->ai_confidence, 2) }} {{ $log->status }} {{ \Illuminate\Support\Str::limit($log->error_reason, 70) ?: '—' }} Details
Nothing logged yet. Entries appear here as mail is processed.
@if ($logs->hasPages()) @endif
@endsection