{{ ucfirst($task->heading) }}
#{{ $task->id }}
@if ($task->is_private)
@endif
@if (!is_null($task->project_id))
{{ ucfirst($task->project->project_name) }}
@else
@endif
@foreach ($task->users as $item)
@endforeach
@if($task->due_date)
@if($task->due_date->endOfDay()->isPast())
{{ $task->due_date->format($global->date_format) }}
@elseif($task->due_date->setTimezone($global->timezone)->isToday())
@lang('app.today')
@else
{{ $task->due_date->format($global->date_format) }}
@endif
@else
@endif
{{ count($task->comments) }}
@if(count($task->subtasks) > 0)
{{ count($task->completedSubtasks) }} / {{ count($task->subtasks) }}
@endif