Update Color Value Nilai Tidak Normal2
This commit is contained in:
parent
e91137f1ea
commit
32e34a6d77
@ -277,17 +277,19 @@ class PrintResult extends BaseController {
|
|||||||
$unittext = $item['UNITTEXT'];
|
$unittext = $item['UNITTEXT'];
|
||||||
if($unittext !='') {$unit = $unittext;}
|
if($unittext !='') {$unit = $unittext;}
|
||||||
|
|
||||||
|
// Untuk mewarnai value yang tidak beda dengan nilai normal
|
||||||
$color = "";
|
$color = "";
|
||||||
if ($resflag == 'L' || $resflag == 'H') {
|
if ($resflag == 'L' || $resflag == 'H') {
|
||||||
$color = "red_font";
|
$color = "red_font";
|
||||||
}
|
}
|
||||||
|
// Untuk mewarnai value yang tidak sama dengan nilai normal
|
||||||
if ($item['RESULT'] != $item['REFFTEXT'] && $item['code_type'] == 6 && $item['REFFTEXT'] != null) {
|
if ($item['RESULT'] != $item['REFFTEXT'] && $item['code_type'] == 6 && $item['REFFTEXT'] != null) {
|
||||||
$color = "red_font";
|
$color = "red_font";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$test = "";
|
$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) {
|
if ( strlen($item['test_eng']) > 24 || strlen($item['test_ind']) > 24) {
|
||||||
$test = "<pre>" . $space . $item["test_eng"]."<br>$space<small><i>".$item["test_ind"]."</i></small></pre>";
|
$test = "<pre>" . $space . $item["test_eng"]."<br>$space<small><i>".$item["test_ind"]."</i></small></pre>";
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user