@php $netMonth = $stats['net_month'] ?? 0; $netFy = $stats['net_fy'] ?? ($stats['net_year'] ?? 0); @endphp
Monthly inflow vs outflow
{{ money($stats['income_month']) }}
Outflow {{ money($stats['expense_month']) }}
Net profit / loss
{{ money($netMonth) }}
FY {{ $fyLabel ?? ($stats['fy_label'] ?? '') }} {{ money($netFy) }}
Unpaid invoices
{{ $unpaidInvoicesAmount !== null ? money($unpaidInvoicesAmount) : '—' }}
{{ $unpaidInvoicesCount ?? $outstandingInvoices ?? 0 }} open
@can('invoicing.invoices') Open invoicing @endcan
Active AMC
{{ $activeAmcCount ?? '—' }}
{{ $amcExpiringCount ?? 0 }} renewals due
@can('invoicing.amc') Open AMC @endcan
@if (! empty($projectKpis))
Active projects
{{ $projectKpis['active_projects'] }}
All projects
Open / overdue tasks
{{ $projectKpis['open_tasks'] }}
{{ $projectKpis['overdue_tasks'] }} overdue
Hours this month
{{ number_format($projectKpis['hours_month'], 1) }}
This week {{ number_format($projectKpis['hours_week'], 1) }}h
Estimated vs actual
{{ number_format($projectKpis['actual_hours'], 1) }}h
of {{ number_format($projectKpis['estimated_hours'], 1) }}h estimated
@endif