diff --git a/app/Controllers/PrintResult.php b/app/Controllers/PrintResult.php index bdb40be..4c5ea8b 100644 --- a/app/Controllers/PrintResult.php +++ b/app/Controllers/PrintResult.php @@ -277,17 +277,19 @@ class PrintResult extends BaseController { $unittext = $item['UNITTEXT']; if($unittext !='') {$unit = $unittext;} + // Untuk mewarnai value yang tidak beda dengan nilai normal $color = ""; if ($resflag == 'L' || $resflag == 'H') { $color = "red_font"; } + // Untuk mewarnai value yang tidak sama dengan nilai normal if ($item['RESULT'] != $item['REFFTEXT'] && $item['code_type'] == 6 && $item['REFFTEXT'] != null) { $color = "red_font"; } $test = ""; - // Untuk Nama Test Apakah lebih dari 24 karakter + // Untuk Nama Test Apakah lebih dari 24 karaktera if ( strlen($item['test_eng']) > 24 || strlen($item['test_ind']) > 24) { $test = "
" . $space . $item["test_eng"].""; } else {
$space".$item["test_ind"]."