@php use Carbon\Carbon;use chillerlan\QRCode\QRCode; @endphp Tarefa de Separacao - {{$pickingOrder->getKey()}}

Tarefa de separação #{{$pickingOrder->getKey()}}

Responsável:{{$pickingOrder->responsible->name}}
Status:{{$pickingOrder->status->label()}}
Data Criação:{{Carbon::create($pickingOrder->created_at)->format('d/m/Y H:i')}}
qrcode
@foreach($stockIOs as $stockIO)
@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}}

@if($withItems) @foreach($stockIO->products as $index => $pickingOrderProduct) @php $odd = $index % 2 === 0; @endphp $odd])> @endforeach
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}}
@endif @endforeach