Trazabilidad de tela · Corte · Unión · Historial de procesos · Genealogía
| Código | Artículo | Metros | Kg | Estado |
|---|---|---|---|---|
{{ $roll->display_code }}
@if($roll->parent_roll_id)← {{ $roll->parent?->display_code }} @endif
|
{{ $roll->article_id ?: '—' }} | {{ $roll->current_length_m ? number_format($roll->current_length_m,1) : '—' }} | {{ $roll->current_weight_kg ? number_format($roll->current_weight_kg,2) : '—' }} | {{ $roll->status_label }} |
| Sin rollos. Crea el primero. | ||||
Sin historial de procesos.
@endforelse{{ $r->display_code }}
{{ $r->status_label }}
profundidad: {{ $r->depth }}
@if($r->current_length_m){{ number_format($r->current_length_m,1) }}m@endif
{{ $r->display_code }}
{{ $r->status_label }}
@if($r->current_length_m){{ number_format($r->current_length_m,1) }}m@endif
Sin ancestros ni descendientes. Este es un rollo original.
@endif @endif{{ $selectedRoll->display_code }}Rollo original: {{ number_format($selectedRoll->current_length_m,1) }} m · {{ number_format($selectedRoll->current_weight_kg,2) }} kg
{{-- Visual split bar --}} @php $totalLen = $selectedRoll->current_length_m ?: 100; $colors = ['#2563eb','#16a34a','#d97706','#7c3aed','#dc2626']; @endphp @foreach($splitPieces as $i => $piece)