| Project | Client | Invoiced | Spent | Profit | Margin % | Risk |
|---|---|---|---|---|---|---|
| {{ $p->name }} | {{ $p->client?->name ?? '—' }} | {{ number_format($row['invoiced'],2) }} | {{ number_format($row['spent'],2) }} | {{ number_format($row['profit'],2) }} | {{ number_format($row['margin_pct'],2) }} | {{ $row['risk'] }} |