Subscription Notifications

Subscription Expiration Notifications

@csrf

Total Notifications

{{ $notifications->total() }}

Today

{{ $notifications->where('sent_at', '>=', today())->count() }}

5-Day Warnings

{{ $notifications->where('days_before_expiry', 5)->count() }}

1-Day Warnings

{{ $notifications->where('days_before_expiry', 1)->count() }}

Recent Notifications

@forelse($notifications as $notification) @empty @endforelse
Vendor Plan Type Days Before Expiry Sent At
{{ $notification->company_name }}
{{ $notification->company_email }}
{{ $notification->plan_name }} {{ ucfirst(str_replace('_', ' ', $notification->notification_type)) }} {{ $notification->days_before_expiry }} days {{ \Carbon\Carbon::parse($notification->sent_at)->format('M d, Y H:i') }}
No notifications sent yet.
@if($notifications->hasPages())
{{ $notifications->links() }}
@endif