No projects match the current filters.
@else| Name | Client | Status | Progress % | Due | Budget | Contract | Income | Spent | P/L | Margin % |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $project->name }} | {{ $project->client?->company_name }} | {{ $project->status }} | {{ $project->progress_percentage }} | {{ optional($project->due_date)?->format('Y-m-d') }} | {{ number_format((float) $project->budget, 2) }} | {{ number_format((float) $project->contract_value, 2) }} | {{ number_format($inc, 2) }} | {{ number_format($exp, 2) }} | {{ number_format($pl, 2) }} | {{ number_format($margin, 2) }} |
| Totals / averages | {{ number_format((float) $projects->sum('budget'), 2) }} | {{ number_format((float) $projects->sum('contract_value'), 2) }} | {{ number_format((float) $projects->sum(fn ($p) => (float) ($p->agg_income ?? 0)), 2) }} | {{ number_format((float) $projects->sum(fn ($p) => (float) ($p->agg_expense ?? 0)), 2) }} | โ | โ | ||||