diff --git a/resources/views/system/widget/system.blade.php b/resources/views/system/widget/system.blade.php index 59433a3..2e01faf 100644 --- a/resources/views/system/widget/system.blade.php +++ b/resources/views/system/widget/system.blade.php @@ -1,3 +1,5 @@ +@use(Carbon\Carbon) +@use(Carbon\CarbonInterface) @use(App\Classes\FTN\Packet) @use(App\Models\Mailer) @use(App\Models\User) @@ -353,7 +355,7 @@ Next:
- {{ $job->available_at->diffForHumans(now(),$job->available_at->isFuture() ? \Carbon\CarbonInterface::DIFF_ABSOLUTE : \Carbon\CarbonInterface::DIFF_RELATIVE_TO_NOW) }} + {{ $job->available_at->diffForHumans(now(),$job->available_at->isFuture() ? CarbonInterface::DIFF_ABSOLUTE : CarbonInterface::DIFF_RELATIVE_TO_NOW) }}
@endif @@ -383,6 +385,7 @@ Next Heartbeat:
+ {{ $x ? $x->created_at->addHours($o->heartbeat) : Carbon::now() }}