Fix Carbon not found for system/addedit
This commit is contained in:
parent
3bc98047c3
commit
5dbef2d9d1
@ -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:
|
||||
</div>
|
||||
<div class="col-8">
|
||||
<strong class="highlight">{{ $job->available_at->diffForHumans(now(),$job->available_at->isFuture() ? \Carbon\CarbonInterface::DIFF_ABSOLUTE : \Carbon\CarbonInterface::DIFF_RELATIVE_TO_NOW) }}</strong>
|
||||
<strong class="highlight">{{ $job->available_at->diffForHumans(now(),$job->available_at->isFuture() ? CarbonInterface::DIFF_ABSOLUTE : CarbonInterface::DIFF_RELATIVE_TO_NOW) }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@ -383,6 +385,7 @@
|
||||
Next Heartbeat:
|
||||
</div>
|
||||
<div class="col-8">
|
||||
|
||||
<strong class="highlight">{{ $x ? $x->created_at->addHours($o->heartbeat) : Carbon::now() }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user