@extends('layouts.app') @section('title', 'Dental Visits') @section('content') {{-- Stats --}}
Today's Dental
{{ $stats['total_today'] }}
Waiting
{{ $stats['waiting'] }}
In Progress
{{ $stats['in_progress'] }}
Completed
{{ $stats['completed'] }}
| Patient | MRN | Age/Gender | Visit # | Check-in | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $v->patient->full_name ?? '' }} | {{ $v->patient->mrn ?? '' }} | {{ $v->patient->age ?? '-' }} · {{ ucfirst($v->patient->gender ?? '') }} | {{ $v->visit_number }} | {{ $v->check_in_at?->format('H:i') ?? '-' }} | @if($v->status === 'completed') Completed @elseif(in_array($v->status, ['waiting', 'urgent'])) {{ $v->status === 'urgent' ? 'Urgent' : 'Waiting' }} @elseif($v->status === 'in_consultation') In Progress @else {{ ucfirst(str_replace('_',' ',$v->status)) }} @endif | |
|
No dental visits {{ request('date') ? 'on ' . request('date') : 'today' }}. Create a dental visit → |
||||||