From 3de14194a716f0d03e9f65b157470b5e5614eb66 Mon Sep 17 00:00:00 2001 From: DevSoftTech Server Date: Sat, 6 Jun 2026 04:42:00 +0530 Subject: [PATCH] Add Preview button at top of IPD discharge form IMPROVEMENT: Preview button now always visible at top of page PROBLEM: Preview button was at bottom in sidebar, often hidden and users had to scroll to find it. SOLUTION: - Added Preview button at top right after patient header - Button labeled 'Preview Discharge Summary' with eye icon - Original sidebar button still present for convenience - Top button uses same onclick handler as sidebar button Now users can easily preview discharge summary without scrolling. --- app/Views/billing/ipd/discharge_create.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Views/billing/ipd/discharge_create.php b/app/Views/billing/ipd/discharge_create.php index 500ddaf..9afe6f0 100644 --- a/app/Views/billing/ipd/discharge_create.php +++ b/app/Views/billing/ipd/discharge_create.php @@ -601,6 +601,12 @@ $allergyStatusNoKnown = in_array($allergyStatusNormalized, ['no known drug aller / IPD ID : ipd_code ?? '')) ?> +
+ +
+