@php $phaseHeader = $phaseDetail['header']; $general = $phaseDetail['general']; $housingState = $general['housing_state']; @endphp
domain

{{ $phaseHeader['title'] }}

{{ $phaseHeader['status'] }}

CODIGO: {{ $phaseHeader['code'] }} • Ubicacion: {{ $phaseHeader['location'] }}

Cronograma
Programado {{ $phaseHeader['scheduled_start'] }}
trending_flat
Real {{ $phaseHeader['actual_start'] }}
Responsable {{ $phaseHeader['manager_name'] }} {{ $phaseHeader['manager_role'] }}
{{ $phaseHeader['manager_initials'] }}
@foreach ($general['kpis'] as $kpi)
{{ $kpi['label'] }}
{{ $kpi['value'] }} {{ $kpi['meta'] }}
@endforeach

Avance por Especialidad

Progreso acumulado por frente de obra

{{ $general['kpis'][1]['value'] }}
@foreach ($general['specialties'] as $specialty)
{{ $specialty['label'] }} {{ $specialty['progress'] }}
@endforeach

{{ $housingState['title'] ?? 'Estado de Viviendas' }}

{{ $housingState['total'] }} Total
{{ $housingState['active'] }} Activas
{{ $housingState['delayed_title'] }}
@foreach ($housingState['delayed'] as $item)
{{ $item['lot'] }} {{ $item['delay'] }}
@endforeach

Alertas Activas

{{ $general['kpis'][2]['value'] }} Criticas {{ count($general['alerts']) }} Totales
@foreach ($general['alerts'] as $alert)
warning

{{ $alert['title'] }}

{{ $alert['description'] }}

@endforeach

Responsables

{{ count($general['responsibles']) }} lideres
@foreach ($general['responsibles'] as $responsible)
{{ $responsible['initials'] }}

{{ $responsible['name'] }}

{{ $responsible['role'] }}

{{ $responsible['status'] }}
@endforeach

Gestion Directa

rocket_launch
@foreach ($general['quick_actions'] as $action) @endforeach