From d99f070d62dcdb6332f37c3c76c3987bd22a08ce Mon Sep 17 00:00:00 2001 From: marina Date: Thu, 18 Jul 2024 15:22:50 +0300 Subject: [PATCH] =?utf8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=BF?= =?utf8?q?=D0=B5=D1=80=D0=B2=D0=BE=D0=B3=D0=BE=20=D1=88=D0=B0=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/actions/timetable/StartShiftStepOneAction.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/erp24/actions/timetable/StartShiftStepOneAction.php b/erp24/actions/timetable/StartShiftStepOneAction.php index 65322668..9e1f5b69 100755 --- a/erp24/actions/timetable/StartShiftStepOneAction.php +++ b/erp24/actions/timetable/StartShiftStepOneAction.php @@ -44,6 +44,9 @@ class StartShiftStepOneAction extends Action return AdminCheckin::TYPE_START; })(); + $adminStores = null; + $shiftArray = null; + if ($modelTypeId == AdminCheckin::TYPE_START) { $adminStores = ArrayHelper::map($userModel->getStores(), 'id', 'name'); $shiftArray = ArrayHelper::map(Shift::find()->andWhere(['not in', 'id', [3, 4, 6, 7]])->all(), 'id', 'name'); -- 2.39.5