se guardan los presupuestos publicos

This commit is contained in:
2025-10-05 17:47:42 +02:00
parent 14ca264ae2
commit b2f3ef042e
6 changed files with 122 additions and 74 deletions

View File

@ -1418,8 +1418,8 @@ class PresupuestoCliente {
data: JSON.stringify(body)
}).then((data) => {
$('#resumen-titulo').text(data.titulo);
if (resumen.presupuesto_id) {
window.PRESUPUESTO_ID = resumen.presupuesto_id;
if (data.presupuesto_id) {
window.PRESUPUESTO_ID = data.presupuesto_id;
}
body.presupuesto.id = window.PRESUPUESTO_ID || body.presupuesto.id || null;