{{-- Facturas de un DO de importación, con el detalle de ítems desplegable (respuesta de /detalle-importacion, kit ui-ctc). --}} @php $th = 'whitespace-nowrap px-2.5 py-2 text-left text-[11px] font-semibold uppercase tracking-[0.05em] text-[var(--texto-tenue)]'; $td = 'whitespace-nowrap px-2.5 py-2.5 text-[13px] text-[var(--texto)]'; @endphp
@forelse ($facturas as $i => $factura) @empty @endforelse
Detalle Factura Fecha Exportador Término de negociación Valor Moneda
{{ $factura['NUMERO_FACTURA'] }} {{ $factura['FECHA_FACTURA'] }} {{ $factura['EXPORTADOR'] }} {{ $factura['CODIGO_CONDICION_ENTREGA'] }} ${{ number_format((float) $factura['TOTAL_FACTURA'], 2) }} {{ $factura['CODIGO_MONEDA'] }}
@foreach (['#', 'Código producto', 'Nombre comercial', 'Código posición', 'Peso neto', 'Cantidad', 'Total ítem', 'Total ítem USD', 'Número declaración', 'Base arancel', '% Arancel', 'Modalidad'] as $col) @endforeach @foreach ($factura['DETALLE'] ?? [] as $detalle) @endforeach
{{ $col }}
{{ $loop->iteration }} {{ $detalle['CODIGO'] }} {{ $detalle['NOMBRE_COMERCIAL_PROD'] }} {{ $detalle['CODIGO_POSICION'] }} {{ $detalle['PESO_NETO'] }} {{ $detalle['CANTIDAD'] }} ${{ number_format((float) $detalle['TOTAL_ITEM'], 2) }} ${{ number_format((float) $detalle['TOTAL_ITEM_USD'], 2) }} {{ $detalle['NUMERO_ACEPTACION'] }} {{ $detalle['BASE_ARANCEL'] === null ? '—' : '$' . number_format((float) $detalle['BASE_ARANCEL'], 2) }} {{ $detalle['PORCENTAJE_ARANCEL'] === null ? '—' : number_format((float) $detalle['PORCENTAJE_ARANCEL']) . '%' }} {{ $detalle['CODIGO_MODALIDAD'] }}
Sin facturas registradas.