From cf984fdeca7a8be2969739529eac17d7ba67fd7c Mon Sep 17 00:00:00 2001 From: marina Date: Fri, 20 Sep 2024 11:55:50 +0300 Subject: [PATCH] =?utf8?q?ERP-123=20=D0=9D=D0=B5=20=D1=80=D0=B0=D0=B1?= =?utf8?q?=D0=BE=D1=82=D0=B0=D0=B5=D1=82=20=D1=84=D0=B8=D0=BB=D1=8C=D1=82?= =?utf8?q?=D1=80=20=D0=BF=D0=BE=20=D1=81=D0=BE=D1=82=D1=80=D1=83=D0=B4?= =?utf8?q?=D0=BD=D0=B8=D0=BA=D1=83=20"=D0=9A=D1=83=D1=80=D0=BE=D1=87=D0=BA?= =?utf8?q?=D0=B8=D0=BD=D0=B0=20=D0=94=D0=B0=D1=80=D1=8C=D1=8F"?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/actions/sales/IndexAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/actions/sales/IndexAction.php b/erp24/actions/sales/IndexAction.php index 69ff52ec..a73c963d 100644 --- a/erp24/actions/sales/IndexAction.php +++ b/erp24/actions/sales/IndexAction.php @@ -82,7 +82,7 @@ class IndexAction extends Action { $adminArr = []; foreach (Admin::find()->with('adminGroup')->all() as $admin) { - if (in_array($admin->adminGroup->id ?? 0, [20, 30, 35, 40, 50, 59, 72])) { + if (in_array($admin->adminGroup->id ?? 0, [20, 30, 35, 40, 45, 50, 59, 72])) { $adminArr[] = ['id' => $admin->id, 'name' => $admin->name, 'groupName' => $admin->adminGroup->name ?? "Другие"]; } } -- 2.39.5