@php $doctorName = $doctor['full_name'] ?? 'Doctor'; $displayDoctorName = str_starts_with($doctorName, 'Dr.') ? $doctorName : 'Dr. ' . $doctorName; $roomName = $room['room_name'] ?? 'Dental Room 1'; @endphp Follow-Up Cases
{{ now()->format('D, d M Y') }}
🔔
⚙
@if(session('success'))
{{ session('success') }}
@endif

Follow-Up Cases

Monitor follow-up requests created after patient treatment

■
Pending

{{ $pendingCount }}

■
Scheduled

{{ $scheduledCount }}

Appointment arranged

■
Completed

{{ $completedCount }}

Follow-up done

Follow-Up List

{{ count($followUps) }} cases total
@forelse($followUps as $f) @php $patient = $f['patient'] ?? []; $name = $patient['full_name'] ?? 'Unknown Patient'; $initial = strtoupper(substr($name, 0, 1)); $date = !empty($f['follow_up_date']) ? date('d M Y', strtotime($f['follow_up_date'])) : '-'; $status = strtolower($f['status'] ?? 'pending'); @endphp @empty
No follow-up cases found.
@endforelse