From 9a3f29660b16f9a58fea1b745263a5fa48e5da39 Mon Sep 17 00:00:00 2001 From: DevSoftTech Server Date: Sat, 25 Jul 2026 21:41:58 +0530 Subject: [PATCH] Add modal preview for OPD history scans --- app/Views/billing/opd_prescription_basic.php | 63 ++++++++++++++++++++ app/Views/billing/opd_scan_history_panel.php | 7 ++- 2 files changed, 69 insertions(+), 1 deletion(-) diff --git a/app/Views/billing/opd_prescription_basic.php b/app/Views/billing/opd_prescription_basic.php index 5c1fa5d..6b8769f 100644 --- a/app/Views/billing/opd_prescription_basic.php +++ b/app/Views/billing/opd_prescription_basic.php @@ -460,6 +460,25 @@ object-fit: contain; background: #f8f9fa; } + .rx-history-scan-modal-body { + max-height: calc(100vh - 140px); + min-height: 70vh; + overflow: auto; + background: #f8f9fa; + padding: .75rem; + } + .rx-history-scan-modal-dialog { + width: min(96vw, 1600px); + max-width: min(96vw, 1600px); + } + .rx-history-scan-modal-img { + display: block; + max-width: 100%; + max-height: calc(100vh - 190px); + width: auto; + height: auto; + margin: 0 auto; + } @media (min-width: 992px) { .rx-two-panel { --rx-panel-height: calc(100vh - 170px); @@ -1636,6 +1655,20 @@ + +