From: marina Date: Fri, 24 Jan 2025 07:13:37 +0000 (+0300) Subject: ERP-282 Нужно сделать интерфейс настройки магазина X-Git-Tag: 1.7~35^2~24 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=e67ad171b5b4048c6c0ed58af213e9ef95f200c9;p=erp24_rep%2Fyii-erp24%2F.git ERP-282 Нужно сделать интерфейс настройки магазина --- diff --git a/erp24/views/city-store-params/index.php b/erp24/views/city-store-params/index.php new file mode 100644 index 00000000..c7cacfee --- /dev/null +++ b/erp24/views/city-store-params/index.php @@ -0,0 +1,214 @@ +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']); ?> +
+
+
+
+ +
+
+
+ all(), 'id', 'name'), [ + 'multiple' => 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']) ?> +
+
+
+
+ +
+