@extends('layouts.app') @section('title', 'Enterprise Kanban Board') @push('styles') @endpush @section('content') @include('components.page-header', [ 'title' => 'Structural Kanban Command', 'description' => 'Enterprise workforce task governance with real-time status intelligence and assignment oversight.', 'breadcrumbs' => ['Home' => route('admin.dashboard'), 'Kanban' => '#'], 'actions' => '' ])
@foreach($statuses as $status)

{{ $status->name }}

{{ $tasksByStatus->get($status->id)?->count() ?? 0 }}
@foreach($tasksByStatus->get($status->id, []) as $task)
{{ strtoupper($task->priority) }} @if($task->hasActiveTimer()) ACTIVE @endif

{{ $task->title }}

{{ $task->project->name }}
SUBTASKS @php $completedSub = $task->subtasks->where('task_status_id', 3)->count(); @endphp {{ $completedSub }}/{{ $task->subtasks->count() }}
@foreach($task->assignees as $assignee)
{{ substr($assignee->name, 0, 1) }}
@endforeach
{{ round($task->timeLogs->sum('total_seconds') / 3600, 1) }}h
@endforeach
@endforeach
@push('scripts') @endpush @endsection