@extends('layouts.adminlte') @section('content')
Manage medicines, stock batches, prescriptions, and dispensing.
| Medicine | Code | Available | Reorder level | Batch / expiry | Status |
|---|---|---|---|---|---|
| {{ $medicine->name }}{{ $medicine->form }} {{ $medicine->strength }} | {{ $medicine->code }} | {{ $medicine->available_stock }} {{ $medicine->unit }} | {{ $medicine->reorder_level }} | @forelse($medicine->batches as $batch){{ $batch->batch_number }} · {{ $batch->expiry_date->format('d M Y') }}@emptyNo batches@endforelse | {{ $medicine->available_stock <= $medicine->reorder_level ? 'Low stock' : 'In stock' }} |
| No medicines configured. | |||||
| Patient | Prescription | Medicine | Directions | Dispense |
|---|---|---|---|---|
| {{ $prescription->patient->first_name }} {{ $prescription->patient->last_name }} | {{ $prescription->prescription_number }} | {{ $item->medicine->name }} {{ $item->medicine->strength }}{{ $item->dispensings->sum('quantity') }}/{{ $item->quantity }} dispensed | {{ $item->quantity }} {{ $item->medicine->unit }} · {{ $item->dose }} · {{ $item->frequency }} | |
| No pending prescriptions. | ||||