⚙️ Ajustes Tintorería

← Plan Teñido
{{-- ── Máquinas de Tintura ──────────────────────────────────────────── --}}

🏭 Máquinas de Tintura

Cuerdas permitidas y capacidad por cuerda

@forelse ($machines as $machine) @php $ropes = $machine->allowed_ropes ?? []; @endphp @empty @endforelse
# Código Nombre Cuerdas permitidas Cap. / cuerda Estado
{{ $machine->sort_order }} {{ $machine->code }} {{ $machine->name }}
@foreach($ropes as $r) {{ $r }} @endforeach @if(empty($ropes)) Sin restricción @endif
{{ number_format($machine->kg_per_rope, 0) }} kg · {{ number_format($machine->mts_per_rope, 0) }} m {{ $machine->status === 'active' ? 'Activa' : 'Inactiva' }}
No hay máquinas configuradas.
{{-- ── Non-workable dates ───────────────────────────────────────────── --}}

Non-workable Dates

@forelse ($nonWorkableDates as $nw) @empty @endforelse
Date Description
{{ $nw->date->format('d/m/Y') }} ({{ $nw->date->format('l') }}) {{ $nw->description }}
No non-workable dates defined.
{{-- Machine modal --}} @if ($showMachineModal)

{{ $editingMachine ? '✏️ Editar Máquina' : '+ Nueva Máquina' }}

@error('machineCode')

{{ $message }}

@enderror
@error('machineName')

{{ $message }}

@enderror

Dejar vacío = sin restricción. Thies 1&3: 1,2,3 · Thies 2: 2,3 · Tongeng: 1

kg
@error('machineKgPerRope')

{{ $message }}

@enderror
m
@error('machineMtsPerRope')

{{ $message }}

@enderror
@endif {{-- Machine delete confirm --}} @if ($confirmingMachineDelete)

¿Eliminar máquina?

Los batches asignados a esta máquina quedarán sin máquina asignada.

@endif {{-- Non-workable date modal --}} @if ($showDateModal)

{{ $editingDate ? 'Edit Date' : 'Add Non-workable Date' }}

@error('nwDate')

{{ $message }}

@enderror
@error('nwDescription')

{{ $message }}

@enderror
@endif {{-- Date delete confirm --}} @if ($confirmingDateDelete)

Remove this date?

The schedule will be recalculated for all machines.

@endif