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

index fe8cbe3056f481ea5ee83d5ce655b9f318986d6b..2712796ec300a248b4db6285bf5ddef92584b4f0 100644 (file)
@@ -33,12 +33,12 @@ class JoinMissingShiftsWithCheckinsAction extends Action
                 ->one();
             /** @var $planSlots TimetablePlan */
             if ($planSlots) {
-                var_dump([$checkin->id, $planSlots->id]);
-//                $checkin->plan_id = $planSlots->id;
-//                $checkin->save();
-//                if ($checkin->getErrors()) {
-//                    var_dump($checkin->getErrors());
-//                }
+//                var_dump([$checkin->id, $planSlots->id]);
+                $checkin->plan_id = $planSlots->id;
+                $checkin->save();
+                if ($checkin->getErrors()) {
+                    var_dump($checkin->getErrors());
+                }
             }
         }
         return 'ok';