From a21b3428f5a54a2fae2c08d05a6efaf09071d228 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Thu, 20 Jun 2024 15:25:43 +0300 Subject: [PATCH] =?utf8?q?=D0=94=D0=B5=D0=B1=D0=B0=D0=B3=20004?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../JoinMissingShiftsWithCheckinsAction.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/erp24/actions/timetable/JoinMissingShiftsWithCheckinsAction.php b/erp24/actions/timetable/JoinMissingShiftsWithCheckinsAction.php index fe8cbe30..2712796e 100644 --- a/erp24/actions/timetable/JoinMissingShiftsWithCheckinsAction.php +++ b/erp24/actions/timetable/JoinMissingShiftsWithCheckinsAction.php @@ -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'; -- 2.39.5