From: Alexander Smirnov Date: Thu, 20 Jun 2024 12:25:43 +0000 (+0300) Subject: Дебаг 004 X-Git-Tag: 1.3~52^2~2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=a21b3428f5a54a2fae2c08d05a6efaf09071d228;p=erp24_rep%2Fyii-erp24%2F.git Дебаг 004 --- 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';