From 9bb10399776c0384b999370f1ce326ce14c5c0e8 Mon Sep 17 00:00:00 2001 From: Administrator Date: Thu, 10 Sep 2026 12:35:45 -0500 Subject: [PATCH] Actualizar frontend/src/pages/Ventas.jsx --- frontend/src/pages/Ventas.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/Ventas.jsx b/frontend/src/pages/Ventas.jsx index 108347c..ce82c48 100644 --- a/frontend/src/pages/Ventas.jsx +++ b/frontend/src/pages/Ventas.jsx @@ -181,7 +181,7 @@ export default function Ventas() { {KPIS.map(([ico,label,val,sub]) => (
{ico}
-
{label}
+
{label}
{val}
{sub}
@@ -235,7 +235,7 @@ function ModalDetalle({ vendedor, ano, mes, onClose }) { useEffect(() => { let activo = true; setLoading(true); - api.ventasDetalle(vendedor, ano, mes, tipo) + api.ventasDetalle(vendedor, ano, mes, tipo, "TODOS", "TODOS", true) .then((res) => { if (activo) { setFilas(res.filas || []); setLoading(false); } }) .catch(() => { if (activo) { setFilas([]); setLoading(false); } }); return () => { activo = false; };