@extends('layouts.app') @section('title', 'Executive Dashboard') @section('content')
Total Revenue

{{ \App\Support\Format::mwk($totalRevenue) }}

↑ +12.4% this month

Total Costs

{{ \App\Support\Format::mwk($totalExpenses) }}

↓ -3.8% this month

Net Profit

{{ \App\Support\Format::mwk($netProfit) }}

{{ $netMargin }}% margin

Projects

{{ $projectCount }}

{{ $atRisk }} at risk · {{ $onTrack }} on track

Cash Position

{{ \App\Support\Format::mwk($cashPosition) }}

6 weeks runway

@if($alertActionCount > 0 || $alertSummary->count() > 0)

Alerts requiring attention

@if($alertActionCount > 0){{ $alertActionCount }} critical/warning unread @else Latest operational notices @endif

Open alerts →
@if($alertSummary->count())
@foreach($alertSummary as $a) @include('alerts.partials.alert-card', ['alert' => $a, 'compact' => true]) @endforeach
@endif @endif

Revenue vs Cost Trend

All projects · Last 30 days

View Reports →

Live Projects

View All →
@foreach($top5 as $p) @endforeach
ProjectProgressBudgetSpentProfitStatus
{{ $p->name }}
{{ $p->progress }}%
{{ \App\Support\Format::mwk($p->budget) }} {{ \App\Support\Format::mwk($p->spent) }} {{ \App\Support\Format::mwk($p->profit, true) }} {{ $p->status }}
@endsection @push('scripts') @endpush