Update migrations
This commit is contained in:
miroman-afk
2022-01-14 14:24:19 +03:00
parent 61d8b4e1d2
commit 104017ed96
10 changed files with 95 additions and 62 deletions

View File

@@ -171,10 +171,11 @@ class POSTRestoreShift extends HRCCommand implements HRCCommandInterface {
$shift_online_deleted_item->units_id = $exchange_deleted_item["units_id"];
$shift_online_deleted_item->save();
}
$exc_time = time();
$diff_time = $exc_time - $nowTime;
return [
'status' => 'success',
'message' => 'Смена восстановлена',
'message' => 'Смена восстановлена за ' . $diff_time . ' сек',
];
} else {
return [