From ad214004a825e2c4a0ca9125b9c1ae19ece271b4 Mon Sep 17 00:00:00 2001 From: marina Date: Tue, 28 Jan 2025 18:03:34 +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/index.php | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/erp24/views/city-store-params/index.php b/erp24/views/city-store-params/index.php index 463d8b90..37e19e22 100644 --- a/erp24/views/city-store-params/index.php +++ b/erp24/views/city-store-params/index.php @@ -66,7 +66,7 @@ $this->registerJsFile('/js/city-store-params/city-store-params.js', ['position' ]); ?> 'd-block mt-2 text-decoration-none', 'target' => '_blank']); + Url::to('/store-city-list')], ['class' => 'd-block mt-2 text-decoration-none', 'target' => '_blank']); ?> @@ -214,19 +214,17 @@ $this->registerJsFile('/js/city-store-params/city-store-params.js', ['position'
- 'CityStoreParams[address_region]', - 'value' => null, - 'data' => ArrayHelper::map(StoreCityList::findAll(['type' => StoreCityList::TYPE_REGION]), 'id', 'name'), - 'options' => [ - 'placeholder' => 'Регион', - 'class' => 'form-select', + StoreCityList::TYPE_REGION]), 'id', 'name'), + [ 'id' => 'region', - ], - 'pluginOptions' => [ - 'allowClear' => true, - ], - ]); ?> + 'class' => 'form-select', + 'prompt' => 'Выберите регион', + 'data-placeholder' => 'Выберите регион', + ] + ); ?>
-- 2.39.5