Guia de Transporte para Transporte MBE
Código da Encomenda:
{{ $orderCode }}
Loja:
{{ $storeName }}
Comprador:
{{ $buyerName }}
Peso Total:
{{ $weight }} kg
Dimensões:
{{ $length }} x {{ $width }} x {{ $height }} cm
Produtos a enviar
Quantidade
Produto
Peso Total
@foreach($orderItems as $item) @php $productName = $item->product_snapshot['name'] ?? 'N/A'; $attributes = $item->product_snapshot['attributes'] ?? []; $unitWeight = $item->product_snapshot['weight'] ?? 0; $totalWeight = $unitWeight * $item->quantity; $productNameWithAttributes = $productName; if (!empty($attributes)) { $productNameWithAttributes .= ', ' . implode(', ', $attributes); } @endphp
{{ $item->quantity }}
{{ $productNameWithAttributes }}
{{ number_format($totalWeight, 2) }} kg
@endforeach