{{-- BOTONES SUPERIORES --}}
Volver al Pedido PDF
@if (session('success'))
{{ session('success') }}
@endif

Editar Guía

Actualización operativa de la guía de tráfico
{{ $guia->guia_no }}
{{-- RESUMEN SUPERIOR --}}
Guía No.
{{ $form['guia_no'] ?: '—' }}
Pedido ID
{{ $guia->pedido_id }}
Contenedor
{{ $form['contenedor_no'] ?: '—' }}
Tonelaje
{{ $form['tonelaje'] ?: '—' }}
Factura
{{ $form['factura_no'] ?: '—' }}

Maniobra
@if(($form['maniobra'] ?? '') === 'MERCHANT') MERCHANT @elseif(($form['maniobra'] ?? '') === 'CARRIER') CARRIER @else @endif
Autopistas
@if((string)($form['autopistas'] ?? '') === '1') @elseif((string)($form['autopistas'] ?? '') === '0') No @else @endif
Salida
{{ $form['salida_fecha'] ?: '—' }}
Llegada
{{ $form['llegada_fecha'] ?: '—' }} @if(!empty($form['llegada_hora'])) {{ $form['llegada_hora'] }} @endif
{{-- KPIs DE IMPORTES --}}

${{ number_format((float)($form['flete'] ?? 0), 2) }}

Flete

${{ number_format((float)($form['seguro'] ?? 0), 2) }}

Seguro

${{ number_format((float)($form['valor_declarado'] ?? 0), 2) }}

Valor Declarado

${{ number_format((float)(($form['flete'] ?? 0) + ($form['seguro'] ?? 0) + ($form['gastos_viaje'] ?? 0)), 2) }}

Total operativo

{{-- LAYOUT PRINCIPAL --}}
{{-- COLUMNA 1: DATOS GENERALES --}}
Datos Generales
@error('form.guia_no') {{ $message }} @enderror
{{-- COLUMNA 2: CONTENEDOR / IMPORTES --}}
Contenedor e Importes
@error('form.contenedor_no') {{ $message }} @enderror
@error('form.maniobra') {{ $message }} @enderror
{{-- COLUMNA 3: TRANSPORTE --}}
Transporte
{{-- TABS INFERIORES --}}
Información Complementaria
Información Complementaria
@error('mercancias')
{{ $message }}
@enderror
@error('mercancia.clave_unidad') {{ $message }} @enderror
@if(!empty($bienes_results))
@foreach($bienes_results as $r)
{{ $r->clave }} — {{ \Illuminate\Support\Str::limit($r->descripcion, 70) }}
@endforeach
@endif
@error('mercancia.cantidad') {{ $message }} @enderror
@error('mercancia.peso_kg') {{ $message }} @enderror
@error('form.mercancias') {{ $message }} @enderror
@forelse($mercancias as $i => $m) @empty @endforelse
BienesTransp Clave Unidad Descripción Cantidad Peso (Kg)
{{ $m['bienes_transp'] }} {{ $m['clave_unidad'] }} {{ $m['descripcion'] }} {{ number_format($m['cantidad'], 3) }} {{ number_format($m['peso_kg'], 3) }}
Sin mercancías capturadas.
Peso total: {{ number_format($this->pesoTotal, 3) }}
{{ $origenNombre ?? '' }}
{{ $destinoNombre ?? '' }}
{{ $guia->pedido?->movimiento ?? '—' }}
{{-- TABS INFERIORES --}}