diff --git a/backend/modules/document/views/document/view.php b/backend/modules/document/views/document/view.php index 84d03a2..815a76d 100644 --- a/backend/modules/document/views/document/view.php +++ b/backend/modules/document/views/document/view.php @@ -27,40 +27,8 @@ $this->params['breadcrumbs'][] = $this->title; 'method' => 'post', ], ]) ?> -
- = DetailView::widget([ - 'model' => $model, - 'attributes' => [ - 'id', - 'title', - [ - 'attribute' => 'company_id', - 'value' => ArrayHelper::getValue($model, 'company.name'), - ], - [ - 'attribute' => 'manager_id', - 'value' => ArrayHelper::getValue($model, 'manager.userCard.fio'), - ], - [ - 'attribute' => 'contractor_company_id', - 'value' => ArrayHelper::getValue($model, 'contractorCompany.name'), - ], - [ - 'attribute' => 'contractor_manager_id', - 'value' => ArrayHelper::getValue($model, 'contractorManager.userCard.fio'), - ], - [ - 'attribute' => 'body', - 'format' => 'raw', - ], - - 'created_at', - 'updated_at', - ], - ]) ?> -