@extends('layouts.admin') @section('title', 'Notification Logs') @section('page-title', 'Notification Logs') @section('page-subtitle', 'View all sent notifications and their status') @section('content')
@if(session('success'))
{{ session('success') }}
@endif
{{ $stats['total'] }}
Total
{{ $stats['sent'] }}
Sent
{{ $stats['delivered'] }}
Delivered
{{ $stats['pending'] }}
Pending
{{ $stats['failed'] }}
Failed

Filter Logs

Clear
@forelse($logs as $log) @empty @endforelse
Date Member Type Channel Recipient Status Actions
{{ $log->created_at->format('M d, Y') }}
{{ $log->created_at->format('h:i A') }}
@if($log->member)
{{ $log->member->full_name }}
@else - @endif
{{ str_replace('_', ' ', $log->notification_type) }} @if($log->channel == 'sms') SMS @elseif($log->channel == 'whatsapp') WhatsApp @elseif($log->channel == 'email') Email @endif
{{ $log->recipient_name ?? '-' }}
{{ $log->recipient_phone ?? $log->recipient_email ?? '-' }}
@if($log->status == 'pending') Pending @elseif($log->status == 'sent') Sent @elseif($log->status == 'delivered') Delivered @elseif($log->status == 'failed') Failed @endif @if($log->status == 'failed')
@csrf
@endif
No notification logs found.
{{ $logs->withQueryString()->links() }}
@endsection