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

Absence Alerts

Automated parent notifications triggered the moment a student is marked absent.

Alert Settings
@forelse ($alerts as $a) @empty @endforelse
Date Student Parent Phone Channel Status Message
{{ $a->date?->format('d M Y') }} {{ $a->student?->full_name ?? '—' }} {{ $a->student?->admission_no }} {{ $a->student ? \App\Support\Register::parentName($a->student) : '—' }} {{ $a->phone }} {{ $a->channel }} {{ $a->status }} {{ \Illuminate\Support\Str::limit($a->message, 90) }}
No absence alerts sent yet.
{{ $alerts->links() }}
@endsection