From: Alexander Smirnov Date: Fri, 24 Jan 2025 15:13:47 +0000 (+0300) Subject: [ERP-283] two more buttons X-Git-Tag: 1.7~29^2~5 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=8a56ff4c28664915250e4b42cb6e76959d4c0413;p=erp24_rep%2Fyii-erp24%2F.git [ERP-283] two more buttons --- diff --git a/erp24/views/category-plan/index.php b/erp24/views/category-plan/index.php index fb775fe6..b8201dce 100644 --- a/erp24/views/category-plan/index.php +++ b/erp24/views/category-plan/index.php @@ -1,5 +1,6 @@ registerJsFile('/js/category-plan/index.js', ['position' => \yii\web\View
- field($model, 'year')->dropDownList($years, ['onchange' => 'this.form.submit();'])->label(false) ?> + field($model, 'year')->dropDownList($years, ['onchange' => '//this.form.submit();'])->label(false) ?>
field($model, 'city_id')->widget(Select2::class, [ @@ -72,7 +73,7 @@ $this->registerJsFile('/js/category-plan/index.js', ['position' => \yii\web\View ?>
- field($model, 'month')->dropDownList(HtmlHelper::getMonthNames(), ['onchange' => 'this.form.submit();'])->label(false) ?> + field($model, 'month')->dropDownList(HtmlHelper::getMonthNames(), ['onchange' => '//this.form.submit();'])->label(false) ?>
field($model, 'region_id')->widget(Select2::class, [ @@ -123,17 +124,34 @@ $this->registerJsFile('/js/category-plan/index.js', ['position' => \yii\web\View
-
+
+
+
+ +
+
+
+
field($model, 'store_id')->dropDownList($stores, [ 'multiple' => false, 'size' => 6, 'class' => 'form-control', 'id' => 'selected-store', - 'onchange' => 'this.form.submit()', + 'onchange' => '//this.form.submit()', 'style'=> 'overflow-y: scroll, height: auto; max-height: 200px; overflow-x: hidden;', ])->label(false) ?>
+
+
+
+ 'btn btn-secondary'])?> +
+