]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
ERP-5 Доработать фактический план по сотрудникам
authormarina <m.zozirova@gmail.com>
Thu, 13 Jun 2024 12:04:26 +0000 (15:04 +0300)
committermarina <m.zozirova@gmail.com>
Thu, 13 Jun 2024 12:04:26 +0000 (15:04 +0300)
erp24/actions/timetable/StartShiftStepOneAction.php

index 116156ea4bdba7e3fa3dfce96acc66ebf417bd47..716aff22f4be8b2bf1f1b576a7360ab8002321e9 100755 (executable)
@@ -54,7 +54,7 @@ class StartShiftStepOneAction extends Action
             $shiftArray = $lastCheckinFact ? ['id' => $lastCheckinFact->shift_id, 'name' => $lastCheckinFact->shift->name] : [];
         } else {
             $adminStores = ArrayHelper::map($userModel->getStores(), 'id', 'name');
-            $shiftArray = ArrayHelper::map(Shift::find()->andWhere(['not in', 'id', [3, 4, 6]])->all(), 'id', 'name');
+            $shiftArray = ArrayHelper::map(Shift::find()->andWhere(['not in', 'id', [3, 4, 6, 7]])->all(), 'id', 'name');
         }