| 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 |
|||||
Are you sure you want to delete this task? This action cannot be undone.
Select the fields you want to include in the export: