@if((!is_null($task->project) && $task->project->isProjectAdmin) || $user->can('edit_projects') || ($task->created_by == $user->id && !empty($task)) || $task->project->isProjectManager || $task->project->isProjectCoordinator || $user->isProjectManager($user->id) || $user->isProjectCoordinator($user->id))

@lang('modules.tasks.taskDetail')

@csrf @method('PUT')
dependent_task_id != '') checked @endif>
dependent_task_id == null) style="display: none" @endif>
{{--
is_private) checked @endif type="checkbox">
--}}
{{-- billable) checked @endif type="checkbox"> --}} billable==\App\Task::BILLABLE_TASK ? 'checked' : ''}}> billable==\App\Task::NON_BILLABLE_TASK ? 'checked' : ''}}> {{-- billable==\App\Task::MAINTENANCE_TASK ? 'checked' : ''}}> --}}
estimate_hours > 0 || $task->estimate_minutes > 0) checked onclick="return false;" @endif name="set_time_estimate" value="true" type="checkbox">
estimate_hours == 0 && $task->estimate_minutes == 0) style="display: none" @endif>
priority == 'high') checked @endif value="high">
priority == 'medium') checked @endif id="radio14" value="medium">
priority == 'low') checked @endif value="low">
@else

{{ ucfirst($task->heading) }}

{!! ucfirst($task->description) !!}

estimate_hours == 0 && $task->estimate_minutes == 0) style="display: none" @endif>
@lang('app.hrs')    @lang('app.mins')
{{--
dependent_task_id != '') checked @endif>
dependent_task_id == null) style="display: none" @endif>
--}}

{{ \Carbon\Carbon::parse($task->due_date)->format('d-M-Y') }}

@foreach ($task->users as $item) @endforeach

@endif