@extends('layouts.school') @section('title', 'Email Log') @section('header', 'Email Log') @section('content') @if(session('success'))
| Recipient | Subject | Type | Status | Date | |
|---|---|---|---|---|---|
| {{ $log->recipient_email }} @if($log->recipient_name){{ $log->recipient_name }}@endif | {{ $log->subject }} | {{ str_replace('_', ' ', \Illuminate\Support\Str::title(str_replace('-', ' ', $log->notification_type))) }} | @if($log->status === 'sent') Sent @elseif($log->status === 'pending') Pending @else Failed @endif | {{ $log->created_at?->format('d M Y H:i') }} | @if($log->status !== 'sent' && $log->payload) @endif |
| No emails logged yet. | |||||