{{-- Header bar --}}
{{ now()->format('Y-m-d H:i') }} {{ $record->company?->name ?? '' }} 1 / 1
{{-- Title + barcode --}}
{{ $record->name }}
@if ($record->name)
{!! DNS1D::getBarcodeHTML($record->name, 'C128', 1.5, 40) !!}
@endif
{{-- Responsible --}} @if ($record->assignedUser)
Responsible: {{ $record->assignedUser->name }}
@endif {{-- Product / Qty to produce / Qty producing --}} @if ($record->quantity_producing !== null) @endif
Product: {{ $record->product?->name ?? '—' }} Quantity to Produce: {{ number_format((float) $record->quantity, 2) }} {{ $record->uom?->name ?? '' }} Quantity Producing: {{ number_format((float) $record->quantity_producing, 2) }} {{ $record->uom?->name ?? '' }}
{{-- Work Orders / Operations Done --}} @if ($record->workOrders->isNotEmpty())
Operations Done
@foreach ($record->workOrders as $workOrder) @endforeach
Operation WorkCenter Duration (minutes) Barcode
{{ $workOrder->name ?? $workOrder->operation?->name ?? '—' }} {{ $workOrder->workCenter?->name ?? '—' }} {{ number_format((float) ($workOrder->duration ?? 0), 1) }} @if ($workOrder->name)
{!! DNS1D::getBarcodeHTML($workOrder->name, 'C128', 1.2, 30) !!}
@endif
@endif {{-- Components --}} @if ($record->rawMaterialMoves->isNotEmpty())
Components
@foreach ($record->rawMaterialMoves as $move) @endforeach
Product Consumed To Consume
{{ $move->product?->name ?? '—' }} {{ number_format((float) ($move->quantity ?? 0), 2) }} {{ number_format((float) $move->product_uom_qty, 2) }} {{ $move->uom?->name ?? '' }}
@endif {{-- Footer bar --}}