@extends('layouts.app', ['title' => 'Dashboard']) @section('content') @php($tones = ['primary' => ['var(--bz-primary-soft)', 'var(--bz-primary)'], 'success' => ['#eaf7ef', '#1c7c45'], 'warning' => ['#fff4e0', '#9a5b00'], 'danger' => ['#fdecef', '#c11574']])

Overview

Business intelligence view for {{ $account->name }}.

Export report
{{ $rangeLabel }} · {{ $rangeText }} {{ $filters['staff'] ? $members->firstWhere('id', $filters['staff'])?->name : 'All staff' }} Time zone: {{ $account->timezone }} {{ $kpiCount - count($hidden) }} KPIs grouped by area · drag to reorder · Customize to show or hide
@forelse ($groups as $group => $kpis)

{{ $groupLabels[$group] }}

@foreach ($kpis as $kpi) @php([$bg, $fg] = $tones[$kpi['tone']] ?? $tones['primary'])
{{ $kpi['label'] }}
@if ($kpi['format'] === 'status') {{ $kpi['value'] }} @else {{ $kpi['value'] }} @endif {{ $kpi['scope'] }} @isset($kpi['pending'])
Fills in when {{ $kpi['pending'] }} is live
@endisset
@endforeach
@empty
All KPIs are hidden. Use Customize to show them again.
@endforelse
Recent activity @can('activity.view')View all@endcan
@if ($recentActivity->isEmpty())
No activity yet.
@else @endif
@endsection @push('scripts') @endpush