@extends('layouts.admin') @section('title', 'Notifications Management') @section('breadcrumbs') @endsection @section('content')

Notifications Management

Manage homepage notifications and announcements

Create Notification
Total Notifications
{{ $stats['total'] }}
Active Notifications
{{ $stats['active'] }}
Homepage Notifications
{{ $stats['homepage'] }}
Marquee Notifications
{{ $stats['marquee'] }}
Filters
Clear
Notifications ({{ $notifications->total() }} total)
@if($notifications->count() > 0)
@foreach($notifications as $notification) @endforeach
Notification Type Priority Status Display Options Created Actions
{{ $notification->title }}
{{ Str::limit(strip_tags($notification->content), 100) }}
@if($notification->link_url)
{{ $notification->link_text ?: 'Link' }}
@endif
{{ ucfirst($notification->type) }} {{ ucfirst($notification->priority) }} {{ $notification->is_active ? 'Active' : 'Inactive' }}
@if($notification->show_on_homepage) Homepage @endif @if($notification->is_marquee) Marquee @endif
{{ $notification->created_at->format('M d, Y') }}
{{ $notification->creator->name }}
@csrf
@csrf @method('DELETE')
{{ $notifications->appends(request()->query())->links() }}
@else
No notifications found

No notifications match your current filters.

Create First Notification
@endif
@endsection