From b72a7f0ee1e6a0890caa58c8e9d3b4949c5ca1c4 Mon Sep 17 00:00:00 2001 From: brusnitsyn Date: Fri, 27 Feb 2026 15:36:18 +0900 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA?= =?UTF-8?q?=D0=B0=20=D0=BD=D0=B0=20=D1=81=D1=83=D1=89=D0=B5=D1=81=D1=82?= =?UTF-8?q?=D0=B2=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=B4=D0=B2=D0=B8?= =?UTF-8?q?=D0=B6=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Resources/IndexSttMedicalHistoryResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Resources/IndexSttMedicalHistoryResource.php b/app/Http/Resources/IndexSttMedicalHistoryResource.php index c0c68b7..f86ed17 100644 --- a/app/Http/Resources/IndexSttMedicalHistoryResource.php +++ b/app/Http/Resources/IndexSttMedicalHistoryResource.php @@ -57,7 +57,7 @@ class IndexSttMedicalHistoryResource extends JsonResource ? "$archiveInfoMisCardNumber / $archiveInfoFoxproCardNumber" : $archiveInfoMisCardNumber ?? $archiveInfoFoxproCardNumber; - $department = $historyType === 'mis' ? $model->outcomeMigration->stationarBranch->department : null; + $department = $historyType === 'mis' ? $model->outcomeMigration?->stationarBranch->department : null; return [ 'id' => $id,