Perbaikan Update Rescomment
This commit is contained in:
parent
922b6c3e35
commit
c4fcc468f4
@ -397,11 +397,20 @@ class PrintResult extends BaseController {
|
|||||||
|
|
||||||
// Hanya Untuk Kondisi Ada Komentar Dibawah Result
|
// Hanya Untuk Kondisi Ada Komentar Dibawah Result
|
||||||
if ($item['RESCOMMENT'] != null) {
|
if ($item['RESCOMMENT'] != null) {
|
||||||
$rescomment = "<br><i>" . $item['RESCOMMENT'] . "</i>";
|
$redWord = ["positive", "reactive", "pos", "reac"];
|
||||||
$redWord = ["positive", "reactive"];
|
|
||||||
if (in_array(strtolower($item['RESCOMMENT']), $redWord)) {
|
if (in_array(strtolower($item['RESCOMMENT']), $redWord)) {
|
||||||
$color = "red_font";
|
$color = "red_font";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$comment = $item['RESCOMMENT'];
|
||||||
|
// Kondisi Sangat Khusus
|
||||||
|
if ($item['RESCOMMENT'] == "NREAC") {
|
||||||
|
$comment = "Non Reactive";
|
||||||
|
} else if ($item['RESCOMMENT'] == "REAC") {
|
||||||
|
$comment = "Reactive";
|
||||||
|
}
|
||||||
|
$rescomment = "<br><i>" . $comment . "</i>";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$rescomment = "";
|
$rescomment = "";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user