@extends('layouts.app') @section('title', 'CRM | Follow-ups') @section('content')

Patient Follow-ups

Daily relationship tracker — calls, complaints, and reviews.

{{-- ── Headline numbers ────────────────────────────────────────────── --}}

Due Today

{{ $stats['due_today'] }}

Done Today

{{ $stats['completed_today'] }}

Repeat Tomorrow

{{ $stats['repeat_tomorrow'] }}

Satisfied (Today)

{{ $stats['satisfied_today'] }}

Complaints (7d)

{{ $stats['complaints_recent'] }}

Reviews Sent

{{ $stats['reviews_sent_today'] }}

Return Visits (7d)

{{ $stats['return_visits_booked'] }}

{{-- ── Quick actions ────────────────────────────────────────────────── --}}
Open today's worklist {{ $stats['due_today'] > 0 ? '!' : '·' }} View overdue
{{-- ── Today's preview ──────────────────────────────────────────────── --}}

Due today — preview

See all →
@if($duePreview->isEmpty())

No calls due today. The team is all caught up.

@else @foreach($duePreview as $f) @endforeach
Patient Phone Trigger Department Reason

{{ $f->patient->full_name ?? '—' }}

{{ $f->patient->mrn ?? '' }}

{{ $f->patient->phone ?? '—' }} {{ $f->triggerLabel() }} {{ $f->department_snapshot ?? '—' }} {{ $f->reason }}
@endif
@endsection