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; };