Project Milestones

Track milestones and deadlines for {{ $project->name }}

Completed In Progress Upcoming
@forelse($milestoneTasks as $task) @php $statusColor = 'gray'; $statusIcon = 'clock'; $statusBg = 'bg-gray-100'; $statusText = 'bg-gray-100 text-gray-800'; if ($task->is_completed) { $statusColor = 'green'; $statusIcon = 'check'; $statusBg = 'bg-green-100'; $statusText = 'bg-green-100 text-green-800'; } elseif ($task->status === 'in_progress') { $statusColor = 'blue'; $statusIcon = 'clock'; $statusBg = 'bg-blue-100'; $statusText = 'bg-blue-100 text-blue-800'; } elseif ($task->due_date && $task->due_date->isPast() && !$task->is_completed) { $statusColor = 'red'; $statusIcon = 'warning'; $statusBg = 'bg-red-100'; } @endphp
@if($statusIcon === 'check') @elseif($statusIcon === 'warning') @else @endif

{{ $task->title }}

@if($task->description)

{{ Str::limit($task->description, 100) }}

@endif
@if($task->is_completed) completed @elseif($task->status === 'in_progress') in progress @else upcoming @endif
@if($task->due_date)
{{ $task->due_date->format('n/j/Y') }}
({{ $task->due_date->diffForHumans() }}) @endif @if($task->assignedUser)
{{ $task->assignedUser->name }}
@endif
@if($task->category) {{ $task->category->name }} @endif @if($task->priority === 'high' || $task->priority === 'urgent') {{ ucfirst($task->priority) }} Priority @endif
@empty

No Milestones Yet

This project doesn't have any milestone tasks yet. Create tasks with the "Milestone" category to track important project milestones.

@endforelse