Scholarship Notifications
Total Notifications
{{ number_format($stats['total_notifications']) }}
Real-Time (Today)
{{ number_format($stats['realtime_today']) }}
This Week: {{ $stats['realtime_this_week'] }}
Digest (Today)
{{ number_format($stats['digest_today']) }}
This Week: {{ $stats['digest_this_week'] }}
Users Notified
{{ number_format($stats['unique_users_notified']) }}
{{ $stats['unique_scholarships_notified'] }} Scholarships
Filters
Notification Logs
| User | Scholarship | Type | Sent At | Actions |
|---|---|---|---|---|
|
@php
$userProfile = $notification->user->profile ?? null;
$userName = $userProfile ? ($userProfile->first_name . ' ' . $userProfile->last_name) : 'N/A';
@endphp
{{ trim($userName) !== 'N/A' ? $userName : 'User #' . substr($notification->user_id, 0, 8) }}
{{ $notification->user->email ?? 'N/A' }} |
{{ Str::limit($notification->scholarship->title ?? 'N/A', 50) }}
{{ $notification->scholarship->country ?? 'N/A' }} |
@if($notification->notified_at)
Real-Time
@if($notification->digest_sent_at)
Digest @endif @elseif($notification->digest_sent_at) Digest @else Pending @endif |
@if($notification->notified_at)
Real-Time:
@endif
@if($notification->digest_sent_at)
{{ $notification->notified_at->format('M d, Y H:i') }}
Digest:
@endif
@if(!$notification->notified_at && !$notification->digest_sent_at)
-
@endif
{{ $notification->digest_sent_at->format('M d, Y H:i') }} |
View |
|
No notifications found |
||||
{{ $notifications->links('pagination::bootstrap-4') }}
Top Notified Scholarships
| Rank | Scholarship | Notifications Sent |
|---|---|---|
| @if($index === 0) 🥇 @elseif($index === 1) 🥈 @elseif($index === 2) 🥉 @else #{{ $index + 1 }} @endif | @if($item->scholarship) {{ $item->scholarship->title }} @else Scholarship Deleted @endif | {{ $item->notification_count }} notifications |