@extends('layouts.app') @section('content') {{-- Inline styles to guarantee the page looks correct even if external CSS fails/loads late --}} {{-- Success Message --}} @if(session('success')) @endif {{-- Error Message --}} @if(session('error')) @endif

One-Month Subscription Notifications

@if($notifications->count() > 0)
@foreach($notifications as $notification) @endforeach
# Temple Name Email Subscription Start Date Free Month Completed Action
{{ $loop->iteration }} {{ $notification->temple_name }} {{ $notification->email ?? 'No email' }} {{ $notification->created_at ? $notification->created_at->format('d M Y h:i A') : '-' }} @if($notification->created_at) {{ $notification->created_at->copy()->addMonth()->format('d M Y h:i A') }} @else - @endif
@if(is_null($notification->one_month_notification_sent_at))
@csrf
@else Mail Already Sent {{ $notification->one_month_notification_sent_at->format('d M Y h:i A') }} @endif
@else
🔔

No Pending Subscription Notifications

There are currently no temples that have completed their one-month free subscription.

System check date: {{ now()->format('d M Y h:i A') }}
@endif
@endsection