FIX: recargar facturas despues de cambiar precios

This commit is contained in:
Juan Pablo Vial
2025-03-01 11:29:17 -03:00
parent 3e6452a44d
commit 1720f6854b

View File

@ -29,6 +29,7 @@
}
return response.json().then(json => {
if (!json.edited) {
alert('No se pudo editar la unidad.')
return
}
this.props.valor = parseFloat(json.input.valor)
@ -68,8 +69,7 @@
return
}
this.update().precio(newValue).then(() => {
facturas.venta.update().totalUnidades()
facturas.draw().facturas()
window.location.reload()
})
})
},