From: marina Date: Tue, 28 Jan 2025 15:03:34 +0000 (+0300) Subject: ERP-282 Нужно сделать интерфейс настройки магазина X-Git-Tag: 1.7~33^2~1 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=ad214004a825e2c4a0ca9125b9c1ae19ece271b4;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 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' => 'Выберите регион', + ] + ); ?>