@php $editTaskPermission = user()->permission('edit_tasks'); $sendReminderPermission = user()->permission('send_reminder'); $changeStatusPermission = user()->permission('change_status'); @endphp
@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.taskShortCode')
{{ ($task->task_short_code) ? $task->task_short_code : '--' }}
@lang('modules.tasks.assignBy')
{{-- --}}
@lang('app.label')
@forelse ($task->labels as $key => $label) {{ $label->label_name }} @if ($label->description) @endif @empty -- @endforelse
GitLab
{{ $task->boardColumn->column_name }}
@endif @if (($taskSettings->make_private == 'yes' && in_array('client', user_roles())) || in_array('admin', user_roles()) || in_array('employee', user_roles())) @if ($task->is_private || $pin){{ __('app.startDate') }}
@if(!is_null($task->start_date)) {{ $task->start_date->translatedFormat(company()->date_format) }} @else -- @endif
{{ __('app.dueDate') }}
@if(!is_null($task->due_date)) {{ $task->due_date->translatedFormat(company()->date_format) }} @else -- @endif
{{ __('modules.tasks.setTimeEstimate') }}
{{ $task->estimate_hours }} @lang('app.hrs') {{ $task->estimate_minutes }} @lang('app.mins')
{{ __('modules.employees.hoursLogged') }}
{{ $timeLog }}