]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
правки первого шага
authormarina <m.zozirova@gmail.com>
Thu, 18 Jul 2024 12:22:50 +0000 (15:22 +0300)
committermarina <m.zozirova@gmail.com>
Thu, 18 Jul 2024 12:22:50 +0000 (15:22 +0300)
erp24/actions/timetable/StartShiftStepOneAction.php

index 6532266814e439c697fe063d15e1d908a8e0a014..9e1f5b693d532452a0c80826521c1f9b738ed5b0 100755 (executable)
@@ -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');