From c9d44af83d5e361d5cd4564d473155c51a8e6532 Mon Sep 17 00:00:00 2001 From: marina Date: Thu, 23 Jan 2025 21:04:38 +0300 Subject: [PATCH] =?utf8?q?ERP-282=20=D0=9D=D1=83=D0=B6=D0=BD=D0=BE=20?= =?utf8?q?=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D1=82=D1=8C=20=D0=B8=D0=BD=D1=82?= =?utf8?q?=D0=B5=D1=80=D1=84=D0=B5=D0=B9=D1=81=20=D0=BD=D0=B0=D1=81=D1=82?= =?utf8?q?=D1=80=D0=BE=D0=B9=D0=BA=D0=B8=20=D0=BC=D0=B0=D0=B3=D0=B0=D0=B7?= =?utf8?q?=D0=B8=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/city-store-params/update.php | 215 +++++++++++++++++++++++ 1 file changed, 215 insertions(+) create mode 100644 erp24/views/city-store-params/update.php diff --git a/erp24/views/city-store-params/update.php b/erp24/views/city-store-params/update.php new file mode 100644 index 00000000..5a828fba --- /dev/null +++ b/erp24/views/city-store-params/update.php @@ -0,0 +1,215 @@ +title = 'City Store Params'; +$this->params['breadcrumbs'][] = $this->title; + +$this->title = "Настройка параметров магазина"; +$this->params['breadcrumbs'][] = $this->title; + +$this->registerJsFile('/js/city-store-params/city-store-params.js', ['position' => \yii\web\View::POS_END]); +?> + +
+

title) ?>

+ 'btn btn-primary mb-3']) ?> + +
+
+
+ StoreCityList::TYPE_REGION]), 'id', 'name'), + ['prompt' => 'Выберите регион', 'class' => 'form-select', 'id' => 'address_region']); + ?> + 'd-block mt-2 text-decoration-none']); + ?> +
+
+
+
+ StoreCityList::TYPE_CITY]), 'id', 'name'), + ['prompt' => 'Выберите город', 'class' => 'form-select', 'id' => 'address_city']); + ?> +
+
+
+
+ StoreCityList::TYPE_DISTRICT]), 'id', 'name'), + ['prompt' => 'Выберите район', 'class' => 'form-select', 'id' => 'address_district']); + ?> +
+
+
+
+ all(), 'id', 'name'), + ['prompt' => 'Выберите тип магазина', 'class' => 'form-select', 'id' => 'store_type']); + ?> + 'd-block mt-2 text-decoration-none']); ?> +
+
+
+
+ AdminGroup::GROUP_BUSH_DIRECTOR]), 'id', 'name_full'), + ['prompt' => 'Выберите территориального управляющего', 'class' => 'form-select', 'id' => 'territorial_manager']); + ?> +
+
+
+
+
+
+
+
+
+ \yii_app\records\AdminGroup::GROUP_BUSH_CHEF_FLORIST]), 'id', 'name_full'), + ['prompt' => 'Выберите кустового шеф флориста', 'class' => 'form-select', 'id' => 'bush_chef_florist']); + ?> +
+
+
+
+
+ 'btn btn-primary w-100', 'id' => 'apply-button']); ?> +
+
+
+
+ +
+
+
+ true, + 'size' => 16, + 'class' => 'form-control', + 'id' => 'selected-store', + ]) ?> + 'btn btn-primary w-100 mt-2 py-1', 'id' => 'edit-button']); ?> +
+
+
+
+
+ + + + + 'store-name', 'class' => 'h5']); ?> +
+
+ 'Тип магазина', 'class' => 'form-select', 'id' => 'store-type']); ?> + 'd-block mt-2 text-decoration-none']); ?> +
+
+ 'Номер куста', 'class' => 'form-select', 'id' => 'bush-id']); ?> +
+
+
+
+ +
+
+ + 'Регион', 'class' => 'form-select', 'id' => 'region']); ?> +
+
+ + 'Город', 'class' => 'form-select', 'id' => 'city']); ?> +
+
+ + 'Район', 'class' => 'form-select', 'id' => 'district']); ?> +
+
+
+
+ + 'd-block mb-5 text-decoration-none']); ?> +
+
+ 'territorial-manager', 'class' => 'h5']); ?> +
+
+
+
+ +
+
+ 'Кустовой шеф-флорист', 'class' => 'form-select', 'id' => 'bush-chef-florist']); ?> +
+
+
+
+ 'form-label']); ?> + 'store-area', + 'class' => 'form-control', + 'placeholder' => 'Введите число', + 'oninput' => 'validateDecimal(this)' + ]); ?> + 'form-label']); ?> + 'showcase-volume', + 'class' => 'form-control', + 'placeholder' => 'Введите число', + 'oninput' => 'validateDecimal(this)' + ]); ?> + 'form-label']); ?> + 'freeze-area', + 'class' => 'form-control', + 'placeholder' => 'Введите число', + 'oninput' => 'validateDecimal(this)' + ]); ?> + 'form-label']); ?> + 'freeze-volume', + 'class' => 'form-control', + 'placeholder' => 'Введите число', + 'oninput' => 'validateDecimal(this)' + ]); ?> +
+
+
+ + 'd-block mb-5 text-decoration-none']); ?> + 'CityStoreParams[matrix_type]', + 'data' => [], + 'language' => 'ru-RU', + 'options' => [ + 'id' => 'matrix-type', + 'placeholder' => 'Выберите тип матрицы', + 'multiple' => true, + ], + ]); ?> +
+
+
+ 'btn btn-success']) ?> +
+
+
+
+ +
+
-- 2.39.5