From: fomichev Date: Wed, 3 Jun 2026 10:38:02 +0000 (+0300) Subject: ERP-396: кнопка «Управление типами» в блоке Тип магазина X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=5fcf16add0863337b41e9e1985ea5cee7ea87678;p=erp24_rep%2Fyii-erp24%2F.git ERP-396: кнопка «Управление типами» в блоке Тип магазина По аналогии с кнопкой «Управление тегами» в блоке Каналы. Открывает /store-type в новой вкладке. Co-Authored-By: Claude Sonnet 4.6 --- diff --git a/erp24/views/city-store-management/index.php b/erp24/views/city-store-management/index.php index 87c00f3d..7476c6e8 100644 --- a/erp24/views/city-store-management/index.php +++ b/erp24/views/city-store-management/index.php @@ -23,6 +23,7 @@ $this->registerJs(' saveCityStoreParams: ' . json_encode(Url::to(['/city-store-management/save-city-store-params'])) . ', uploadStorePhoto: ' . json_encode(Url::to(['/city-store-management/upload-store-photo'])) . ', assortmentLabels: ' . json_encode(Url::to(['/assortment-label/index'])) . ', + storeTypes: ' . json_encode(Url::to(['/store-type/index'])) . ', }; ', \yii\web\View::POS_HEAD); ?> diff --git a/erp24/web/js/city-store-management/city-store-management.js b/erp24/web/js/city-store-management/city-store-management.js index aed9ffcd..7d981aec 100644 --- a/erp24/web/js/city-store-management/city-store-management.js +++ b/erp24/web/js/city-store-management/city-store-management.js @@ -240,7 +240,7 @@ function renderOps() { // 2. Тип магазина h += '
' + '

Тип магазинаПараметры

' - + 'store_type · FK → StoreType
' + + '
Управление типами
' + '
' + '
' + ''