Update Untuk STC2 yang testcodenya Null
This commit is contained in:
parent
9ec94ad3e1
commit
c529c5e0b3
@ -1153,7 +1153,9 @@ class PrintResult extends BaseController {
|
|||||||
$serum_type = $item["serum_type"];
|
$serum_type = $item["serum_type"];
|
||||||
$tesscode = $item["TESTCODE"];
|
$tesscode = $item["TESTCODE"];
|
||||||
$printable = $item['NOTPRINTABLE'];
|
$printable = $item['NOTPRINTABLE'];
|
||||||
return $serum_type == 'Feces' && in_array($tesscode, ['STC2', 'SCSAL', 'SCSHI']) && $printable !=1;
|
$shorttext = $item['SHORTTEXT'];
|
||||||
|
// Hanya Temporary
|
||||||
|
return $serum_type == 'Feces' && ( in_array($tesscode, ['STC2', 'SCSAL', 'SCSHI']) || in_array($tesscode, ['Stool Culture 2 Bact', 'Salmonella sp', 'Shigella sp']) ) && $printable !=1;
|
||||||
});
|
});
|
||||||
$data_feces_stc4 = array_filter($results, function($item) {
|
$data_feces_stc4 = array_filter($results, function($item) {
|
||||||
$serum_type = $item["serum_type"];
|
$serum_type = $item["serum_type"];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user