@php $addTaskCategoryPermission = user()->permission('add_task_category'); $viewTaskCategoryPermission = user()->permission('view_task_category'); $addEmployeePermission = user()->permission('add_employees'); $addTaskFilePermission = user()->permission('add_task_files'); $addTaskPermission = user()->permission('add_tasks'); $viewMilestonePermission = user()->permission('view_project_milestones'); $checked = request()->has('duplicate_task') ? ($projectId = $task->project_id) : ($projectId = ''); @endphp

@lang('modules.tasks.taskInfo')

@if ($addTaskCategoryPermission == 'all' || $addTaskCategoryPermission == 'added') @endif
@if (isset($project) && !is_null($project)) {{-- @elseif($projects->count() > \App\Models\GlobalSetting::SELECT2_SHOW_COUNT)--}} {{-- --}} @else @foreach ($projects as $data) @endforeach @endif
due_date)) style="display: none" @endif>
@if ($addEmployeePermission == 'all' || $addEmployeePermission == 'added') @endif
{!! $task ? $task->description : '' !!}

@lang('modules.client.clientOtherDetails')

@if (user()->permission('task_labels') == 'all') @endif
@if($project) @if(in_array($viewMilestonePermission,['all','owned','added']) || user()->id == $project->client_id) @foreach ($milestones as $item) @endforeach @endif @endif
@if (user()->permission('change_status') == 'all')
@foreach ($taskboardColumns as $item) @php if ($item->slug == 'completed' || $item->slug == 'incomplete') { if ($item->slug == 'completed') { $icon = "".__('app.' . $item->slug); } elseif($item->slug == 'incomplete'){ $icon = "".__('app.' . $item->slug); } } else { if ($item->slug == 'to_do') { $icon = "".$item->column_name; } elseif($item->slug == 'doing'){ $icon = "".$item->column_name; } else { $icon = "". $item->column_name; } } @endphp @endforeach
@endif
@lang('app.hrs')    @lang('app.mins')
@if(is_null($task))
@foreach ($allTasks as $item) @endforeach
@endif @if ($addTaskFilePermission == 'all' || $addTaskFilePermission == 'added')
@endif
@lang('app.save') @lang('app.saveAddMore') @lang('app.cancel')