@php $overdue = $task->due_date && \Carbon\Carbon::parse($task->due_date)->isPast() && $task->status !== 'completed'; $priorityColors = ['high' => '#dc2626', 'medium' => '#d97706', 'low' => '#16a34a']; $leftColor = $priorityColors[$task->priority] ?? '#94a3b8'; @endphp
{{ $task->title }}
@if($task->description)
{{ strip_tags($task->description) }}
@endif
{{ ucfirst($task->priority) }} @if($task->due_date) {{ \Carbon\Carbon::parse($task->due_date)->format('M d') }} @if($overdue)  • Overdue @endif @endif @if($task->user)
{{ strtoupper(substr($task->user->name, 0, 1)) }}
@endif
@if($task->project) {{ $task->project->name }} @endif