From 490d73071f6d2dba2cf0a7fcbbec1d1cbd5489a1 Mon Sep 17 00:00:00 2001 From: marina Date: Tue, 10 Jun 2025 17:07:10 +0300 Subject: [PATCH] =?utf8?q?ERP-426=20=D0=A0=D0=B0=D1=81=D1=88=D0=B8=D1=80?= =?utf8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=82=D0=B5=D1=81=D1=82=D0=BE=D0=B2?= =?utf8?q?=D0=BE=D0=B9=20=D0=B3=D1=80=D1=83=D0=BF=D0=BF=D1=8B=20=D0=BC?= =?utf8?q?=D0=B0=D0=B3=D0=B0=D0=B7=D0=B8=D0=BD=D0=BE=D0=B2=20=D0=BF=D1=80?= =?utf8?q?=D0=B8=20=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=B8=D1=80=D0=BE?= =?utf8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D0=B8=20=D1=81=D0=BF=D0=B8=D1=81=D0=B0?= =?utf8?q?=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/records/WriteOffsErp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erp24/records/WriteOffsErp.php b/erp24/records/WriteOffsErp.php index c6c1eee4..3dc11666 100644 --- a/erp24/records/WriteOffsErp.php +++ b/erp24/records/WriteOffsErp.php @@ -771,8 +771,8 @@ class WriteOffsErp extends \yii\db\ActiveRecord $adminId = Yii::$app->user->id; $isStoreOnNewSystem = (in_array($storeId, [1, 9, 28, 30, 15, 44, 8])); if (in_array($adminId, [785, 1463, 225, 1070, 826, 1036]) && $isStoreOnNewSystem ) { - return true; + return false; } - return false; + return true; } } -- 2.39.5