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

Tarefa de separação #{{$pickingOrder->getKey()}} @if($position)Tarefa: {{$position}}@endif

Responsável:{{$pickingOrder->responsible->name}}
Time:{{strtoupper($team)}}
Tipo:{{$withItems ? 'Completo' : 'Resumido'}}
qrcode
@foreach($groups as $group)
Pré-fatura: {{$group['pre_invoice']}}
Cliente:{{$group['customer_name']}} Código Cliente:{{$group['customer_code']}}
Representante:{{$group['representative']}} Data Faturamento:{{$group['billing_date']}}
@if($withItems)
@foreach($group['products'] as $index => $product) @php $odd = $index % 2 === 0; @endphp $product->picked, 'odd' => $odd])> $product->picked, 'odd' => $odd, 'observation'])> @if(($observation = $product->pickedItems?->pluck('observation')->implode(', ')) != '') @endif @endforeach
Seq.Pre. Cod.Ref. Descrição Sep/Tot Un Peso(KG)
{{$product->integration->parameters['SEQPES']}} {{$product->product->integration->parameters['integration_code']}} {{$product->product->description}} {{ number_format($product->pickedItems->sum('amount'), 2, ',', '.') }}/{{number_format($product->amount, 2, ',', '.')}} {{$product->product->unitMeasurement?->name ?? '-'}} {{ number_format($product->totalWeight(), 2, ',', '.') }}
Observações: {{$observation}}
@if($group['order_details'])
@foreach($group['order_details'] as $title => $detail)

{{$title}} {{$detail}}

@endforeach
@endif @endif
@endforeach