Update Laporan Hasil Menyembunyikan testcode EGFR, Baris ganda, test ganda ganda v3

This commit is contained in:
mikael-zakaria 2025-03-18 14:08:33 +07:00
parent 968b7677ac
commit 67fc5c9a6b

View File

@ -742,10 +742,6 @@ class PrintResult extends BaseController {
$i=0; $i=0;
foreach ($resultData as $item) { foreach ($resultData as $item) {
// Khusus untuk egfr male
if ($item['code_type'] == 15 && $item['test_eng']=='EGFR') {
continue;
}
// Jika tidak ada nama // Jika tidak ada nama
if ($item['test_eng'] == null) { if ($item['test_eng'] == null) {
continue; continue;
@ -1154,8 +1150,9 @@ class PrintResult extends BaseController {
$serum_type = $item["serum_type"]; $serum_type = $item["serum_type"];
$chapter_eng = $item['chap_eng']; $chapter_eng = $item['chap_eng'];
$printable = $item['NOTPRINTABLE']; $printable = $item['NOTPRINTABLE'];
$tesscode = $item["TESTCODE"];
return $serum_type != 'Feces' && $serum_type != 'Urine' && $chapter_eng != 'Note' && $serum_type != 'Swab Tenggorokan' && $printable !=1; return $serum_type != 'Feces' && $serum_type != 'Urine' && $chapter_eng != 'Note' && $serum_type != 'Swab Tenggorokan' && $printable !=1 && $tesscode!='EGFR';
}); });
$notes = array_filter($results, function($item) { $notes = array_filter($results, function($item) {