@extends('layouts.admin') @section('title', 'Reminder logs') @section('page-title', 'Reminder logs') @section('breadcrumbs') Reports chevron_right Reminder logs @endsection @section('content')
Reset
@forelse($logs as $log) @empty @endforelse
Recipient Type Related Status Sent Error
{{ $log->recipient_email }}
{{ Str::limit($log->subject, 80) }}
{{ str_replace('_', ' ', $log->reminder_type) }} @if($log->invoice_id && $log->invoice) @endif @if($log->quotation_id && $log->quotation) @endif @if($log->customer_id && $log->customer)
{{ $log->customer->name }}
@endif @if(!$log->invoice_id && !$log->quotation_id && !$log->customer_id) @endif
@if($log->status === 'sent') sent @elseif($log->status === 'failed') failed @else {{ $log->status }} @endif {{ $log->sent_at?->format('M j, Y g:i A') ?? '—' }} {{ $log->error_message ? Str::limit($log->error_message, 120) : '—' }}
No log entries match your filters.
@if($logs->hasPages())
{{ $logs->withQueryString()->links() }}
@endif
@endsection