From 0d9e0b1ccffa6c9b616c312a364e7818e3f07c6a Mon Sep 17 00:00:00 2001 From: DevSoftTech Server Date: Tue, 27 Oct 2026 01:39:57 +0530 Subject: [PATCH] fix(pharmacy): high-contrast white text on active selection in drug search dropdown --- app/Views/medical/product_edit.php | 77 ++++++++++++++++++++++++++++-- 1 file changed, 72 insertions(+), 5 deletions(-) diff --git a/app/Views/medical/product_edit.php b/app/Views/medical/product_edit.php index 5c1b130..667e6a2 100644 --- a/app/Views/medical/product_edit.php +++ b/app/Views/medical/product_edit.php @@ -34,15 +34,82 @@ $flag = static function ($v): string {
@@ -1179,7 +1246,7 @@ window.closeDrugMasterSubView = window.closeDrugMasterSubView || function () { var fullTitle = displayName || label || brandName || identifier; - var $a = $(''); + var $a = $(''); $a.attr('data-idx', String(idx)); var detailParts = []; @@ -1197,16 +1264,16 @@ window.closeDrugMasterSubView = window.closeDrugMasterSubView || function () { } var html = '
' - + '
' + $('
').text(fullTitle).html() + '
'; + + '
' + $('
').text(fullTitle).html() + '
'; if (manufacturerName) { - html += ' ' + html += ' ' + $('
').text(manufacturerName).html() + ' '; } html += '
'; if (detailParts.length) { - html += '
' + detailParts.join('  |  ') + '
'; + html += '
' + detailParts.join('  •  ') + '
'; } $a.html(html);