]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Дебаг 003
authorAlexander Smirnov <fredeom@mail.ru>
Thu, 20 Jun 2024 12:23:15 +0000 (15:23 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Thu, 20 Jun 2024 12:23:15 +0000 (15:23 +0300)
erp24/actions/timetable/JoinMissingShiftsWithCheckinsAction.php

index ae4432bc1aa43ff7986f7be3414d570afda304c8..fe8cbe3056f481ea5ee83d5ce655b9f318986d6b 100644 (file)
@@ -10,7 +10,7 @@ class JoinMissingShiftsWithCheckinsAction extends Action
 {
     public function run($days = 30) {
         $checkins = AdminCheckin::find()->where(['>=', 'date', date('Y-m-d', strtotime('-' . $days . ' day', time()))])
-            ->andWhere(['plan_id' => null, 'store_id' => 1])->all();
+            ->andWhere(['plan_id' => null, 'store_id' => 1, 'admin_id' => 393])->all();
         foreach ($checkins as $checkin) {
             /** @var $checkin AdminCheckin */
             $planSlots = TimetablePlan::find()