{{ ucfirst($task->heading) }}
#{{ $task->id }}
@if (!is_null($task->project_id))
{{ ucfirst($task->project->project_name) }}
@endif
@if (!is_null($task->label))
@foreach($task->label as $key => $label)
@endforeach
@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