{{-- Información del Cliente y Envío --}}

Datos del Cliente

{{ $pedido->usuario->nombre ?? 'Anónimo' }} {{ $pedido->usuario->apellido ?? '' }}

CI/RIF: {{ $pedido->usuario->documento_identidad ?? 'N/A' }}

Tel: {{ $pedido->usuario->telefono ?? 'N/A' }}

Entrega

@if($pedido->canal_venta === 'web' || $pedido->canal_venta === 'whatsapp')

{{ $pedido->direccion_texto ?? 'Retiro en Tienda' }}

@if($pedido->instrucciones_entrega)

Nota: {{ $pedido->instrucciones_entrega }}

@endif @else storefront Venta en Mostrador @endif
{{-- Lista de Productos a Empacar --}}

Artículos a Empacar

@foreach($pedido->detalles as $detalle)
{{-- Imagen miniatura --}}
@if($detalle->producto && $detalle->producto->imagen_url) @else image @endif
{{-- Info Producto --}}

{{ $detalle->producto->nombre ?? 'Producto Eliminado' }}

SKU: {{ $detalle->producto->sku ?? 'N/A' }} {{ $detalle->producto->marca->nombre ?? 'GENÉRICO' }}
{{-- Cantidad a despachar (MUY GRANDE) --}}

Cantidad

{{ rtrim(rtrim(number_format($detalle->cantidad_solicitada, 3), '0'), '.') }} {{ $detalle->producto->unidad_medida ?? 'UND' }}

@endforeach