trabajando en guardar presupuestos publicos

This commit is contained in:
2025-10-05 16:30:28 +02:00
parent 892c473266
commit 14ca264ae2
24 changed files with 1118 additions and 163 deletions

View File

@ -1418,6 +1418,11 @@ class PresupuestoCliente {
data: JSON.stringify(body)
}).then((data) => {
$('#resumen-titulo').text(data.titulo);
if (resumen.presupuesto_id) {
window.PRESUPUESTO_ID = resumen.presupuesto_id;
}
body.presupuesto.id = window.PRESUPUESTO_ID || body.presupuesto.id || null;
this.#updateResumenTable(data);
}).catch((error) => {
console.error("Error obtener resumen: ", error);