@extends('layouts.admin', [ 'title' => 'Reminders', 'pageTitle' => 'Reminders', 'active' => 'reminders', ]) @php $statusVariants = [ 'Scheduled' => 'warning', 'Sent' => 'success', 'Failed' => 'danger', 'Cancelled' => 'muted', ]; $summary = $summary ?? []; $activities = $activities ?? []; $performance = $performance ?? ['success_rate' => 0, 'whatsapp_share' => 0, 'note' => 'No reminder performance data is available yet.']; $quickLinks = [ ['label' => 'Message Templates', 'note' => 'Edit booking and invoice messages', 'icon' => 'file-text', 'route' => route('admin.reminders.templates')], ['label' => 'Scheduled Queue', 'note' => 'Review upcoming reminder jobs', 'icon' => 'clock', 'route' => route('admin.reminders.scheduled')], ['label' => 'Delivery Logs', 'note' => 'Track sent and failed reminders', 'icon' => 'chart-column', 'route' => route('admin.reminders.logs')], ['label' => 'Channel Settings', 'note' => 'Configure WhatsApp and SMTP', 'icon' => 'settings', 'route' => route('admin.reminders.whatsapp')], ]; @endphp @section('content')

Manage automated WhatsApp and email communication for appointments, invoices, and follow-ups.

@include('admin.reminders.partials.nav', ['activeTab' => 'overview'])
@foreach ($summary as $item)

{{ $item['label'] }}

{{ $item['value'] }}

{{ $item['note'] }}

@endforeach
@forelse ($activities as $activity)

{{ $activity['type'] }}

{{ $activity['channel'] }}

{{ $activity['customer'] }}

{{ $activity['message'] }}

{{ $activity['status'] }}

{{ $activity['time'] }}

@empty @endforelse
Delivery success {{ $performance['success_rate'] }}%
WhatsApp share {{ $performance['whatsapp_share'] }}%
{{ $performance['note'] }}
@foreach ($quickLinks as $link) {{ $link['label'] }} {{ $link['note'] }} @endforeach
@endsection