@extends('layouts.master') @section('title', $title) @section('content')
Eye exams today

{{ $stats['exams_today'] }}

IOP readings today

{{ $stats['iop_today'] }}

Recalls pending

{{ $stats['recalls_pending'] }}

Recalls missed

{{ $stats['recalls_missed'] }}

Sales orders pending confirm

{{ $stats['orders_pending'] }}

Surgeries planned

{{ $stats['surgeries_planned'] }}

Confirmed sales order revenue

$ {{ number_format($confirmed_revenue, 2) }}

Diagnostic tests recorded

{{ $diagnostic_tests_count }}

Contact lens fittings recorded

{{ $contact_lens_count }}

Upcoming & Overdue Recalls
@forelse ($upcoming_recalls as $recall) @empty @endforelse
Patient Reason Due date Status
{{ $recall->Patient?->name }} (ID: {{ $recall->Patient?->patient_id }}) {{ ucwords(str_replace('_', ' ', $recall->reason)) }} {{ \Carbon\Carbon::parse($recall->due_date)->format('d M, Y') }} @if ($recall->status == 'missed') Missed @else Pending @endif
No upcoming or overdue recalls
@can('patient-eye_recall-view') View full recall worklist @endcan
@endsection