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\Classes\FTN\Packet)
|
||||||
@use(App\Models\Mailer)
|
@use(App\Models\Mailer)
|
||||||
@use(App\Models\User)
|
@use(App\Models\User)
|
||||||
@ -353,7 +355,7 @@
|
|||||||
Next:
|
Next:
|
||||||
</div>
|
</div>
|
||||||
<div class="col-8">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
@ -383,6 +385,7 @@
|
|||||||
Next Heartbeat:
|
Next Heartbeat:
|
||||||
</div>
|
</div>
|
||||||
<div class="col-8">
|
<div class="col-8">
|
||||||
|
|
||||||
<strong class="highlight">{{ $x ? $x->created_at->addHours($o->heartbeat) : Carbon::now() }}</strong>
|
<strong class="highlight">{{ $x ? $x->created_at->addHours($o->heartbeat) : Carbon::now() }}</strong>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user