Проверка на существование движения
Some checks failed
Build and Push Docker Image / test (push) Failing after 3s
Build and Push Docker Image / build (push) Has been cancelled

This commit is contained in:
brusnitsyn
2026-02-27 15:36:18 +09:00
parent 988ef6f519
commit b72a7f0ee1

View File

@@ -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,