From 59a70971424526fcc9e985e9c8e05ece9cb37a80 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Tue, 12 Nov 2024 17:20:21 +0300 Subject: [PATCH] =?utf8?q?[ERP-148]=20=D0=B4=D0=BE=D1=80=D0=B0=D0=B1=D0=BE?= =?utf8?q?=D1=82=D0=BA=D0=B0=20=D1=8F=D0=BD=D0=B4=D0=B5=D0=BA=D1=81=20?= =?utf8?q?=D0=BC=D0=B0=D1=80=D0=BA=D0=B5=D1=82=D0=BF=D0=BB=D0=B5=D0=B9?= =?utf8?q?=D1=81=D0=B0=206?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/matrix_erp/view.php | 3 ++- erp24/views/matrix_erp_property/_form.php | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/erp24/views/matrix_erp/view.php b/erp24/views/matrix_erp/view.php index 3c901626..e4c056ef 100644 --- a/erp24/views/matrix_erp/view.php +++ b/erp24/views/matrix_erp/view.php @@ -90,7 +90,8 @@ $this->params['breadcrumbs'][] = $this->title; // 'updated_admin_id', // 'updated_at', // 'image_id', - 'external_image_url', 'product_url', 'flowwow_category', 'flowwow_subcategory', + 'flowwow_category', 'flowwow_subcategory', + 'length', 'width', 'height', 'weight', [ 'attribute' => 'url_link_video', 'format' => 'raw', diff --git a/erp24/views/matrix_erp_property/_form.php b/erp24/views/matrix_erp_property/_form.php index 03d41a7c..37ec4061 100644 --- a/erp24/views/matrix_erp_property/_form.php +++ b/erp24/views/matrix_erp_property/_form.php @@ -70,13 +70,13 @@ $this->registerJs( field($modelMatrixErpProperty, 'url_link_video')->textInput() ?> - field($modelMatrixErpProperty, 'length')->textInput(['type' => 'number']) ?> + field($modelMatrixErpProperty, 'length')->textInput(['type' => 'number', 'step' => 0.01]) ?> - field($modelMatrixErpProperty, 'width')->textInput(['type' => 'number']) ?> + field($modelMatrixErpProperty, 'width')->textInput(['type' => 'number', 'step' => 0.01]) ?> - field($modelMatrixErpProperty, 'height')->textInput(['type' => 'number']) ?> + field($modelMatrixErpProperty, 'height')->textInput(['type' => 'number', 'step' => 0.01]) ?> - field($modelMatrixErpProperty, 'weight')->textInput(['type' => 'number']) ?> + field($modelMatrixErpProperty, 'weight')->textInput(['type' => 'number', 'step' => 0.01]) ?>
field($modelMatrixErpProperty, 'mediaFiles')->widget(MultipleInput::className(), [ -- 2.39.5