Update Nilai test Fiber FMIFI Tidak Perlu merah jika hasil positive
This commit is contained in:
parent
b4648c67b3
commit
3ef0a7bbb0
@ -856,14 +856,23 @@ class PrintResult extends BaseController {
|
|||||||
if ($item['code_type'] == 6 && $item['REFFTEXT'] != null) {
|
if ($item['code_type'] == 6 && $item['REFFTEXT'] != null) {
|
||||||
|
|
||||||
if ($range == true) { // Jika nilai masih dalam rentang nilai normal misal : 0 - 1
|
if ($range == true) { // Jika nilai masih dalam rentang nilai normal misal : 0 - 1
|
||||||
|
|
||||||
$color = "";
|
$color = "";
|
||||||
|
|
||||||
} elseif ($range == false) { // Jika nilai bukan merupakan rentang alias hanya code
|
} elseif ($range == false) { // Jika nilai bukan merupakan rentang alias hanya code
|
||||||
|
|
||||||
|
if ($item['TESTCODE'] == 'FMIFI') { // Khusus Kode Ini jika Positive maka tidak perlu merah
|
||||||
|
|
||||||
|
$color = "";
|
||||||
|
|
||||||
|
} else { //Jika Hasil positive atau reactive maka beri wanra merah
|
||||||
$redWord = ["positive", "reactive"];
|
$redWord = ["positive", "reactive"];
|
||||||
if (in_array(strtolower($item['RESULT']), $redWord)) {
|
if (in_array(strtolower($item['RESULT']), $redWord)) {
|
||||||
$color = "red_font";
|
$color = "red_font";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else { // Jika Rentang diatas nilai normal
|
|
||||||
|
} else { // Jika Rentang diatas nilai normal
|
||||||
$color = "red_font";
|
$color = "red_font";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user