Fix migrations
This commit is contained in:
miroman-afk
2023-08-10 13:16:56 +03:00
parent ed61e9627d
commit 94fef07bb2
3 changed files with 7 additions and 4 deletions

View File

@@ -2353,7 +2353,7 @@ class GETDataReport extends HRCCommand implements HRCCommandInterface
$item_staff = Staff::getName($create_action['who']);
$item_time = $create_action['time'];
$item_printer = Printer::getName(Dishes::GetPrinterCode($item_menu_code));
$item_work_place = Terminal::getNameByWorkGroup($create_action['work_group'], $create_action['work_code']);
$item_work_place = Terminal::getNameByWorkGroup(intval($create_action['work_group']), intval($create_action['work_code']));
$items_array = array(
'shift_id' => $shift_id,
'work_place' => $item_work_place,