@php $patient = $admission->Appointment?->Patient ?? $admission->Patient; @endphp
| Patient: | {{ $patient?->name }} | Patient ID: | {{ $patient?->patient_id }} |
|---|---|---|---|
| Admitted: | {{ $admission->date_in ? \Carbon\Carbon::parse($admission->date_in)->format('d M, Y') : '-' }} | Doctor: | {{ $admission->Doctor?->name }} |
| Status: | {{ $admission->status }} | Bed: | {{ $admission->bed }} |
| # | Date | Time | Drug | Dose | Route | Note | Status | Stopped by |
|---|---|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $m->date ? \Carbon\Carbon::parse($m->date)->format('d M, Y') : '-' }} | {{ $m->time ? \Carbon\Carbon::parse($m->time)->format('h:i A') : '-' }} | {{ $m->drugName() }} | {{ $m->dose }} | {{ $m->form?->name }} | {{ $m->note }} | {{ $m->status }} | {{ $m->st?->name }} |
| No medications recorded. | ||||||||
| # | Sold | Drug | Quantity | Invoice | Created by |
|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ \Carbon\Carbon::parse($ph->sold_at)->format('d M, Y h:i A') }} | {{ $ph->prd?->name ?? 'Deleted product' }} | {{ $ph->quantity + 0 }} {{ $ph->measurement?->name }} | POS #{{ $ph->invoice_no }} · {{ $ph->invoice_status }} | {{ $ph->created_by_name }} |
| Nothing charged from the pharmacy. | |||||
| # | Date | Product | Quantity | Note | Recorded by |
|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $p->date ? \Carbon\Carbon::parse($p->date)->format('d M, Y') : '-' }} | {{ $p->product?->name }} | {{ rtrim(rtrim(number_format((float) $p->quantity, 2), '0'), '.') }} | {{ $p->note }} | {{ $p->user?->name }} |
| No products recorded. | |||||