{{-- Reporte global de importaciones de Groupe SEB (reporte/globalimportacion): una fila por DO con fechas, contenedores, costos e indicadores. Kit ui-ctc (MigracionLayout.MD L3, pantallas de L2a). --}} @php $moneda = ['VALOR_DEMORAS', 'VALOR_ALMACENAMIENTO', 'VALOR_DEMORA_CONTENEDORES', 'VALOR_PERSONAL_INSPECCION', 'VALOR_INSPECCION_CONTENEDOR']; $listas = ['DESCRIPCION_PENDIENTE', 'OBSERVACION_PENDIENTE']; $anchos = ['COMENTARIOS' => 'min-w-[220px] max-w-xs', 'NUMERO_PEDIDO' => 'max-w-[150px]', 'DESCRIPCION_PRODUCTOS' => 'min-w-[200px] max-w-[250px]']; $vacio = '—'; @endphp
@if ($data->total() > 0) Descargar Generando… @endif @if (Session::has('success')){{ Session::get('success') }}@endif @if (Session::has('warning')){{ Session::get('warning') }}@endif @if ($buscar_do) @endif
{{ number_format($data->total(), 0, ',', '.') }} operaciones Procesando, por favor espere…
@foreach ($campos as $campo) @endforeach @forelse ($data as $registro) @foreach ($campos as $campo) @php $valor = $registro[$campo] ?? ''; @endphp @if ($loop->first) @elseif (in_array($campo, $listas)) @php $items = array_filter(array_map('trim', explode('||', (string) $valor))); @endphp @elseif (in_array($campo, $moneda)) @elseif (isset($anchos[$campo])) @elseif ($valor === '' || $valor === null) @else @endif @endforeach @empty @endforelse
$loop->first]) @if ($loop->first) style="left: 0" @endif>{{ str_replace('_', ' ', $campo) }}
{{ $valor }} @if (count($items))
    @foreach ($items as $item)
  • {{ $item }}
  • @endforeach
@else{!! $vacio !!}@endif
{{ number_format((float) ($valor ?: 0), 2, ',', '.') }}
{!! $valor !== '' ? e($valor) : $vacio !!}
{!! $vacio !!}{{ $valor }}

No se encontraron registros.

@if ($data->hasPages())
{{ $data->links('vendor.pagination.ctc-livewire') }}
@endif