Generated: {{ now()->format('d M Y H:i') }}
| # | Date | Patient | Pharmacist | Prescription # | Status | Items |
|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ isset($item['dispensed_at']) ? \Carbon\Carbon::parse($item['dispensed_at'])->format('d M Y') : '-' }} | {{ $item['patient']['first_name'] ?? '' }} {{ $item['patient']['last_name'] ?? 'Anonymous' }} | {{ $item['pharmacist']['name'] ?? '-' }} | {{ $item['prescription']['prescription_number'] ?? '-' }} | {{ ucfirst($item['status'] ?? '-') }} | {{ count($item['lines'] ?? []) }} |