@foreach($stockIOs as $stockIO)
@if($withItems)
@endif
@endforeach
@php
$requesterCode = $stockIO->requester_code ?? '-';
$requesterName = $stockIO->requester_name ?? 'Não informado';
$applicantBadge = $stockIO->applicant_badge ?? '-';
$applicantName = $stockIO->applicant_name ?? 'Não informado';
@endphp
Requisição: {{$stockIO->integration->parameters['request_number']}}
Centro de Custo: {{$stockIO->integration->parameters['cost_center']}} - {{$stockIO->cost_center->description ?? ''}}
Data Requisição: {{$stockIO->created_at->format('d/m/Y')}}
Requisitante: {{$requesterCode}} - {{$requesterName}}
Solicitante: {{$applicantBadge}} - {{$applicantName}}
| Seq. | Derivação | Cod.Pro. | Descrição | Sep/Tot | Un |
|---|---|---|---|---|---|
| {{$pickingOrderProduct->stockIOProduct->integration->parameters['request_sequence']}} | {{$pickingOrderProduct->stockIOProduct->integration->parameters['derivation_code']}} | {{$pickingOrderProduct->stockIOProduct->integration->parameters['product_code']}} | {{$pickingOrderProduct->stockIOProduct->product->description}} | {{number_format($pickingOrderProduct->stockIOProduct->totalPicked(), 2, ',', '.')}}/{{number_format($pickingOrderProduct->stockIOProduct->amount, 2, ',', '.')}} | {{$pickingOrderProduct->stockIOProduct->product->unitMeasurement->acronym}} |