@extends('layouts.app') @section('title', 'Paros de Línea — Reportes Calidad') @section('page-title', 'Paros de Línea') @section('breadcrumb') @endsection @push('styles') @endpush @section('content') {{-- Encabezado solo para impresión --}} {{-- Filtros --}}

Filtros

Limpiar
{{-- Totales --}}
Total paros {{ $totales['total'] }}
Activos {{ $totales['activos'] }}
Cerrados {{ $totales['cerrados'] }}
{{-- Resumen imprimible --}} {{-- Tabla --}}

Paros de Línea ({{ $registros->total() }})

@forelse($registros as $p) @empty @endforelse
Código Fecha Línea / Área Origen Causa Inicio Fin Duración Responsable Estado
{{ $p->codigo }} {{ $p->fecha->format('d/m/Y') }} {{ $p->linea }}
{{ $p->area_responsable }}
{{ \App\Models\ParoLinea::$ORIGENES[$p->origen] ?? $p->origen }} {{ \App\Models\ParoLinea::$CAUSAS[$p->causa] ?? $p->causa }} {{ $p->hora_inicio }} {{ $p->hora_fin ?? '—' }} @if($p->hora_fin) {{ $p->duracion }} @else En curso @endif {{ $p->responsable->name ?? '—' }} {{ strtoupper($p->estado) }}
No hay registros para los filtros seleccionados.
@if($registros->hasPages()) @endif
@endsection