@php $cards = [ ['Total Employees', $stats['employees'], '#10b981', 'M17 20h5V10M2 20h5'], ['Active Clients', $stats['clients'], '#f59e0b', ''], ['Open Deals', $stats['open_deals'], '#6366f1', ''], ['Monthly Revenue', money($stats['revenue']), '#ec4899', ''], ]; @endphp @foreach($cards as [$label, $value, $color, $_])

{{ $label }}

{{ $value }}

@endforeach
@php $max = max(1, collect($pipeline)->max() ?: 1); @endphp @forelse($pipeline as $stage => $count)
{{ $stage }}{{ $count }}
@empty

Enable the CRM module to see your pipeline.

@endforelse @if(!empty($headcount))

Headcount Trend (6 months)

@php $hMax = max(1, collect($headcount)->max() ?: 1); @endphp @foreach($headcount as $month => $count)
{{ $month }}
@endforeach
@endif
@forelse($recent as $log)
{{ strtoupper(substr($log->user->name ?? 'S', 0, 1)) }}

{{ $log->user->name ?? 'System' }} {{ str_replace('_',' ', $log->action) }} @if($log->model){{ $log->model }}@endif

{{ $log->created_at->diffForHumans() }}

@empty

No activity yet.

@endforelse