From 2ae23c028441bfc6b9fe91a514aee6036a274d71 Mon Sep 17 00:00:00 2001 From: DevSoftTech Server Date: Tue, 31 Mar 2026 04:07:05 +0530 Subject: [PATCH] feat: add Create Rx-Group button and modal on consult page - added '+ Rx-Group' button beside Rx Group selector in medicine panel - added rxGroupCreateModal with Name/Complaints/Diagnosis/Investigation/Finding fields - pre-fills Complaints and Diagnosis from current consult textarea values - Save: creates group and refreshes catalog (group appears in selector) - Save & Apply: creates group and immediately applies it to current session - error shown inline in modal, catalog reloads after successful create --- app/Views/billing/opd_prescription_basic.php | 112 +++++++++++++++++++ 1 file changed, 112 insertions(+) diff --git a/app/Views/billing/opd_prescription_basic.php b/app/Views/billing/opd_prescription_basic.php index 9613391..91fbcec 100644 --- a/app/Views/billing/opd_prescription_basic.php +++ b/app/Views/billing/opd_prescription_basic.php @@ -747,6 +747,7 @@
+ No Rx-Group selected
@@ -952,6 +953,46 @@
+ + +