@extends('layouts.app') @section('title', 'Alerts & Notifications') @section('content')

Alerts & Notifications

Items requiring your attention

@if(auth()->user()->canGenerateAlerts())
@csrf
@endif
@csrf @method('PUT')
Export Excel Export PDF

Critical

{{ $criticalCount }}

Warnings

{{ $warningCount }}

Info

{{ $infoCount }}

Unread

{{ $unreadCount }}

Clear
@forelse($alerts as $a) @include('alerts.partials.alert-card', ['alert' => $a]) @empty

No alerts requiring attention

The system will notify you when important items need action.

@if(auth()->user()->canGenerateAlerts())
@csrf
@endif
@endforelse
@if($alerts instanceof \Illuminate\Pagination\LengthAwarePaginator && $alerts->hasPages())
{{ $alerts->links() }}
@endif
@endsection