Добавлен вывод кода отделения #2
Some checks failed
Build and Push Docker Image / test (push) Failing after 4s
Build and Push Docker Image / build (push) Failing after 24s

This commit is contained in:
brusnitsyn
2026-02-27 15:14:38 +09:00
parent 707d66a532
commit 8790b95d7b

View File

@@ -71,7 +71,7 @@ class IndexSttMedicalHistoryResource extends JsonResource
'dr' => $formattedBirthDate,
'daterecipient' => $formattedDateRecipient,
'dateextract' => $formattedDateExtract,
'department' => $department?->DepartmentNAME,
'department' => $department ? '[' . $department->DepartmentCODE . '] ' . $department->DepartmentNAME : '',
// Номера карт
'medcardnum' => $cardNumber, // MIS номер или FoxPro номер