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

index 3ab74c03b66fab398312c27a3f27bc1f89bdcacb..ddcaa55994778115d8c2347d48a5e51942bc1b78 100644 (file)
@@ -33,11 +33,12 @@ class JoinMissingShiftsWithCheckinsAction extends Action
                 ->one();
             /** @var $planSlots TimetablePlan */
             if ($planSlots) {
-                $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';