From 786ce8df57059dcf9ab32805961620cd9afdadaf Mon Sep 17 00:00:00 2001 From: Vladimir Fomichev Date: Wed, 27 Aug 2025 15:11:40 +0300 Subject: [PATCH] =?utf8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8?= =?utf8?q?=D0=B5=20=D0=BF=D0=BE=D0=BB=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../analysts-business-operations-types/_form.php | 8 +++++--- .../update.php | 2 +- .../analysts-business-operations-types/view.php | 2 +- .../views/analysts-business-operations/_form.php | 16 ++++++++++------ .../analysts-business-operations/update.php | 2 +- .../views/analysts-business-operations/view.php | 2 +- 6 files changed, 19 insertions(+), 13 deletions(-) diff --git a/erp24/views/analysts-business-operations-types/_form.php b/erp24/views/analysts-business-operations-types/_form.php index 563dab3b..e2c980dd 100644 --- a/erp24/views/analysts-business-operations-types/_form.php +++ b/erp24/views/analysts-business-operations-types/_form.php @@ -12,14 +12,16 @@ use yii\widgets\ActiveForm; - field($model, 'code')->textInput() ?> + field($model, 'code')->textInput()->hiddenInput()->label(false) ?> field($model, 'name')->textInput(['maxlength' => true]) ?> + field($model, 'alias')->textInput(['maxlength' => true]) ?> - field($model, 'created_at')->textInput() ?> + + field($model, 'created_at')->textInput()->hiddenInput()->label(false) ?>
- 'btn btn-success']) ?> + 'btn btn-success']) ?>
diff --git a/erp24/views/analysts-business-operations-types/update.php b/erp24/views/analysts-business-operations-types/update.php index 99b7931a..9274f451 100644 --- a/erp24/views/analysts-business-operations-types/update.php +++ b/erp24/views/analysts-business-operations-types/update.php @@ -11,7 +11,7 @@ $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id $this->params['breadcrumbs'][] = 'Update'; ?>
- + 'btn btn-primary my-4']) ?>

title) ?>

render('_form', [ diff --git a/erp24/views/analysts-business-operations-types/view.php b/erp24/views/analysts-business-operations-types/view.php index 3a245716..32a96cfd 100644 --- a/erp24/views/analysts-business-operations-types/view.php +++ b/erp24/views/analysts-business-operations-types/view.php @@ -12,7 +12,7 @@ $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ?>
- + 'btn btn-primary my-4']) ?>

title) ?>

diff --git a/erp24/views/analysts-business-operations/_form.php b/erp24/views/analysts-business-operations/_form.php index fdcf0533..c63c3043 100644 --- a/erp24/views/analysts-business-operations/_form.php +++ b/erp24/views/analysts-business-operations/_form.php @@ -12,18 +12,22 @@ use yii\widgets\ActiveForm; - field($model, 'id')->textInput(['maxlength' => true]) ?> + field($model, 'id')->textInput(['maxlength' => true])->hiddenInput()->label(false) ?> - field($model, 'name')->textInput(['maxlength' => true]) ?> + field($model, 'name')->textInput(['maxlength' => true])->hiddenInput()->label(false) ?> - field($model, 'type')->textInput() ?> + field($model, 'type')->textInput()->hiddenInput()->hiddenInput()->label(false) ?> - field($model, 'type_id')->textInput(['maxlength' => true]) ?> + field($model, 'type_id')->textInput(['maxlength' => true])->hiddenInput()->label(false) ?> + - field($model, 'created_at')->textInput() ?> + field($model, 'created_at')->textInput()->hiddenInput()->label(false) ?>

- 'btn btn-success']) ?> + 'btn btn-success']) ?>
diff --git a/erp24/views/analysts-business-operations/update.php b/erp24/views/analysts-business-operations/update.php index 5ccc4023..8c1b3cfe 100644 --- a/erp24/views/analysts-business-operations/update.php +++ b/erp24/views/analysts-business-operations/update.php @@ -11,7 +11,7 @@ $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id $this->params['breadcrumbs'][] = 'Update'; ?>
- + 'btn btn-primary my-4']) ?>

title) ?>

render('_form', [ diff --git a/erp24/views/analysts-business-operations/view.php b/erp24/views/analysts-business-operations/view.php index f472ee34..20a768b1 100644 --- a/erp24/views/analysts-business-operations/view.php +++ b/erp24/views/analysts-business-operations/view.php @@ -12,7 +12,7 @@ $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ?>
- + 'btn btn-primary my-4']) ?>

title) ?>

-- 2.39.5