@extends('layouts.master') @section('title','Project') @section('action','Lists') @section('button') @can('create_project') @endcan @endsection @section('main-content')
@include('admin.section.flash_message') @include('admin.project.common.breadcrumb')
@forelse($projects as $key => $value)
profile
{{ucfirst($value?->name)}}

Client : {{ucfirst($value->client?->name)}}

@canany(['show_project_detail','edit_project','delete_project'])
@endcanany
  • All Tasks :{{($value->tasks->count())}}
  • Completed Tasks :{{($value->completedTask->count())}}
{{$value->projectRemainingDaysToComplete() > 0 ? $value->projectRemainingDaysToComplete() : 0 }} days left
{{($value->getProjectProgressInPercentage())}} %
  • {{\App\Helpers\PMHelper::STATUS[$value->status]}}
  • {{ucfirst($value->priority)}}
  • {{($isActiveStatus[$value->is_active])}}
Team Member
@forelse($value->assignedMembers as $key => $memberDetail) @empty @endforelse
Leader
@forelse($value->projectLeaders as $key => $leader) @empty @endforelse

{{\App\Helpers\AppHelper::formatDateForView($value->start_date)}}

Start Date

{{\App\Helpers\AppHelper::formatDateForView($value->deadline)}}

Due Date
@empty @endforelse
{{$projects->appends($_GET)->links()}}
@endsection @section('scripts') @include('admin.project.common.scripts') @endsection