{{-- Sweet Works ERP | app/Modules/Manufacturing/Resources/Views/production-lines/create.blade.php | v1.0 | 30/08/2026 --}} {{-- v1.0 — Formulario de alta de Línea de Producción. --}} @extends('layouts.vertical') @section('title', __('manufacturing.production_lines.new') . ' — ' . __('manufacturing.common.module')) @section('content')
@csrf
{{-- Datos generales --}}
{{ __('manufacturing.production_lines.general') }}
@error('work_center_id')
{{ $message }}
@enderror
@error('code')
{{ $message }}
@enderror
@error('name')
{{ $message }}
@enderror
{{-- Capacidad --}}
{{ __('manufacturing.production_lines.capacity') }}
%
{{-- Recursos asignados --}}
{{ __('manufacturing.production_lines.assign_resources') }}

{{ __('manufacturing.production_lines.resources_hint') }}

@foreach($resources as $i => $res) @endforeach
{{ __('manufacturing.production_lines.seq') }} {{ __('manufacturing.work_centers.code') }} {{ __('manufacturing.work_centers.name') }} {{ __('manufacturing.production_lines.resource_type') }} {{ __('manufacturing.work_centers.label') }}
id, old('resources', [])) ? 'checked' : '' }}> {{ $res->code }} {{ $res->name }} {{ $res->type }} {{ $res->workCenter?->code }}
{{-- Botones --}}
{{ __('manufacturing.common.cancel') }}
@endsection