descripcion reportes

parent 809214d6
...@@ -568,7 +568,7 @@ ...@@ -568,7 +568,7 @@
let index = lista_productos.indexOf(number); let index = lista_productos.indexOf(number);
index--; index--;
if (index <= lista_productos.length) if (index <= lista_productos.length)
index = 0; index = lista_productos.length-1;
console.log(lista_productos[index]); console.log(lista_productos[index]);
window.location.replace("../reports/"+lista_productos[index]); window.location.replace("../reports/"+lista_productos[index]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment