@extends('layouts.app') @section('title','Pharmacy Sales Report') @section('content')
Total Sales
KES {{ number_format($sales->sum('total_price')) }}
Prescription (Rx)
KES {{ number_format($rx->sum('total_price')) }}
OTC Sales
KES {{ number_format($otc->sum('total_price')) }}
| Drug | Type | Qty | Revenue | Date |
|---|---|---|---|---|
| {{ $s->drugItem->name ?? '-' }} | {{ $s->prescription_id ? 'Rx' : 'OTC' }} | {{ $s->quantity_dispensed }} | {{ number_format($s->total_price) }} | {{ $s->created_at->format('d M H:i') }} |