| # | +Voucher No. | +Date | +Medicine Name | +Batch | +Exp. Date | +Supplier | +Disposed Qty | +P. Rate | +Loss Value | +Reason | +Method | +Disposed By | +
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + + No medicine disposal records found for the selected period. + | +||||||||||||
| = $sr++ ?> | ++ = esc($r->disposal_no ?? ('EXP#' . $r->id)) ?> + | += esc(date('d-m-Y', strtotime($r->disposal_date))) ?> | += esc($r->item_name ?? '-') ?> | += esc($r->batch_no ?? '-') ?> | += esc($r->expiry_date ? date('d-m-Y', strtotime($r->expiry_date)) : '-') ?> | += esc($r->supplier_name ?? '-') ?> | += esc(number_format((float) ($r->qty ?? 0), 2)) ?> | +₹= esc(number_format((float) ($r->purchase_unit_rate ?? 0), 2)) ?> | +₹= esc(number_format((float) ($r->total_cost_amount ?? 0), 2)) ?> | ++ = esc($r->disposal_reason ?? 'Expired') ?> + | += esc($r->disposal_method ?? '-') ?> | += esc($r->disposed_by_name ?? '-') ?> | +
| Total Summary: | += number_format($totalUnits, 2) ?> | ++ | ₹= number_format($totalLoss, 2) ?> | ++ | ||||||||
| Total Disposed Batches | +Total Quantity Written Off / Lost | +Total Purchase Value (Financial Loss) | +
|---|---|---|
| = count($records) ?> batches | += number_format($totalUnits, 2) ?> units | +₹ = number_format($totalLoss, 2) ?> | +
| # | +Voucher No | +Date | +Medicine Name | +Batch No | +Exp. Date | +Supplier | +Qty | +Rate (₹) | +Loss Amt (₹) | +Reason | +Disposal Method | +Disposed By | +
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| No medicine disposal records found for the selected period. | ||||||||||||
| = $sr++ ?> | += esc($r->disposal_no ?? ('EXP#' . $r->id)) ?> | += esc(date('d-m-Y', strtotime($r->disposal_date))) ?> | += esc($r->item_name ?? '-') ?> | += esc($r->batch_no ?? '-') ?> | += esc($r->expiry_date ? date('d-m-Y', strtotime($r->expiry_date)) : '-') ?> | += esc($r->supplier_name ?? '-') ?> | += esc(number_format((float) ($r->qty ?? 0), 2)) ?> | += esc(number_format((float) ($r->purchase_unit_rate ?? 0), 2)) ?> | += esc(number_format((float) ($r->total_cost_amount ?? 0), 2)) ?> | += esc($r->disposal_reason ?? 'Expired') ?> | += esc($r->disposal_method ?? '-') ?> | += esc($r->disposed_by_name ?? '-') ?> | +
| Total Summary: | += number_format($totalUnits, 2) ?> | ++ | ₹ = number_format($totalLoss, 2) ?> | ++ | ||||||||
|
+ Pharmacist / Store Incharge + Signature & Date + |
+ + |
+ Medical Superintendent / Administrator + Verified & Approved + |
+ + |
+ Bio-Medical Waste Handover + Agency Rep. Signature / Stamp + |
+
| # | Item | Supplier | @@ -86,14 +128,19 @@ foreach ($rows as $summaryRow) {Qty | C.Qty | Status | +Action | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| No near-expiry or expired medicines found in stock. | ||||||||||||||||
| = esc((string) $srno++) ?> | -= esc($row->item_name ?? $row->Item_name ?? '') ?> | -= esc($row->name_supplier ?? '') ?> | += esc($itemName) ?> | += esc($supplierName) ?> | = esc($row->str_date_of_invoice ?? '') ?> | -= esc($row->batch_no ?? '') ?> | -= esc($row->exp_date ?? '') ?> | -= esc(number_format((float) ($row->mrp ?? 0), 2)) ?> | += esc($batchNo) ?> | += esc($expDisplay) ?> | += esc(number_format($rate, 2)) ?> | = esc(number_format((float) ($row->tqty ?? 0), 2)) ?> | -= esc(number_format((float) ($row->cur_qty ?? 0), 2)) ?> | += esc(number_format($curQty, 2)) ?> | = esc($statusLabel) ?> (= esc((string) $daysToExpiry) ?> days) | ++ + + |