From 67fc5c9a6b9289753b0dd04bb12d3c94f9ff441d Mon Sep 17 00:00:00 2001 From: mikael-zakaria Date: Tue, 18 Mar 2025 14:08:33 +0700 Subject: [PATCH] Update Laporan Hasil Menyembunyikan testcode EGFR, Baris ganda, test ganda ganda v3 --- app/Controllers/PrintResult.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/Controllers/PrintResult.php b/app/Controllers/PrintResult.php index 4ae40aa..c480e94 100644 --- a/app/Controllers/PrintResult.php +++ b/app/Controllers/PrintResult.php @@ -742,10 +742,6 @@ class PrintResult extends BaseController { $i=0; foreach ($resultData as $item) { - // Khusus untuk egfr male - if ($item['code_type'] == 15 && $item['test_eng']=='EGFR') { - continue; - } // Jika tidak ada nama if ($item['test_eng'] == null) { continue; @@ -1154,8 +1150,9 @@ class PrintResult extends BaseController { $serum_type = $item["serum_type"]; $chapter_eng = $item['chap_eng']; $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) {