Проверка на существование движения
This commit is contained in:
@@ -57,7 +57,7 @@ class IndexSttMedicalHistoryResource extends JsonResource
|
|||||||
? "$archiveInfoMisCardNumber / $archiveInfoFoxproCardNumber"
|
? "$archiveInfoMisCardNumber / $archiveInfoFoxproCardNumber"
|
||||||
: $archiveInfoMisCardNumber ?? $archiveInfoFoxproCardNumber;
|
: $archiveInfoMisCardNumber ?? $archiveInfoFoxproCardNumber;
|
||||||
|
|
||||||
$department = $historyType === 'mis' ? $model->outcomeMigration->stationarBranch->department : null;
|
$department = $historyType === 'mis' ? $model->outcomeMigration?->stationarBranch->department : null;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'id' => $id,
|
'id' => $id,
|
||||||
|
|||||||
Reference in New Issue
Block a user