Stock
Loading pharmacy orders...
Patient Status Actions @forelse($prescriptions as $p)

{{ $p->doctor?->full_name ?? 'Unassigned' }}

{{ $p->created_at->format('d M, Y H:i') }}

@foreach(($p->medicines ?? []) as $m)

{{ $m['name'] ?? 'Medicine' }} ({{ $m['dose'] ?? 'N/A' }})

@endforeach
{{ $p->is_dispensed ? 'Dispensed' : 'Pending' }}
@if(!$p->is_dispensed) @else

Dispensed at {{ $p->dispensed_at ? $p->dispensed_at->format('H:i') : 'N/A' }}

@endif
@empty @endforelse
@if($prescriptions->hasPages())
{{ $prescriptions->links() }}
@endif