@extends('layouts.admin') @section('page-title') {{ucwords($project->project_name)}} @endsection @push('script-page') @endpush @section('breadcrumb') @endsection @section('action-btn')
@can('view grant chart') {{__('Gantt Chart')}} @endcan @if(\Auth::user()->type!='client' || (\Auth::user()->type=='client' )) {{__('Tracker')}} @endif @can('view expense') {{__('Expense')}} @endcan @if(\Auth::user()->type != 'client') @can('view timesheet') {{__('Timesheet')}} @endcan @endif @can('manage bug report') {{__('Bug Report')}} @endcan @can('create project task') {{__('Task')}} @endcan @can('edit project') @endcan
@endsection @section('content')
{{__('Total Task')}}
{{$project_data['task']['total'] }}

{{ $project_data['task']['done'] }}

{{__('Done Task')}}
{{__('Total')}}
{{__('Budget')}}

{{ \Auth::user()->priceFormat($project->budget)}}

@if(Auth::user()->type !='client')
{{__('Total')}}
{{__('Expense')}}

{{ \Auth::user()->priceFormat($project_data['expense']['total']) }}

@else
@endif
img_image }} alt="" class="img-user wid-45 rounded-circle">
{{$project->project_name}}

{{__('Completed:')}} : {{ $project->project_progress()['percentage'] }}

{{ $project->description }}

{{__('Start Date')}}
{{ Utility::getDateFormated($project->start_date) }}
{{__('End Date')}}
{{ Utility::getDateFormated($project->end_date) }}

{{__('Last 7 days task done')}}

{{ $project_data['task_chart']['total'] }}

{{__('Day Left')}}
{{ $project_data['day_left']['day'] }}
{{__('Open Task')}}
{{ $project_data['open_task']['tasks'] }}
{{__('Completed Milestone')}}
{{ $project_data['milestone']['total'] }}

{{__('Last 7 days hours spent')}}

{{ $project_data['timesheet_chart']['total'] }}

{{__('Total project time spent')}}
{{ $project_data['time_spent']['total'] }}
{{__('Allocated hours on task')}}
{{ $project_data['task_allocated_hrs']['hrs'] }}
{{__('User Assigned')}}
{{ $project_data['user_assigned']['total'] }}
{{__('Members')}}
@can('edit project') @endcan
@can('create milestone')
{{__('Milestones')}} ({{count($project->milestones)}})
@endcan
    @if($project->milestones->count() > 0) @foreach($project->milestones as $milestone)
  • {{ $milestone->title }} {{ __(\App\Models\Project::$project_status[$milestone->status]) }}
    {{ $milestone->tasks->count().' '. __('Tasks') }}
    {!! Form::open(['method' => 'DELETE', 'route' => ['project.milestone.destroy', $milestone->id]]) !!} {!! Form::close() !!}
  • @endforeach @else
    {{__('No Milestone Found.')}}
    @endif
@can('view activity')
{{__('Activity Log')}}
{{__('Activity Log of this project')}}
@foreach($project->activities as $activity)
{{ __($activity->log_type) }}

{!! $activity->getRemark() !!}

{{$activity->created_at->diffForHumans()}}

@endforeach
@endcan
{{__('Attachments')}}
{{__('Attachment that uploaded in this project')}}
    @if($project->projectAttachments()->count() > 0) @foreach($project->projectAttachments() as $attachment)
  • {{ $attachment->name }}
    {{ $attachment->file_size }}
  • @endforeach @else
    {{__('No Attachments Found.')}}
    @endif
@endsection