From ee6b13d44725ba7bb4cb9a9526d00a8452a583bf Mon Sep 17 00:00:00 2001 From: brusnitsyn Date: Thu, 4 Jun 2026 16:07:13 +0900 Subject: [PATCH] =?UTF-8?q?[=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5]:=20=D0=A1=D0=BE=D1=85=D1=80=D0=B0?= =?UTF-8?q?=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BE=D1=82=D1=87=D0=B5=D1=82?= =?UTF-8?q?=D0=B0=20=D1=81=20=D0=BD=D0=B0=D0=B1=D0=BB=D1=8E=D0=B4=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=D0=BC=20#1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/DutyReportService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/DutyReportService.php b/app/Services/DutyReportService.php index 0e02292..0b9d26c 100644 --- a/app/Services/DutyReportService.php +++ b/app/Services/DutyReportService.php @@ -868,7 +868,7 @@ class DutyReportService { foreach ($observables as $observable) { ObservableMedicalHistory::updateOrCreate([ - 'original_id' => $observable['original_id'], + 'original_id' => $observable['original_id'] ?? $observable['id'], 'source_type' => $observable['source_type'], 'observable_in' => $observable['observable_in'] ?? $reportDuty->period_start, ], [