{{-- Header --}}
Notification Center Configure and monitor notification settings
Global Settings
{{-- Notification Stats --}}
{{ $this->stats['notifications_sent_today'] }}
Sent Today
{{ $this->stats['delivery_success_rate'] }}%
Success Rate
{{ $this->stats['pending_notifications'] }}
Pending
{{ $this->stats['failed_notifications'] }}
Failed
{{-- Filters --}}
{{-- User Notification Settings --}}
{{-- User Settings Table --}}
User Notification Settings Configure individual user preferences
@forelse($userSettings as $setting) @empty @endforelse
User Email SMS Push Actions
{{ $setting->user->name }}
{{ $setting->user->email }}
{{ $setting->email_enabled ? 'On' : 'Off' }} {{ $setting->sms_enabled ? 'On' : 'Off' }} {{ $setting->push_enabled ? 'On' : 'Off' }} Edit
No user settings found.
{{-- Notification Log --}}
Recent Notifications Last 24 hours activity
@forelse($recentNotifications as $notification)
@if($notification->channel === 'email')
@elseif($notification->channel === 'sms')
@elseif($notification->channel === 'push')
@else
@endif
{{ $notification->event_type }}
{{ $notification->recipient }}
{{ $notification->created_at->diffForHumans() }} • {{ ucfirst($notification->status) }}
@empty
No recent notifications
@endforelse
{{-- Global Settings Modal --}}
Global Notification Settings Configure system-wide defaults
Cancel Save Settings
{{-- User Settings Modal --}} @if($editingUserSettings)
Edit User Settings {{ $editingUserSettings->user->name }}
Event Types
@foreach(['geofence_enter', 'geofence_exit', 'speeding', 'device_offline', 'low_battery', 'maintenance_due'] as $eventType) @endforeach
Cancel Update Settings
@endif