@extends('layouts.app') @section('title', 'Completed Dental Patients') @section('content')
{{-- PAGE HEADER --}}
Active Queue {{ $patients->count() }} Completed
{{-- FILTERS --}}
{{-- ALERTS --}} @if(session('success'))
{{ session('success') }}
@endif {{-- EMPTY STATE --}} @if($patients->isEmpty())
📋
No Completed Dental Patients

No completed dental encounters found for the selected period.

@else {{-- RESULTS COUNT --}}
Showing {{ $patients->count() }} completed encounters
{{-- RESULTS --}}
@foreach($patients as $index => $patient) @endforeach
# Patient Visit Diagnosis Encounter Summary Completed Actions
{{ $index + 1 }}
{{ $patient->first_name }} {{ $patient->last_name }}
{{ $patient->patient_no }} • {{ $patient->gender }}
{{ $patient->visit_no }}
{{ ucfirst($patient->visit_type) }}
{{ $patient->provisional_diagnosis ?? 'N/A' }}
{{ $patient->summary ?? 'No summary available' }}
{{ \Carbon\Carbon::parse( $patient->completed_at )->format('d M Y') }}
{{ \Carbon\Carbon::parse( $patient->completed_at )->format('H:i A') }}
{{ \Carbon\Carbon::parse( $patient->completed_at )->diffForHumans() }}
Review
@endif
@endsection