@foreach([
'pending' => ['color' => 'gray', 'icon' => 'M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'],
'in_progress' => ['color' => 'blue', 'icon' => 'M13 10V3L4 14h7v7l9-11h-7z'],
'review' => ['color' => 'amber', 'icon' => 'M15 12a3 3 0 11-6 0 3 3 0 016 0z'],
'done' => ['color' => 'emerald', 'icon' => 'M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z']
] as $status => $config)
{{ __('task.status_' . $status) }}
{{ $kanbanColumns[$status]->count() }}
@forelse($kanbanColumns[$status] as $task)
@if($task->project)
{{ $task->project->name }}
@endif
@if($task->due_date)
{{ calendar_date($task->due_date) }}
@endif
@if($task->assignee)
{{ mb_strtoupper(mb_substr($task->assignee->name, 0, 1)) }}
@endif
{{-- Quick status change buttons --}}
@if($status !== 'pending')
@endif
@if($status !== 'in_progress')
@endif
@if($status !== 'review')
@endif
@if($status !== 'done')
@endif
@empty
{{ __('task.no_tasks') }}
@endforelse
@endforeach