{{ __('Elementos (Features)') }}
@if(empty($features))

{{ __('No hay elementos en el rango seleccionado.') }}

@else
@foreach($features as $feature) @php $hasEndDev = $feature['deviation_days'] !== null; $endDevColor = $hasEndDev && $feature['deviation_days'] > 0 ? 'text-red-600' : ($hasEndDev && $feature['deviation_days'] < 0 ? 'text-green-600' : ''); $hasStartDev = $feature['start_deviation_days'] !== null; $startDevColor = $hasStartDev && $feature['start_deviation_days'] > 0 ? 'text-red-600' : ($hasStartDev && $feature['start_deviation_days'] < 0 ? 'text-green-600' : ''); $hasProgDev = $feature['progress_deviation'] !== null; $progDevColor = $hasProgDev && $feature['progress_deviation'] < 0 ? 'text-red-600' : 'text-green-600'; @endphp @endforeach
Elemento Fase Capa Estado Progreso (%) Prog. Plan (%) Inicio Plan Fin Plan Inicio Real Fin Real Δ Fin (d) Δ Inicio (d) SPI En Plazo Responsable Template Últ. Insp. Resultado Insp. Issues
{{ $feature['name'] }} {{ $feature['phase'] }} {{ $feature['layer'] }} {{ $feature['status_label'] }}
{{ $feature['progress'] }}%
{{ $feature['planned_progress'] }}% {{ $feature['planned_start'] ?? '—' }} {{ $feature['planned_end'] ?? '—' }} {{ $feature['actual_start'] ?? '—' }} {{ $feature['actual_end'] ?? '—' }} {{ $feature['deviation_days'] ?? '—' }} {{ $feature['start_deviation_days'] ?? '—' }} {{ $feature['spi'] ?? '—' }} @if($feature['is_on_track'] === true) {{ __('Sí') }} @elseif($feature['is_on_track'] === false) {{ __('No') }} @else {{ __('N/A') }} @endif {{ $feature['responsible'] }} {{ $feature['template'] }} {{ $feature['last_inspection_date'] ?? '—' }} @if($feature['last_inspection_result']) {{ $feature['last_inspection_result'] === 'pass' ? 'Aprobada' : ($feature['last_inspection_result'] === 'fail' ? 'Fallida' : 'Condicional') }} @endif {{ $feature['inspections_count'] }} {{ $feature['open_issues_count'] }}
@endif