@lang('app.project')
@if ($task->project_id) @if ($task->project->status == 'in progress') @elseif ($task->project->status == 'on hold') @elseif ($task->project->status == 'not started') @elseif ($task->project->status == 'canceled') @elseif ($task->project->status == 'finished') @endif {{ $task->project->project_name }} @else -- @endif
@lang('modules.tasks.priority')
@if ($task->priority == 'high') @elseif ($task->priority == 'medium') @else @endif @lang('app.'.$task->priority)
@lang('modules.tasks.assignTo')
@if (count($task->users) > 0) @if (count($task->users) > 1) @foreach ($task->users as $item)
@endforeach @else @foreach ($task->users as $item)@lang('modules.tasks.assignBy')
@lang('app.label')
@forelse ($task->labels as $key => $label) {{ $label->label_name }} @empty -- @endforelse
{{ $task->boardColumn->slug == 'completed' || $task->boardColumn->slug == 'incomplete' ? __('app.' . $task->boardColumn->slug) : $task->boardColumn->column_name }}
{{ __('app.startDate') }}
@if(!is_null($task->start_date)) {{ $task->start_date->format(global_setting()->date_format) }} @else -- @endif
{{ __('app.dueDate') }}
@if(!is_null($task->due_date)) {{ $task->due_date->format(global_setting()->date_format) }} @else -- @endif
{{ __('modules.employees.hoursLogged') }}
{{ $timeLog }}