@extends('layouts.app') @section('title', 'Enterprise Project Roadmap') @push('styles') @endpush @section('content') @include('components.page-header', [ 'title' => 'Advanced Project Roadmap', 'description' => 'Structural engineering roadmap with zero-collision geometry and real-time workforce alignment.', 'breadcrumbs' => ['Home' => route('admin.dashboard'), 'Timeline' => '#'], 'actions' => '' ])
@php $start = $windowStart; $end = $windowEnd; $totalDays = $start->diffInDays($end) + 1; $dayWidth = 60; @endphp
@for($i = 0; $i < $totalDays; $i++) @php $date = $start->copy()->addDays($i); @endphp
{{ $date->format('D') }}
{{ $date->format('d') }}
@endfor
@forelse($lanes as $laneIndex => $laneTasks)
LANE {{ $laneIndex + 1 }}
{{ count($laneTasks) }} Active Modules
@for($i = 0; $i < $totalDays; $i++)
@endfor @foreach($laneTasks as $t) @php $leftOffset = $start->diffInDays($t['start']) * $dayWidth; $width = ($t['start']->diffInDays($t['end']) + 1) * $dayWidth; $isOverdue = $t['end']->isPast() && $t['status']->slug != 'completed'; $task = $t['model']; @endphp
@if(!$isOverdue)
@endif
{{ $task->title }} {{ $task->progress_percent }}%
@endforeach
@empty
@endforelse
@php $todayLeft = $start->diffInDays(now()) * $dayWidth + ($dayWidth / 2); @endphp
NOW
@push('scripts') @endpush @endsection