We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbd6d0f commit 7839479Copy full SHA for 7839479
app/Http/Controllers/Frontend/Transport/StatusController.php
@@ -61,7 +61,7 @@ public function updateStatus(Request $request): JsonResponse|RedirectResponse {
61
$arrivalDelay = abs($manualArrival->diffInHours($status->checkin->arrival));
62
}
63
64
- if ($departureDelay > config('trwl.max_delay_time') || $arrivalDelay > config('trwl.max_delay_time')) {
+ if ($departureDelay > config('trwl.max_delay_hours') || $arrivalDelay > config('trwl.max_delay_hours')) {
65
return back()->with('error', 'The delay of the manual arrival or departure is too high.');
66
67
0 commit comments