Fix timezone to Europe/Amsterdam, fix 500 error on communication and customer pages with bulletproof schema helper, and redesign admin header to compact grouped dropdowns
This commit is contained in:
@@ -295,9 +295,9 @@
|
||||
<div class="flex items-center justify-between">
|
||||
<span>Laatste controle:</span>
|
||||
<span class="font-mono text-slate-700 font-medium">
|
||||
{{ $collection->last_synced_at ? $collection->last_synced_at->diffForHumans() : 'Nog niet' }}
|
||||
{{ $collection->last_synced_at ? $collection->last_synced_at->timezone(config('app.timezone', 'Europe/Amsterdam'))->diffForHumans() : 'Nog niet' }}
|
||||
@if($collection->last_synced_at)
|
||||
<span class="text-[10px] text-slate-400 font-normal">({{ $collection->last_synced_at->format('H:i') }})</span>
|
||||
<span class="text-[10px] text-slate-400 font-normal">({{ $collection->last_synced_at->timezone(config('app.timezone', 'Europe/Amsterdam'))->format('H:i') }})</span>
|
||||
@endif
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user