@foreach($statuses as $status_key => $status_label)

{{ $status_label }}

{{ isset($sorted[$status_key]) ? count($sorted[$status_key]) : 0 }}
@if(isset($sorted[$status_key])) @foreach($sorted[$status_key] as $project)
{{ $project->name }}
{{ $project->lead->user_full_name ?? '-' }}
{{ number_format((float) $project->progress, 0) }}%
@endforeach @endif
@endforeach