@forelse($facturas as $factura) {{-- Columna 1: Factura y Fecha --}} {{-- Columna 2: Cliente --}} {{-- Columna 3: Montos --}} {{-- Columna 4: Estado --}} {{-- Columna 5: Acciones --}} @empty @endforelse
Nº Factura / Fecha Datos del Cliente Total (USD/VES) Estado Acciones
receipt {{ $factura->numero_factura }} {{ \Carbon\Carbon::parse($factura->fecha_emision)->format('d M Y, h:i A') }}

{{ $factura->nombre_razon_social ?? 'Consumidor Final' }}

CI/RIF: {{ $factura->cedula_rif_cliente ?? 'N/A' }}

${{ number_format($factura->total_usd, 2) }}

Bs. {{ number_format($factura->total_ves, 2) }}

@php $estadoBadge = match($factura->estado) { 'emitida' => 'bg-green-50 text-green-700 border-green-200', 'anulada' => 'bg-red-50 text-red-700 border-red-200', 'reembolsada' => 'bg-amber-50 text-amber-700 border-amber-200', default => 'bg-gray-50 text-gray-700 border-gray-200', }; @endphp {{ $factura->estado }}
{{-- Botón Ver Factura --}} {{-- Botón Anular (Solo si está emitida) --}} @if($factura->estado === 'emitida') @endif
receipt_long

No hay facturas registradas

{{ $facturas->links('pagination::tailwind') }}