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