Revert Back

This commit is contained in:
mikael-zakaria 2025-05-04 20:34:01 +07:00
parent b0ba2a4df2
commit 7c3fcdcb2c

View File

@ -1153,9 +1153,7 @@ class PrintResult extends BaseController {
$serum_type = $item["serum_type"];
$tesscode = $item["TESTCODE"];
$printable = $item['NOTPRINTABLE'];
$shorttext = $item['SHORTTEXT'];
// Hanya Temporary
return $serum_type == 'Feces' && ( in_array($tesscode, ['STC2', 'SCSAL', 'SCSHI']) || in_array($shorttext, ['Stool Culture 2 Bact', 'Salmonella sp', 'Shigella sp']) ) && $printable !=1;
return $serum_type == 'Feces' && in_array($tesscode, ['STC2', 'SCSAL', 'SCSHI']) && $printable !=1;
});
$data_feces_stc4 = array_filter($results, function($item) {
$serum_type = $item["serum_type"];