{{ $context === 'all' ? 'Tasks' : 'Tasks for Matter' }}
@if($context === 'all')
@endif
@if($context === 'all' && auth()->user()->hasPermission('tasks.create')) @endif
@forelse($tasks as $task) @empty @endforelse
Task Matter / Client Assigned To Status Due Date Actions
{{ $task->title }}
@if($task->description)
{{ $task->description }}
@endif
@if($task->matter) @if($task->matter->client)
{{ $task->matter->client->company_name ?? 'No Client' }}
@endif @else
No matter assigned
@endif
@if($task->assignees->count() > 0)
@foreach($task->assignees as $assignee) {{ substr($assignee->name, 0, 1) }} {{ $assignee->name }} @endforeach
@elseif($task->assignedTo) {{ substr($task->assignedTo->name, 0, 1) }} {{ $task->assignedTo->name }} @else Unassigned @endif
{{ ucfirst(str_replace('_', ' ', $task->status)) }}
@if($task->due_date) {{ $task->due_date->format('M j, Y') }} @if($task->due_date->isPast() && !in_array($task->status, ['completed', 'cancelled', 'expired'])) (Overdue) @endif @else No due date @endif
@if(auth()->user()->hasPermission('tasks.update')) Edit @if($task->status !== 'completed') @endif @endif @if(auth()->user()->hasPermission('tasks.delete')) @endif

No tasks found

@if($context === 'all') You don't have any tasks assigned to you. @else This matter doesn't have any tasks yet. @endif

@if($tasks->hasPages())
{{ $tasks->links() }}
@endif
@if($showTaskModal)

{{ $editingTask ? 'Edit Task: ' . $editingTask->title : 'Create New Task' }}

@error('taskForm.title') {{ $message }} @enderror
@if($showMentionSuggestions && !empty($mentionSuggestions))
{{ __('Suggestions:') }}
@foreach($mentionSuggestions as $suggestion) @endforeach
@endif
@error('taskForm.description') {{ $message }} @enderror
@if($context === 'all')
@error('selectedMatter') {{ $message }} @enderror
@endif
Select users...
@foreach($users as $user)
{{ $user->name }}
@endforeach
@error('taskForm.assigned_to') {{ $message }} @enderror
@error('taskForm.status') {{ $message }} @enderror
@error('taskForm.priority') {{ $message }} @enderror
@error('taskForm.start_date') {{ $message }} @enderror
@error('taskForm.due_date') {{ $message }} @enderror
@error('taskForm.estimated_hours') {{ $message }} @enderror
@if($showMentionSuggestions && !empty($mentionSuggestions))
{{ __('Suggestions:') }}
@foreach($mentionSuggestions as $suggestion) @endforeach
@endif
@error('taskForm.notes') {{ $message }} @enderror
@endif @if($itemToDelete)

Confirm Delete

Are you sure you want to delete this task? This action cannot be undone.

@endif @if($showExportModal)

Export Tasks

Select the fields you want to include in the export:

@foreach($exportFields as $field => $enabled) @endforeach
@endif