@foreach($orderSupplier as $order) @php $classBreak = ''; @endphp @if($order) @if($order->type!='interno') @php $classBreak = 'page-break'; @endphp
@if(isset($order->fornitore['RAGSOCIALE']))
{!! QrCode::size(200)->generate('ordine:'.$order->id); !!}

Rimasto: {{$remained->name}} del: {{date('d-m-Y', strtotime($remainedOperator->datedoc_next))}}

Ordine: {{$order->id}} - data: {{$order->created_at}} {{$order->type}}

Articoli: {{count($order->items['articles'])}}

{{$order->fornitore['RAGSOCIALE']}}

  • Indirizzo : {{$order->fornitore['INDIRIZZO'] ?? ''}} - CAP: {{$order->fornitore['CAP'] ?? ''}} {{$order->fornitore['CITTA'] ?? ''}} {{$order->fornitore['PROVINCIA'] ?? ''}}
  • Telefono : {{$order->fornitore['TELEFONO'] ?? ''}}
  • Cellulare : {{$order->fornitore['CELLULARE'] ?? ''}}
  • Email : {{$order->fornitore['EMAIL'] ?? ''}}

Punto di consegna: {{$remained->stores[$order->fornitore['ID']]['DENOMINAZIONE'] ?? ''}}

  • Indirizzo : {{$remained->stores[$order->fornitore['ID']]['INDIRIZZO'] ?? ''}} {{$remained->stores[$order->fornitore['ID']]['CAP'] ?? ''}}
@endif
@foreach($order->items['articles'] as $article) @endif @endforeach
Cod Articolo UM Quantità
{{$article['code']}} {{$article['name']}} @if($article['um2']) {{$article['um2']}} @else {{$article['um1']}} @endif @if( isset($article['quantity']['confirmed']) && $article['quantity']['confirmed'] && isset($article['quantity']['check']) && $article['quantity']['check'] == 1 ) {{$article['quantity']['confirmed']}} @else {{$article['quantity']['order']}}
@else
{!! QrCode::size(200)->generate('ordine:'.$order->id); !!}

{{$orderList->model_name}}

Ordine: {{$order->id}} - data: {{$order->created_at}} {{$order->type}}

@foreach($order->items['articles'] as $supplier) @foreach($supplier as $articles) @foreach($articles as $article) @endforeach @endforeach @endforeach
Cod Articolo UM Quantità
{{$article['code']}} {{$article['name']}} @if($article['um2']) {{$article['um2']}} @else {{$article['um1']}} @endif @if( isset($article['quantity']['confirmed']) && $article['quantity']['confirmed'] && isset($article['quantity']['check']) && $article['quantity']['check'] == 1 ) {{$article['quantity']['confirmed']}} @else {{$article['quantity']['order']}} @endif
@endif @endif @endforeach