@extends('admin.partial.admin_master') @section('title') Project Lists | Aplikasi Project Management @endsection @section('css') @endsection @section('main') @can('Manage Project')
@can('Add Project')

Monitoring Project {{-- Tambah Proyek

--}} @endcan
@csrf
Select Year Reset

@foreach ($project as $key=>$row ) @endforeach
No Project Code Portfolio Project Name Project Owner Project Manager Start Date End Date Duration Budget Status Progress
{{ $key+1 }} {{ $row->full_number }} {{-- @if ($row->status != 'Started' and !empty($row->Ganttask) and $row->Ganttask->count()>0 and (int)$row->Ganttask->first()->bobot != 100)
Bobot Belum Terisi! Silahkan isi Bobot di WBS!
@endif --}}
{{ $row->portofolio ??''}} {{ $row->project_name ??''}} Name : {{ $row->nama_po }}
Email : {{ $row->project_owner ??'' }}
Position :{{ $row->jabatan_po }}
Name : {{ $row->nama_pm }}
Email : {{ $row->project_manager ??'' }}
Position :{{ $row->jabatan_pm }}
{{ Carbon\Carbon::parse($row->start_date ??'')->isoFormat('D MMMM Y') ??'' }} {{ Carbon\Carbon::parse($row->end_date ??'')->isoFormat('D MMMM Y') ??'' }} {{ $row->duration ??''}} Days {{ number_format($row->project_budget) }},- @if ($row->status == 'draft') Draft @elseif($row->status == 'Waiting for project manager approval') Waiting for approval Manager @elseif($row->status == 'Waiting for project owner approval') Waiting for project owner approval @elseif($row->status == 'ProjectOwnerApproved') Approved by Project Owner @elseif($row->status == 'Project rejected by Manager') Project rejected by Manager
Reason: {{ $row->reason_rejected }} @elseif($row->status == 'Project rejected by VP') Project rejected by VP
Reason: {{ $row->reason_rejected }} @elseif($row->status == 'Started') Running @endif @if ($row->status != 'Started' and !empty($row->Ganttask) and $row->Ganttask->count()>0 and (int)$row->Ganttask->first()->bobot != 100)
Weight Hasn't Filled Yet!
Please fill weight in the WBS to Start the Project!

@endif
Last Updated by :
{{ $row->ganttupdatedby->name??'' }}
Last Updated at:
{{ $row->gantt_updated_at }}
{{-- @can('Update Project') @if (($row->status == 'Disetujui VP')||($row->status == 'Started')) Edit

@else Edit

@endif @endcan --}} @can('Gantt Chart Project') @if ($row->status == 'Started') Plan Gantt

@else Plan Gantt

@endif @if($row->status == 'ProjectOwnerApproved') @if ((int)$row->Ganttask->first()->bobot == 100) Start

@endif @endif @if($row->status == 'Started') {{-- Aktual 1

--}} Real Gantt

@endif @endcan @can('Delete Project') @if(($row->status == 'Started') || ($row->status == 'ProjectOwnerApproved') || ($row->status == 'Waiting for project manager approval') || ($row->status == 'Waiting for project owner approval')) @else {{-- modal edit --}} @endif @endcan @can('Detail WBS') WBS

@endcan
@endcan @endsection @section('js') @endsection