@extends('layouts.app') @section('title', 'Pharmacist Dashboard') @section('content')
Total Appointments
{{ $stats['appointments'] }}
Pending Appointments
{{ $stats['pending_appointments'] }}
Total Patients
{{ $stats['patients'] }}
{{ $notification->data['message'] ?? 'New notification' }}
@if(isset($notification->data['prescription_id']))Prescription #: {{ $notification->data['prescription_number'] ?? 'N/A' }}
Patient: {{ $notification->data['patient_name'] ?? 'N/A' }}
{{ $notification->created_at->diffForHumans() }}
| Patient | Date | Status |
|---|---|---|
| {{ $appointment->patient->full_name }} | {{ $appointment->appointment_date->format('M d, Y H:i') }} | {{ ucfirst($appointment->status) }} |