diff --git a/httpdocs/assets/js/safekat/pages/presupuestoCliente/resumen.js b/httpdocs/assets/js/safekat/pages/presupuestoCliente/resumen.js
index a976123f..7154d427 100644
--- a/httpdocs/assets/js/safekat/pages/presupuestoCliente/resumen.js
+++ b/httpdocs/assets/js/safekat/pages/presupuestoCliente/resumen.js
@@ -71,8 +71,9 @@ class Resumen {
}
}
- init_dropzone(presupuesto_id) {
+ init_dropzone() {
+ let id = this.presupuesto_id;
Dropzone.autoDiscover = false;
const previewTemplate = `
@@ -111,7 +112,7 @@ class Resumen {
$.ajax({
url: "/presupuestos/presupuestocliente/get_files",
type: 'POST',
- data: { presupuesto_id: presupuesto_id },
+ data: { presupuesto_id: id }
}).done(function (response) {
if (response == null || response == "") {
@@ -142,7 +143,7 @@ class Resumen {
});
}
});
- }
+ },
});
}
@@ -176,7 +177,7 @@ class Resumen {
processData: false, // Indicar a jQuery que no procese los datos
contentType: false // Indicar a jQuery que no establezca el tipo de contenido
}).done(function (response) {
-
+ popSuccessAlert("Archivos actualizados correctamente");
}).always(function () {
$('#loader').hide();
});