@extends('layouts.admin') @section('title', 'Notifications') @section('content')
Settings
@csrf @method('PUT') @forelse($settings as $setting)
@empty

No notification settings configured yet.

@endforelse
@if(!$tableExists)Notifications log table is not available. Run migrations to enable message history.@else
@forelse($notifications as $n)@empty@endforelse
DateChannelRecipientSubjectStatus
{{ \Carbon\Carbon::parse($n->created_at)->format('M j, Y H:i') }}{{ ucfirst($n->channel ?? '—') }} {{ $n->recipient ?? '—' }}{{ Str::limit($n->subject ?? $n->message ?? '—', 40) }}
No notifications logged
@if(method_exists($notifications, 'links'))
{{ $notifications->links() }}
@endif
@endif
@endsection