@extends('layouts.app') @section('title', 'Project Intelligence') @push('styles') @endpush @section('content') @php $actionsHtml = ' Create Project'; @endphp @include('components.page-header', [ 'title' => 'Engineering Project Control', 'description' => 'Oversee all active and archived projects across your organization with real-time progress intelligence.', 'breadcrumbs' => ['Home' => route('admin.dashboard'), 'Projects' => '#'], 'actions' => $actionsHtml, 'stats' => [ ['label' => 'Total Portfolios', 'value' => $projects->total(), 'icon' => 'bi-folder-fill', 'color' => 'var(--accent-cream)'], ['label' => 'Active Delivery', 'value' => count($projects->where('status', 'in_progress')), 'icon' => 'bi-play-circle-fill', 'color' => 'var(--accent-green)'], ['label' => 'Risk / Delayed', 'value' => count($projects->where('status', 'delayed')), 'icon' => 'bi-exclamation-triangle-fill', 'color' => '#ff4b4b'] ] ])

Project Portfolio

ORGANIZATIONAL ASSETS
@forelse($projects as $project) @empty @endforelse
Project Identity Status Task Load Delivery Progress Operations
{{ $project->name }}
ID: #PJ-{{ str_pad($project->id, 4, '0', STR_PAD_LEFT) }}
@php $statusClass = match(strtolower($project->status)) { 'completed' => 'badge-whatsapp', 'in_progress' => 'badge-email', 'delayed' => 'badge-low', default => 'badge-low' }; @endphp {{ ucfirst($project->status) }} {{ $project->tasks_count }} ACTIVE TASKS
{{ $project->progress_percent }}%
@csrf @method('DELETE')

No organizational projects detected

@if($projects->hasPages())
{{ $projects->links() }}
@endif @endsection