From e91137f1ea5af73ed47962ce4df29e33031d8173 Mon Sep 17 00:00:00 2001 From: mikael-zakaria Date: Mon, 13 Jan 2025 22:39:45 +0700 Subject: [PATCH] Update Color Value Nilai Tidak Normal --- app/Controllers/PrintResult.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Controllers/PrintResult.php b/app/Controllers/PrintResult.php index fa9ffb0..bdb40be 100644 --- a/app/Controllers/PrintResult.php +++ b/app/Controllers/PrintResult.php @@ -278,7 +278,10 @@ class PrintResult extends BaseController { if($unittext !='') {$unit = $unittext;} $color = ""; - if($resflag == 'L' || $resflag == 'H'){ + if ($resflag == 'L' || $resflag == 'H') { + $color = "red_font"; + } + if ($item['RESULT'] != $item['REFFTEXT'] && $item['code_type'] == 6 && $item['REFFTEXT'] != null) { $color = "red_font"; }