From db0695803ec23e3194ebd06f0d06d28064407f85 Mon Sep 17 00:00:00 2001 From: Dwi Swandhana Date: Fri, 30 Jan 2026 10:05:59 +0700 Subject: [PATCH] push --- htdocs/app/Services/AstmMessageService.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/app/Services/AstmMessageService.php b/htdocs/app/Services/AstmMessageService.php index 838bf848..041898fd 100644 --- a/htdocs/app/Services/AstmMessageService.php +++ b/htdocs/app/Services/AstmMessageService.php @@ -779,11 +779,13 @@ class AstmMessageService if (isset($cekline[1])){ Log::info('Found F segment: '.$cekline[1]); $f = explode('|', $cekline[1]); - $resultDateTime2 = $this->astmToDateTime($f[4] ?? null); + $resultDateTime2 = $this->astmToDateTime($f[3] ?? null); if ($resultDateTime2){ $parsed['result'] = array_merge($parsed['result'], [ 'result_status_datetime' => $resultDateTime2, - 'test_complete_datetime' => $this->astmToDateTime($f[5] ?? null), + ]); + $parsed['instrument'] = array_merge($parsed['instrument'], [ + 'instrument_type' => $f[4] ?? null, ]); }