Update AHIV,AHCV,HBSAG,AHBS,HBSAB dan VDRL Agar Tidak Merah Saat Nilai Tidak Normal

This commit is contained in:
mikael-zakaria 2025-03-27 17:32:00 +07:00
parent e66c10d5e6
commit 83310f88a4

View File

@ -883,7 +883,14 @@ class PrintResult extends BaseController {
} }
} else { // Jika Rentang diatas nilai normal } else { // Jika Rentang diatas nilai normal
$color = "red_font";
// Pengecualian Khusus
$excludedred = ["HBsAg", "Anti HIV", "VDRL/Anti TP", "Anti HCV", "Anti HBs", "HBs-Ab"];
if (in_array(strtolower($item['SHORTTEXT']), $excludedred)) {
$color = "";
} else { // Normal
$color = "red_font";
}
} }
} }