From: Vladimir Fomichev Date: Wed, 27 Aug 2025 12:11:40 +0000 (+0300) Subject: Изменение полей X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=786ce8df57059dcf9ab32805961620cd9afdadaf;p=erp24_rep%2Fyii-erp24%2F.git Изменение полей --- 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) ?>