From: marina Date: Tue, 28 Jan 2025 13:01:26 +0000 (+0300) Subject: ERP-282 Нужно сделать интерфейс настройки магазина X-Git-Tag: 1.7~35^2~2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=fda192983bc02a22eb283fe86b90c454ecf9cb88;p=erp24_rep%2Fyii-erp24%2F.git ERP-282 Нужно сделать интерфейс настройки магазина --- diff --git a/erp24/controllers/CityStoreParamsController.php b/erp24/controllers/CityStoreParamsController.php index b06275ed..65ae2405 100644 --- a/erp24/controllers/CityStoreParamsController.php +++ b/erp24/controllers/CityStoreParamsController.php @@ -78,7 +78,6 @@ class CityStoreParamsController extends Controller $value = 'Ошибка при сохранении: ' . implode('. ', array_map(fn($error) => is_array($error) ? implode(', ', $error) : $error, $model->getErrors())); } } - return $this->redirect(Yii::$app->request->referrer); } Yii::$app->session->setFlash($flash, $value); diff --git a/erp24/views/city-store-params/index.php b/erp24/views/city-store-params/index.php index 38a8d59e..5d631e8d 100644 --- a/erp24/views/city-store-params/index.php +++ b/erp24/views/city-store-params/index.php @@ -21,7 +21,6 @@ $this->params['breadcrumbs'][] = $this->title; $this->registerJsFile('/js/city-store-params/city-store-params.js', ['position' => \yii\web\View::POS_END]); ?> -

title) ?>