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: p_fname ?? '') ?>
- OPD Record(s) +
+ Back + 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 = [ p_code ?? '') ?> opd_type ?? '') ?> / Amt: opd_fee_amount ?? '') ?> + id ?? 0); ?> + $historyBackUrl, + 'back_title' => 'OPD Appointment List', + ]); + ?> + 0) : ?> + + + + + id ?? 0) . '/1?' . http_build_query([ + 'back_url' => $historyBackUrl, + 'back_title' => 'Consult', + ]); + ?> + + +