GUIA DE DESPACHO - REMITENTE
PUNTO DE LLEGADA / DESTINO
|
{{ $remision->destino ?? $remision->planta }}
|
| LINEA DE TRANSPORTE |
TIPO DE UNIDAD |
NOMBRE DEL CONDUCTOR |
PLACAS TRANSPORTE |
PLACAS REMOLQUE |
| {{ $remision->linea_transporte }} |
{{ $remision->tipo_transporte ?? $remision->otro_transporte }} |
{{ $remision->nombre_operador }} |
{{ $remision->placas_transporte }} |
{{ $remision->placas_caja }} |
| # |
SKU |
DESCRIPCIÓN |
UM |
CANTIDADES |
@foreach ($pagina as $codigo)
@php
$isUltimoRegistro = $loop->last && $index < count($paginas) - 1;
$claseExtra = $isUltimoRegistro ? 'ultimo-codigo-pagina' : '';
$consecutivo = ($index * $maxFilasNormal) + $loop->iteration;
@endphp
@endforeach
@if ($index === count($paginas) - 1)
@php
$campos = [
'STO' => $remision->sto ?? null,
'DT' => $remision->dt ?? null,
'DEL' => $remision->del ?? null,
'SHI' => $remision->shi ?? null,
'SELLO C' => $remision->sello_c ?? null,
'SELLO F' => $remision->sello_f ?? null,
];
$camposVisibles = array_filter($campos, fn($v) => !empty($v));
$mostrarLogo = $remision->tarimas_chep;
$totalFilas = $mostrarLogo ? 10 : max(6, count($camposVisibles));
$totalVisibles = count($camposVisibles);
$faltantes = max(0, $totalFilas - $totalVisibles);
$orden = $mostrarLogo
? array_merge(array_fill(0, $faltantes, null), $camposVisibles)
: $camposVisibles;
@endphp
@if($totalFilas > 0 || $mostrarLogo || empty($camposVisibles))
@php $primeraFila = true; @endphp
@foreach($orden as $etiqueta => $valor)
|
|
@if($valor !== null)
|
{{ $etiqueta }} |
{{ $valor }} |
|
|
@else
|
|
@endif
@if($mostrarLogo && $primeraFila)
|
@php $primeraFila = false; @endphp
@elseif(!$mostrarLogo)
|
@php $primeraFila = false; @endphp
@endif
@endforeach
@endif
|
|
|
|
|
@endif
@if ($index === count($paginas) - 1)
|
AUDITOR RECIBO Y EMBARQUE
|
CONTROL DE CALIDAD
|
RECIBE
|
{{$remision->auditor}}
|
{{ $remision->auditorSalida }}
|
ACEPTO DE CONFORMIDAD, CANTIDADES Y BUEN ESTADO DEL PRODUCTO CITADO
EN LAGUIA DE DESPACHO
{{ $remision->nombre_operador }}
|
|
Nombre y firma
|
Nombre y firma
|
Nombre y firma
|
Circuito Granjas N°155, Barrio San Miguel, Cp 50226, San Pedro Totoltepec, Toluca Estado de México, Parque industrial Paragón Aeropuerto.
@endif
@if ($index < count($paginas) - 1)
@endif
@endforeach
@endforeach