From 9ec94ad3e1fbc8e46126fb0e718e2fc3e8d7597a Mon Sep 17 00:00:00 2001 From: mikael-zakaria Date: Thu, 1 May 2025 13:12:35 +0700 Subject: [PATCH] Update Menghilangkan Excluded Red Pada Test : Anti HIV, Anti HCV, Anti HBs --- app/Controllers/PrintResult.php | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/app/Controllers/PrintResult.php b/app/Controllers/PrintResult.php index 3b6ab62..c278289 100644 --- a/app/Controllers/PrintResult.php +++ b/app/Controllers/PrintResult.php @@ -906,18 +906,19 @@ class PrintResult extends BaseController { // Hanya Untuk Kondisi Ada Komentar Dibawah Result if ($item['RESCOMMENT'] != null) { - $redWord = ["positive", "reactive", "pos", "reac"]; - if (in_array(strtolower($item['RESCOMMENT']), $redWord)) { - - // Pengecualian Khusus Untuk Test Berikut - $excludedred = ["Anti HIV", "Anti HCV", "Anti HBs"]; - if (in_array($item['SHORTTEXT'], $excludedred)) { - $color = ""; - } else { // Normal - $color = "red_font"; - } - } + // $redWord = ["positive", "reactive", "pos", "reac"]; + // if (in_array(strtolower($item['RESCOMMENT']), $redWord)) { + + // // Pengecualian Khusus Untuk Test Berikut + // $excludedred = ["Anti HIV", "Anti HCV", "Anti HBs"]; + // if (in_array($item['SHORTTEXT'], $excludedred)) { + // $color = ""; + // } else { // Normal + // $color = "red_font"; + // } + + // } $comment = $item['RESCOMMENT']; // Kondisi Sangat Khusus