Tasks
@can('tasks.create') @endcan

{{ $this->counts['overdue'] }}

Overdue

{{ $this->counts['soon'] }}

Due Soon

{{ $this->counts['good'] }}

Future

@if($filter !== 'all')
Filtered: {{ ucfirst($filter) }} Clear
@endif
Assign New Task
@csrf
Leave as yourself, or assign to another team member.
Save
@if($showAdd)
@endif
Edit Task
@csrf
Update
@if($showEdit)
@endif
@forelse($this->tasks as $task) @empty @endforelse
Task Due At Assignee Status Action
{{ $task->title }}

{{ $task->description ?? 'No description' }}

@if($task->due_at) {{ $task->due_at->format('d/m/Y H:i') }}
{{ $task->due_at->diffForHumans() }} @else No Due Date @endif
{{ $task->user->name_first }} {{ $task->user->name_last }} @if($task->due_at && $task->due_at->isPast()) Overdue @elseif($task->due_at && $task->due_at->isBefore(now()->addDays(2))) Soon @elseif($task->due_at) Future @else Anytime @endif @if(!$task->completed_at) @can('tasks.edit') @endcan @can('tasks.complete') @endcan @endif @can('tasks.delete') @endcan
No tasks found.
{{ $this->tasks->links() }}