Revert Back
This commit is contained in:
parent
b0ba2a4df2
commit
7c3fcdcb2c
@ -1153,9 +1153,7 @@ 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'];
|
||||||
$shorttext = $item['SHORTTEXT'];
|
return $serum_type == 'Feces' && in_array($tesscode, ['STC2', 'SCSAL', 'SCSHI']) && $printable !=1;
|
||||||
// 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;
|
|
||||||
});
|
});
|
||||||
$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