Orden de Compra N° {{ $orden->orden_nro }}

Tipo: {{ $orden->extra->tipo ?? 'N/A' }}

MBL: {{ $orden->extra->mbl ?? 'N/A' }} | HBL: {{ $orden->extra->hbl ?? 'N/A' }}

Container: {{ $orden->extra->container ?? 'N/A' }} | MN: {{ $orden->extra->mn ?? 'N/A' }} | S/I: {{ $orden->extra->si ?? 'N/A' }}

ETA: {{ $orden->extra->eta ?? 'N/A' }}

Fecha Ingreso: {{ $orden->created_at }}

Estado: {{ $orden->status }}

Productos
@foreach ($orden->detalles as $detalle) @endforeach
ID SKU Producto Cantidad Tienda
{{ $detalle->producto_id }} {{ $detalle->sku }} {{ $detalle->producto_nombre }} {{ $detalle->cantidad }} @if ($detalle->distribuciones && $detalle->distribuciones->count())
    @foreach ($detalle->distribuciones as $dist)
  • {{ $dist->tienda->nombre ?? ('Tienda ' . ($dist->tienda_id ?? $dist->store_id ?? '')) }}: Cantidad: {{ $dist->cantidad ?? '' }}, Caja: {{ $dist->caja ?? '' }}
  • @endforeach
@else Sin distribuciones @endif