@php $mods = config('profile.notification_modules', []); @endphp

Notification preferences

Choose how you want to be notified by module. Critical operational alerts may still appear in-app.

@if(!$globalEmailAlerts)

Email notifications are disabled at system level.

@endif @if(!$globalSmsAlerts)

SMS notifications require provider configuration by an administrator.

@endif
@csrf @method('PUT')
@foreach($mods as $key => $label) @php $pref = $notificationPrefs->get($key); $inApp = old("np.$key.in_app", $pref?->in_app ?? true); $em = old("np.$key.email", $pref?->email ?? false); $sms = old("np.$key.sms", $pref?->sms ?? false); @endphp @endforeach
Module In-app Email SMS
{{ $label }}

Critical alerts may still be shown even if some notification types are disabled.