@extends('layouts.master') @section('title','Show Task Detail') @section('action','Detail') @section("styles") @endsection @section('button') @endsection @section('main-content')
@include('admin.section.flash_message') @include('admin.task.common.breadcrumb')

{{ucfirst($taskDetail->name)}}

  • Total Checklist : {{($taskDetail->taskChecklists->count())}}
  • Completed Checklist: {{($taskDetail->completedTaskChecklist->count())}}
{{($taskDetail->getTaskProgressInPercentage())}} %
{!! $taskDetail->description!!}
@forelse($images as $key => $imageData)
document images

{{$imageData->attachment}}

@can('delete_pm_attachment') @endcan
@empty @endforelse
@forelse($files as $key => $fileData)
{{asset(\App\Models\Attachment::UPLOAD_PATH.$fileData->attachment)}}

{{\App\Helpers\AppHelper::formatDateForView($fileData->created_at)}}

@can('delete_pm_attachment') @endcan
@empty @endforelse
@include('admin.task.comment_section')

Task Checklist Lists

@forelse($taskDetail->taskChecklists as $key => $value)
@can('edit_checklist') is_completed ? 'checked':''}} data-href="{{route('admin.task-checklists.toggle-status',$value->id)}}" /> @endcan {{$value->name}}

Assigned To

profile
@can('edit_checklist') @endcan @can('delete_checklist') @endcan
@empty @endforelse @can('create_checklist')
Create task Checklist
@csrf
@endcan
@include('admin.task.task_summary')
@endsection @section('scripts') @include('admin.task.common.scripts') @include('admin.task.common.comment_scripts') @endsection