Updated domains index "due in" column to format massive floats

This commit is contained in:
cp6 2024-12-09 16:47:06 +11:00
parent 946fe9b893
commit 71ab8e36ca

View file

@ -28,7 +28,7 @@
class="text-decoration-none">{{ $domain->domain }}
.{{$domain->extension}}</a></td>
<td class="text-nowrap">{{ $domain->owned_since}}</td>
<td class="text-nowrap">{{ now()->diffInDays($domain->price->next_due_date) }} <small>days</small>
<td class="text-nowrap">{{ number_format(now()->diffInDays(Carbon\Carbon::parse($domain->price->next_due_date), false), 0) }} <small>days</small>
</td>
<td class="text-nowrap">{{ $domain->provider->name}}</td>
<td class="text-nowrap">{{ $domain->price->price }}