{{-- resources/views/livewire/reportes/ventas.blade.php --}}
| Tarifa IVA | Base gravada | IVA cobrado | DevoluciĂłn | IVA neto |
|---|---|---|---|---|
| {{ $label }} | ₡{{ number_format($base, 2) }} | ₡{{ number_format($iva, 2) }} | {{ $dev > 0 ? '-₡'.number_format($dev, 2) : '—' }} | ₡{{ number_format($neto, 2) }} |
| TOTAL | ₡{{ number_format(($resumen['base_13']??0)+($resumen['base_4']??0)+($resumen['base_2']??0)+($resumen['base_1']??0), 2) }} | ₡{{ number_format($resumen['total_iva'], 2) }} | -₡{{ number_format($resumen['total_devolucion_iva'], 2) }} | ₡{{ number_format($resumen['total_iva'] - $resumen['total_devolucion_iva'], 2) }} |
| Fecha | N° Consecutivo | Receptor | Base 13% | IVA 13% | Base 4% | IVA 4% | Total |
|---|---|---|---|---|---|---|---|
| {{ $fila->created_at->format('d/m/Y') }} | {{ $fila->consecutivo }} | {{ $fila->receptor_nombre ?: '—' }} | ₡{{ number_format($fila->base_gravada_13, 2) }} | ₡{{ number_format($fila->iva_13, 2) }} | ₡{{ number_format($fila->base_gravada_4, 2) }} | ₡{{ number_format($fila->iva_4, 2) }} | ₡{{ number_format($fila->total_comprobante, 2) }} |
| … y {{ $datos->count() - 15 }} más en el Excel exportado | |||||||