@php $moveClass = ''; @endphp @if ($draggable == 'false') @php $moveClass = 'move-disable'; @endphp @endif @php $priorityColor = ($task->priority == 'high' ? '#dd0000' : ($task->priority == 'medium' ? '#ffc202' : '#0a8a1f')); @endphp
{{ $task->heading }}

@if ($task->is_private) @lang('app.private') @endif #{{ $task->task_short_code }}

@if (count($task->labels) > 0)
@foreach ($task->labels as $key => $label) {{ $label->label_name }} @endforeach
@endif
@if ($task->project_id)
{{ $task->project->project_name }}
@endif @if ($task->estimate_hours > 0 || $task->estimate_minutes > 0)
{{ $task->estimate_hours }}:{{ $task->estimate_minutes }}
@endif
@foreach ($task->users as $item)
@endforeach
@if ($task->subtasks_count > 0) {{ $task->completed_subtasks_count .'/' . $task->subtasks_count }} @endif @if (!is_null($task->due_date)) @if ($task->due_date->endOfDay()->isPast())
{{ $task->due_date->translatedFormat($company->date_format) }}
@elseif($task->due_date->setTimezone($company->timezone)->isToday())
@lang('app.today')
@else
{{ $task->due_date->translatedFormat($company->date_format) }}
@endif @endif