{{-- Reporte de recobro de bodegaje (reporte/recobro, Groupe SEB): movimientos de bodegaje por DO y el seguimiento de su reclamación (editable). Kit ui-ctc (MigracionLayout.MD L3, pantallas de L2a). --}} @php $estados = ['1' => 'RADICADO ANTE NAVIERO', '2' => 'RECHAZO', '3' => 'APROBADO PTE DESEMBOLSO', '4' => 'FINALIZADO', '5' => 'RADICADO ANTE EL EMBARCADOR']; $varianteEstado = ['1' => 'info', '2' => 'peligro', '3' => 'aviso', '4' => 'exito', '5' => 'info']; $numericas = ['DIAS_COBRADOS', 'CANT_CONT', 'VALOR', 'VALOR_IVA', 'PORCENTAJE_IVA', 'VALOR_SIN_IVA', 'valor_recaudado']; $vacio = '—'; @endphp
@if (count($data) > 0) Descargar Generando Excel… @endif @if (Session::has('success')){{ Session::get('success') }}@endif @if (Session::has('warning')){{ Session::get('warning') }}@endif
{{ number_format($data->total(), 0, ',', '.') }} movimientos Procesando, por favor espere…
@foreach ($campos as $campo) @endforeach @forelse ($data as $registro) @foreach ($campos as $campo) @php $valor = $registro[$campo] ?? null; @endphp @if ($campo === 'do') @elseif ($campo === 'estado') @elseif (in_array($campo, ['CLIENTE', 'CLIENTE_EXPORTADOR', 'causal', 'observacion', 'CONCEPTO'])) @else @endif @endforeach @empty @endforelse
Editar in_array($campo, $numericas)])>{{ str_replace('_', ' ', $campo) }}
{{-- Antes edit({{ do }}) iba sin comillas: con un DO alfanumérico (26A…) el clic daba error de JavaScript. --}} {{ $valor }}@if ($valor !== null && $valor !== ''){{ $estados[(string) $valor] ?? $valor }}@else{!! $vacio !!}@endif{!! $valor !== null && $valor !== '' ? e($valor) : $vacio !!} in_array($campo, $numericas)])>{!! $valor !== null && $valor !== '' ? e($valor) : $vacio !!}

No se encontraron registros.

@if ($data->hasPages())
{{ $data->links('vendor.pagination.ctc-livewire') }}
@endif
{{-- Seguimiento del recobro de un DO --}} @if ($openModal) @endif