@if ($view === 'kanban')
@foreach ($statuses as $status) @php $cards = $columns[$status->value] ?? collect(); @endphp
{{ $status->label() }} {{ $cards->count() }}
@forelse ($cards as $task) @include('projects.tasks.partials.card', ['task' => $task]) @empty
{{ $emptyLabel }}
@endforelse
@endforeach
@else
@forelse ($tasks as $task) @empty @endforelse
Task Project Assignee Priority Status Due Hours
{{ $task->title }} {{ $task->project?->project_name }} {{ $task->assignee?->name ?? 'Unassigned' }} {{ $task->priority->label() }} {{ $task->status->label() }} {{ $task->due_date?->format('d M') ?: '—' }} {{ number_format($task->hoursLogged(), 1) }}{{ $task->estimated_hours ? ' / '.$task->estimated_hours : '' }}
No tasks match those filters.
@if (! $tasks instanceof \Illuminate\Support\Collection && $tasks->hasPages()) @endif
@endif