From: marina Date: Thu, 13 Jun 2024 06:36:21 +0000 (+0300) Subject: ERP-5 Доработать фактический план по сотрудникам X-Git-Tag: 1.2^2~4^2~7 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=9b943fed8bf603f2ddb849bc75bc02b8dfada1a0;p=erp24_rep%2Fyii-erp24%2F.git ERP-5 Доработать фактический план по сотрудникам --- diff --git a/erp24/views/timetable-fact/index.php b/erp24/views/timetable-fact/index.php index 1b27b825..a0b40dbf 100644 --- a/erp24/views/timetable-fact/index.php +++ b/erp24/views/timetable-fact/index.php @@ -42,7 +42,7 @@ $this->params['breadcrumbs'][] = $this->title; 'attribute' => 'shift_id', 'format' => 'raw', 'value' => function ($model) { - return $model->shift->name; + return $model->shift_id ? $model->shift->name : null; }, ], [