diff --git a/app/Views/billing/Patient_V.php b/app/Views/billing/Patient_V.php index 292eabd..c005243 100644 --- a/app/Views/billing/Patient_V.php +++ b/app/Views/billing/Patient_V.php @@ -1,4 +1,18 @@ +
@@ -21,6 +35,11 @@ data-bs-target="#lastopd" type="button" role="tab" aria-controls="lastopd" aria-selected="false" data-url="">Last OPDs +
@@ -243,11 +262,127 @@
+
+
+
+
+
+
+
ABHA Number Create and Verify
+

Create and verify your unique health identification number

+ + + +
+
+
+ +
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+ +
+
+
+
+ +
+
+ +
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
@@ -274,9 +409,21 @@ $('form.form2').on('submit', function(form) { form.preventDefault(); + var searchBtn = $('form.form2 button[type="submit"]'); + var loadingDiv = $('#search_loading'); + + // Show loading indicator and disable button + loadingDiv.show(); + searchBtn.prop('disabled', true); + searchBtn.text('Searching...'); + $.post('', $('form.form2').serialize(), function(data) { $('div.searchresult').html(data); - $('#example1').DataTable(); + + // Hide loading indicator and re-enable button + loadingDiv.hide(); + searchBtn.prop('disabled', false); + searchBtn.text('Go!'); }); }); @@ -377,6 +524,10 @@ }); $("#input_name") + .on("focus", function() { + // Suppress browser autocomplete suggestions + $(this).removeAttr('readonly').off('mousedown.autocomplete'); + }) // don't navigate away from the field on tab when selecting an item .on("keydown", function(event) { if (event.keyCode === $.ui.keyCode.TAB && @@ -515,7 +666,7 @@ function onchange_title() { var d = $('#cbo_title').val(); - if (d == "Mr." || d == "Master" || d == "Baby Boy") { + if (d == "Mr." || d == "Master" || d == "Baby Boy" || d == "Mohd.") { $("#options_gender1").prop("checked", true); } else { $("#options_gender2").prop("checked", true); diff --git a/app/Views/billing/ipd/panel_package.php b/app/Views/billing/ipd/panel_package.php index 10634bf..d03f973 100644 --- a/app/Views/billing/ipd/panel_package.php +++ b/app/Views/billing/ipd/panel_package.php @@ -12,6 +12,45 @@ $ayushmanButtonClass = $isAyushmanCase ? 'accordion-button' : 'accordion-button $ayushmanChecklistItems = $ayushman_checklist_items ?? []; ?> + +
IPD Package @@ -110,7 +149,7 @@ $ayushmanChecklistItems = $ayushman_checklist_items ?? [];
- amount1 ?? $row->Pakage_Min_Amount ?? 0); ?> @@ -277,10 +316,6 @@ $ayushmanChecklistItems = $ayushman_checklist_items ?? [];
- -
- Ayushman Bharat treatment search is shown automatically for cases where insurance or scheme contains Ayushman or PMJAY. -
@@ -332,6 +367,19 @@ $ayushmanChecklistItems = $ayushman_checklist_items ?? []; var ipdAyushmanClaimSheetUrl = ''; var ipdAyushmanResults = {}; + // Initialize Select2 on package list select + (function initPackageSelect2() { + if (window.jQuery && $.fn && $.fn.select2) { + $('#package_list_id').select2({ + placeholder: 'Search package...', + allowClear: true, + width: '100%' + }).on('select2:select select2:clear', function() { + ipdPackageSetRate(); + }); + } + })(); + function normalizeText(value) { return String(value || '') .toLowerCase() diff --git a/public/assets/images/hospital_logo_20260507_183044_245e94f7.png b/public/assets/images/hospital_logo_20260507_183044_245e94f7.png new file mode 100644 index 0000000..c19a0ed Binary files /dev/null and b/public/assets/images/hospital_logo_20260507_183044_245e94f7.png differ