@extends('mainlayout.layout') @section('title', config('app.name') . ' | Notify Admins') @section('content')
Settings

Notify Admins

Choose who receives email alerts and which events they receive.

View notifications
@if(session('message'))
{{ session('message') }}
@endif @if($errors->any()) @endif

Order expiry reminders

Send one reminder for each approaching initial or final payment deadline. Dashboard notifications are available to all superadmins, regardless of email preferences.

@csrf @method('PATCH')
@if($failedDeliveries)

Email delivery needs attention

{{ $failedDeliveries }} {{ Str::plural('email', $failedDeliveries) }} could not be sent after five attempts.

@csrf
@endif

Add notification recipient

Recipients can use any email address. Select at least one notification.

@csrf @include('superadmin.notifications.recipient-fields', ['recipient' => null])

Notification recipients

{{ $recipients->count() }} {{ Str::plural('recipient', $recipients->count()) }}

@forelse($recipients as $recipient)
id) open @endif> {{ $recipient->name ?: $recipient->email }}{{ $recipient->email }} · {{ count($recipient->events) }} notifications · {{ $recipient->is_active ? 'Enabled' : 'Paused' }}
@csrf @method('PATCH') @include('superadmin.notifications.recipient-fields', ['recipient' => $recipient])
@csrf @method('DELETE')
@empty
No email recipients yet. Add an email address above to enable admin alerts.
@endforelse
@endsection @push('scripts') @endpush