{{-- Sweet Works ERP | app/Modules/Manufacturing/Resources/Views/production-lines/index.blade.php | v1.0 | 30/08/2026 --}} {{-- v1.0 — Listado de Líneas de Producción con filtros. --}} @extends('layouts.vertical') @section('title', __('manufacturing.production_lines.title') . ' — ' . __('manufacturing.common.module')) @section('content')
{{-- Breadcrumb --}}
@can('manufacturing.line.create') {{ __('manufacturing.production_lines.new') }} @endcan
@if(session('success')) @endif {{-- Filtros --}}
{{-- Tabla --}}
@forelse($lines as $line) @empty @endforelse
{{ __('manufacturing.production_lines.code') }} {{ __('manufacturing.production_lines.name') }} {{ __('manufacturing.work_centers.label') }} {{ __('manufacturing.production_lines.resources_count') }} {{ __('manufacturing.work_centers.capacity') }} {{ __('manufacturing.common.status') }} {{ __('manufacturing.common.view') }}
{{ $line->code }} {{ $line->name }} @if($line->workCenter) {{ $line->workCenter->code }} {{ $line->workCenter->name }} @else — @endif {{ $line->resources_count ?? '—' }} {{ number_format($line->capacity_per_hour, 0) }} {{ $line->capacity_uom ? '/' . $line->capacity_uom : '' }} @if($line->is_active) {{ __('manufacturing.common.active') }} @else {{ __('manufacturing.common.inactive') }} @endif
{{ __('manufacturing.common.no_records') }}
@if($lines->hasPages()) @endif
@endsection