@extends('layouts.master') @section('title','Show Project Detail') @section('action','Detail') @section("styles") @endsection @section('button')
@can('edit_project') @endcan @can('create_task') @endcan @can('upload_project_attachment') @endcan
@endsection @section('main-content')
@include('admin.section.flash_message') @include('admin.project.common.breadcrumb')

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

  • Total Tasks : {{($projectDetail->tasks->count())}}
  • Completed Tasks: {{($projectDetail->completedTask?->count())}}
{{($projectDetail->getProjectProgressInPercentage())}} %
{!! $projectDetail->description!!}

Uploaded image files

@forelse($images as $key => $imageData)
document images

{{$imageData->attachment}}

@can('delete_pm_attachment') @endcan
@empty

No Project Image found

@endforelse

Uploaded files

@forelse($files as $key => $fileData)
{{asset(\App\Models\Attachment::UPLOAD_PATH.$fileData->attachment)}}

{{ date_format($fileData->created_at, ('M d Y')) }}

@can('delete_pm_attachment') @endcan
@empty

No Project Files found

@endforelse
Project Tasks Lists:
@forelse($projectDetail->tasks as $key => $value)
@forelse($value->assignedMembers as $key => $memberDetail) profile @empty @endforelse
@canany(['edit_task','show_task_detail','delete_task'])
@endcanany
@empty @endforelse
@endsection @section('scripts') @include('admin.project.common.scripts') @endsection