From: vladfo Date: Fri, 27 Sep 2024 11:13:47 +0000 (+0300) Subject: Убрал лишний файл и вывел отладочную X-Git-Tag: 1.5~1^2~9 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=4030188af1ffc9cc6be9bacd97be672be553c46d;p=erp24_rep%2Fyii-erp24%2F.git Убрал лишний файл и вывел отладочную --- 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; ]); ?> - +