@extends('layouts.app') @section('title', __('app.dashboard')) @section('page_title', __('app.welcome') . ', ' . auth()->user()->name) @section('content')

{{ $stats['total_patients'] }}

{{ __('app.patients') }}

{{ $stats['today_appointments'] }}

{{ __('app.appointments') }} ({{ __('app.today') ?? 'Today' }})

{{ $stats['pending_invoices'] }}

{{ __('app.pending_invoices') ?? 'Pending Invoices' }}

{{ number_format($stats['month_revenue'], 2) }}

{{ __('app.month_revenue') ?? 'Month Revenue' }}

{{ __('app.upcoming_appointments') ?? 'Upcoming Appointments' }}

@forelse($recent_appointments as $appointment) @empty @endforelse
{{ __('app.patient') ?? 'Patient' }} {{ __('app.therapist') ?? 'Therapist' }} {{ __('app.date') }} {{ __('app.time') }} {{ __('app.status') }}
{{ $appointment->patient->fullName() }} {{ $appointment->user->name }} {{ $appointment->appointment_date->format('Y-m-d') }} {{ $appointment->appointment_date->format('H:i') }} {{ $appointment->status }}
{{ __('app.no_appointments') ?? 'No upcoming appointments' }}
@endsection