From 4030188af1ffc9cc6be9bacd97be672be553c46d Mon Sep 17 00:00:00 2001 From: vladfo Date: Fri, 27 Sep 2024 14:13:47 +0300 Subject: [PATCH] =?utf8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D0=BB=D0=B8?= =?utf8?q?=D1=88=D0=BD=D0=B8=D0=B9=20=D1=84=D0=B0=D0=B9=D0=BB=20=D0=B8=20?= =?utf8?q?=D0=B2=D1=8B=D0=B2=D0=B5=D0=BB=20=D0=BE=D1=82=D0=BB=D0=B0=D0=B4?= =?utf8?q?=D0=BE=D1=87=D0=BD=D1=83=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/controllers/ClusterLinkEditController.php | 6 +++--- erp24/views/cluster_link_edit/index.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/erp24/controllers/ClusterLinkEditController.php b/erp24/controllers/ClusterLinkEditController.php index 42be4a7b..bf65f9c6 100644 --- a/erp24/controllers/ClusterLinkEditController.php +++ b/erp24/controllers/ClusterLinkEditController.php @@ -391,7 +391,7 @@ class ClusterLinkEditController extends Controller $newDynamicEntry->save(false); - // $this->syncClusterManagers(); + $this->syncClusterManagers(); $this->updateStoreCluster($dynamicEntry->store_id, $newClusterId); return $this->asJson(['success' => true]); } @@ -417,7 +417,7 @@ class ClusterLinkEditController extends Controller $dynamicEntry->save(false); - // $this->syncClusterManagers(); + $this->syncClusterManagers(); $this->updateStoreCluster($dynamicEntry->store_id); Yii::$app->session->setFlash('success', 'Магазин успешно удален из куста.'); } else { @@ -459,7 +459,7 @@ class ClusterLinkEditController extends Controller $newDynamicEntry->save(false); $this->updateStoreCluster($storeId,$id); - // $this->syncClusterManagers(); + $this->syncClusterManagers(); Yii::$app->session->setFlash('success', 'Магазин успешно добавлен в куст.'); diff --git a/erp24/views/cluster_link_edit/index.php b/erp24/views/cluster_link_edit/index.php index 8918126a..4619db53 100644 --- a/erp24/views/cluster_link_edit/index.php +++ b/erp24/views/cluster_link_edit/index.php @@ -134,6 +134,6 @@ $this->params['breadcrumbs'][] = $this->title; ]); ?> - + -- 2.39.5