Pedido
{{ $order->order_reference }}
Tienda: {{ $order->store_name }} · Estado: {{ $order->statusCatalog?->name ?? '-' }}
@if (($order->statusCatalog?->code ?? null) === \App\Enums\OrderStatus::ListoParaEnviar->value && blank($order->guide)) Generar guía @endif @if (filled($order->guide)) Reimprimir guía @endif
Guía: {{ filled($order->guide) ? $order->guide : '-' }}
Tracking: {{ filled($latestShipment?->tracking_number) ? $latestShipment->tracking_number : '-' }}
Carrier actual: {{ $order->carrierCatalog?->name ?? '-' }}
{{ $this->form }} @if ($isCarrierLocked)
Carrier bloqueado: ya existe tracking para esta orden.
@endif
{{ json_encode($quoteResult['response'] ?? [], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}
@endif @if ($trackingResult)
Tracking Moovin
{{ $latestShipment?->status ?? 'Sin estado' }}
{{ json_encode($trackingResult, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}
@endif
@endif
Peso total estimado
{{ number_format((float) ($totals['weight_kg'] ?? 0), 3) }} kg ({{ (int) ($totals['weight_g'] ?? 0) }} g)
Dimensiones estimadas (L × A × H)
@php $l = $totals['length_cm'] ?? null; $w = $totals['width_cm'] ?? null; $h = $totals['high_cm'] ?? null; @endphp {{ filled($l) ? number_format((float) $l, 2) : '-' }} × {{ filled($w) ? number_format((float) $w, 2) : '-' }} × {{ filled($h) ? number_format((float) $h, 2) : '-' }} cm
Cálculo: máximo por ítem (estimado).
Líneas
{{ (int) ($totals['lines'] ?? 0) }}
@forelse ($items as $row) @empty @endforelse
SKU Producto Cant. Peso (kg) Dimensiones (L × A × H) Largo derivado
{{ $row['sku'] }} {{ $row['name'] }} {{ (int) $row['qty'] }}
{{ number_format((float) $row['weight_kg_line'], 3) }}
{{ number_format((float) $row['weight_kg_each'], 3) }} c/u
@php $l = $row['length_cm']; $w = $row['width_cm']; $h = $row['high_cm']; @endphp {{ filled($l) ? number_format((float) $l, 2) : '-' }} × {{ filled($w) ? number_format((float) $w, 2) : '-' }} × {{ filled($h) ? number_format((float) $h, 2) : '-' }} cm
Cubicaje: {{ number_format((float) ($row['cubicaje_cm3'] ?? 0), 2) }} cm³
@if (filled($row['length_cm']) && filled($row['length_derived_from'])) {{ $row['length_derived_from'] }} @else - @endif
La orden no tiene detalles para calcular.