From: fomichev Date: Fri, 25 Oct 2024 10:19:15 +0000 (+0300) Subject: Закомментировал X-Git-Tag: 1.7~228^2~17 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=400cc4c5d2bd1cf1e73a3b8811b56b2318283d09;p=erp24_rep%2Fyii-erp24%2F.git Закомментировал --- diff --git a/erp24/controllers/crud/ClusterAdminController.php b/erp24/controllers/crud/ClusterAdminController.php index 9cecf24f..bf5f479b 100644 --- a/erp24/controllers/crud/ClusterAdminController.php +++ b/erp24/controllers/crud/ClusterAdminController.php @@ -111,7 +111,7 @@ class ClusterAdminController extends Controller ->one(); if ($currentClusterAdmin) { - // Завершаем старую запись + $currentClusterAdmin->active = 0; $currentClusterAdmin->date_end = $currentDate; @@ -121,7 +121,7 @@ class ClusterAdminController extends Controller // ClusterManagerService::clearClusterManagerStores($currentClusterAdmin->cluster_id, $currentClusterAdmin->admin_id); } if ($oldClusterAdmin) { - // Завершаем старую запись + $oldClusterAdmin->active = 0; $oldClusterAdmin->date_end = $currentDate;