1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 15:33:44 +01:00

fix: server page due in 0 days

This commit is contained in:
imlonghao 2022-09-26 22:46:53 +08:00 committed by GitHub
parent 2ae19112e3
commit dadef79367
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,7 @@
<td class="text-nowrap">{{ $server->provider->name }}</td>
<td class="text-nowrap">{{ $server->price->price }} {{$server->price->currency}} {{\App\Process::paymentTermIntToString($server->price->term)}}</td>
<td class="text-nowrap">
{{now()->diffInDays(Carbon\Carbon::parse($server->next_due_date), false)}}
{{now()->diffInDays(Carbon\Carbon::parse($server->price->next_due_date), false)}}
<small>days</small></td>
<td class="text-nowrap"> {{ $server->owned_since }}</td>
<td class="text-nowrap">