From b20d5b3ae8474553143b3d9ebbdf511c2add9e0e Mon Sep 17 00:00:00 2001 From: DevSoftTech Server Date: Tue, 5 May 2026 23:07:10 +0530 Subject: [PATCH] Show opd_no in OPD Q No column --- app/Views/billing/opd_appointment_list.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Views/billing/opd_appointment_list.php b/app/Views/billing/opd_appointment_list.php index f475b10..1f60d83 100644 --- a/app/Views/billing/opd_appointment_list.php +++ b/app/Views/billing/opd_appointment_list.php @@ -91,6 +91,10 @@ $mergedGroups = [ $isConfirmedForQueue= (int) ($row->is_confirmed_for_queue ?? 0) === 1; $queueNo = (int) (($row->display_queue_no ?? 0) ?: ($row->queue_no ?? 0)); $hasQueueNo = $queueNo > 0; + $queueDisplay = trim((string) ($row->opd_no ?? '')); + if ($queueDisplay === '' && $hasQueueNo) { + $queueDisplay = (string) $queueNo; + } $showFullActions = $hasPrescription || $isConfirmedForQueue; $opdId = (int) ($row->opd_id ?? 0); $patientRawName = trim((string) ($row->P_name ?? '') . ' { ' . (string) ($row->p_rname ?? '') . ' }'); @@ -112,7 +116,7 @@ $mergedGroups = [ opd_code ?? '') ?> - + p_code ?? '') ?> opd_type ?? '') ?> / Amt: opd_fee_amount ?? '') ?>