From 701e332537f89d3ee4b9c3c1479d09b49c61bbe8 Mon Sep 17 00:00:00 2001 From: iIronside Date: Fri, 9 Dec 2022 18:12:37 +0300 Subject: [PATCH] move fields to up --- .../modules/document/views/document/view.php | 69 ++++++++++--------- 1 file changed, 37 insertions(+), 32 deletions(-) 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', ], ]) ?> -

- $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', - ], - ]) ?> -

@@ -94,4 +62,41 @@ $this->params['breadcrumbs'][] = $this->title; ], ]); ?> +
+

+ +

+
+ + $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', + ], + ]) ?> +