@extends('layouts.app', ['title' => 'Task board']) @section('content') @php($prioClass = ['high' => 'text-bg-danger', 'normal' => 'text-bg-light', 'low' => 'text-bg-secondary'])

Task board

Every task and follow-up across the team. Drag cards between columns.

@if ($errors->any())
{{ $errors->first() }}
@endif
@foreach ($columns as $status => $col)
{{ $col['label'] }}{{ $col['tasks']->count() }}
@foreach ($col['tasks'] as $t)
{{ $t->title }}{{ \App\Models\Task::PRIORITIES[$t->priority] ?? '' }}
@if ($t->contact) {{ $t->contact->full_name }}@endif
{{ $t->assignee?->name ?? 'Unassigned' }} @if ($t->due_at) {{ $t->due_at->timezone($tz)->format('d M, h:i A') }}@endif
@endforeach
@endforeach

Done shows tasks finished in the last 14 days. Moving a card to Done completes the task everywhere.

@endsection @push('scripts') @endpush