{{-- Sweet Works ERP | app/Modules/Manufacturing/Resources/Views/routings/create.blade.php | v1.3 | 02/09/2026 --}} {{-- v1.3 — Fix: use $resourcesJson (pre-transformed in controller) to avoid Blade ParseError with fn() inside @json(). --}} {{-- v1.2 — i18n sweep: replace all hardcoded text with __() calls. --}} {{-- v1.1 — Corrección: work_center_id → resource_id; $workCenters → $resources. --}} {{-- v1.0 — Nueva Hoja de Ruta. --}} @extends('layouts.vertical') @section('content')

{{ __('manufacturing.routings.new') }}

@csrf
{{-- Encabezado --}}
{{ __('manufacturing.routings.header') }}
@if($errors->any())
    @foreach($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif
@error('code')
{{ $message }}
@enderror
@error('name')
{{ $message }}
@enderror
@error('product_id')
{{ $message }}
@enderror
{{-- Operaciones --}}
{{ __('manufacturing.routings.operations') }}
{{ __('manufacturing.routings.op_number') }} {{ __('manufacturing.routings.op_name') }} {{ __('manufacturing.routings.resource_col') }} {{ __('manufacturing.routings.cycle_col') }} {{ __('manufacturing.routings.setup_col') }} {{ __('manufacturing.routings.wait_col') }}
{{ __('manufacturing.common.cancel') }}
@endsection