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:
2026-11-02 11:05:28 +01:00
parent da9992e060
commit 560a6ae20b
10 changed files with 327 additions and 169 deletions
@@ -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>