Update Untuk STC2 yang testcodenya Null v2

This commit is contained in:
mikael-zakaria 2025-05-04 20:31:04 +07:00
parent c529c5e0b3
commit b0ba2a4df2

View File

@ -1155,7 +1155,7 @@ class PrintResult extends BaseController {
$printable = $item['NOTPRINTABLE'];
$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;
return $serum_type == 'Feces' && ( in_array($tesscode, ['STC2', 'SCSAL', 'SCSHI']) || in_array($shorttext, ['Stool Culture 2 Bact', 'Salmonella sp', 'Shigella sp']) ) && $printable !=1;
});
$data_feces_stc4 = array_filter($results, function($item) {
$serum_type = $item["serum_type"];