@foreach (['services', 'warranties'] as $view)
{{ __('dashboard.modes.'.$view) }}
@endforeach
@php ($overview = $this->overview)
@if ($overview === null)
{{ __('dashboard.no_access') }}
@else
{{ __('dashboard.apply_hint') }} {{ __('dashboard.applied_period') }}:
{{ $this->appliedFilters['period'] === 'all' ? __('dashboard.periods.all') : $overview['from'].' — '.$overview['until'] }}
{{ __('dashboard.loading') }}
@php ($key = md5(json_encode([$overview,app()->getLocale()])))
@livewire(\App\Filament\Widgets\Dashboard\DashboardStats::class, ['stats'=>$overview['stats'], 'mode'=>$this->mode], key('stats-'.$key))
grid(['default'=>1,'lg'=>2])->class(['fi-wi']) }}>
@foreach ($overview['charts'] as $name => $chart)
@livewire(\App\Filament\Widgets\Dashboard\DashboardChart::class, ['chart'=>$chart, 'mode'=>$this->mode], key($name.'-'.$key))
@endforeach
@endif