diff --git a/app/Views/billing/Patient_Profile_Opd_V.php b/app/Views/billing/Patient_Profile_Opd_V.php
index c139469..042afe2 100644
--- a/app/Views/billing/Patient_Profile_Opd_V.php
+++ b/app/Views/billing/Patient_Profile_Opd_V.php
@@ -1,8 +1,22 @@
+id ?? 0) . '/0';
+ $backUrl = trim((string) $request->getGet('back_url'));
+ $backTitle = trim((string) $request->getGet('back_title'));
+
+ if ($backUrl === '') {
+ $backUrl = $defaultBackUrl;
+ }
+ if ($backTitle === '') {
+ $backTitle = 'Profile';
+ }
+?>
+
Consult History
@@ -15,7 +29,10 @@
Old Prescription With Scanned Records
Patient: = esc($patient->p_fname ?? '') ?>
- = count($opdGroups ?? []) ?> OPD Record(s)
+
+
Back
+
= count($opdGroups ?? []) ?> OPD Record(s)
+
diff --git a/app/Views/billing/Patient_Search_V.php b/app/Views/billing/Patient_Search_V.php
index 961ddf2..aff20a2 100644
--- a/app/Views/billing/Patient_Search_V.php
+++ b/app/Views/billing/Patient_Search_V.php
@@ -58,4 +58,44 @@
+
+
\ No newline at end of file
diff --git a/app/Views/billing/opd_appointment_list.php b/app/Views/billing/opd_appointment_list.php
index 714feae..2c31d3c 100644
--- a/app/Views/billing/opd_appointment_list.php
+++ b/app/Views/billing/opd_appointment_list.php
@@ -116,6 +116,22 @@ $mergedGroups = [
= esc($row->p_code ?? '') ?> |
= esc($row->opd_type ?? '') ?> / Amt: = esc($row->opd_fee_amount ?? '') ?> |
+ id ?? 0); ?>
+ $historyBackUrl,
+ 'back_title' => 'OPD Appointment List',
+ ]);
+ ?>
+ 0) : ?>
+
+
+
+
|