Добавлен столбец Тип оплаты
This commit is contained in:
@@ -21,7 +21,8 @@ class ReportNursePatient extends Model
|
||||
'hospital_result_id',
|
||||
'visit_result_id',
|
||||
'comment',
|
||||
'user_id'
|
||||
'user_id',
|
||||
'profit_type_id'
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
|
||||
@@ -239,6 +239,7 @@ class DutyReportService
|
||||
'hospital_result_id' => $h->hospital_result_id,
|
||||
'visit_result_id' => $h->visit_result_id,
|
||||
'comment' => $h->comment,
|
||||
'profit_type_id' => $h->profit_type_id,
|
||||
|
||||
'migrations' => $h->migrations->map(fn ($m) => [
|
||||
'id' => $m->original_id,
|
||||
@@ -350,6 +351,7 @@ class DutyReportService
|
||||
'urgency_id' => $patient['urgency_id'],
|
||||
'comment' => $patient['comment'] ?? null,
|
||||
'user_id' => $userId,
|
||||
'profit_type_id' => $patient['profit_type_id'],
|
||||
];
|
||||
|
||||
// ДОПОЛНИТЕЛЬНО: проверяем миграции на наличие выбытия в периоде
|
||||
|
||||
Reference in New Issue
Block a user