@extends('layouts.admin') @section('page_title', 'Pharmacist Dashboard') @section('content')
Pending Prescriptions
{{ $stats['pending_prescriptions'] }}
Dispensed Today
{{ $stats['dispensed_today'] }}
Medicines in Inventory
{{ $stats['medicines'] }}
Pharmacy rules
Prescriptions arrive as soon as the doctor submits them (broadcast + this list auto-refreshes). Open a prescription to review the full order (read-only). Use Prepare & dispense only when medication is ready—clinical fields cannot be edited here.
Sorted by time sent to pharmacy. Updates every 12 seconds and when pharmacy/workspace events fire.
#{{ $prescription->id }} · {{ $prescription->patient?->name ?? 'Patient #'.$prescription->patient_id }}
{{ $prescription->status }} @if($prescription->sent_to_pharmacy_at) · sent {{ $prescription->sent_to_pharmacy_at->format('M j, H:i') }} @endif · {{ $prescription->items->count() }} line(s)