refactor upload files from stp side

This commit is contained in:
amazuecos
2025-01-23 10:36:15 +01:00
parent 1c3f045488
commit 330d1c7a4f
6 changed files with 46 additions and 8 deletions

View File

@ -23,6 +23,7 @@ class PresupuestoCliente {
this.btnPrint = $('#btnPrint');
this.btnSave = $('#btnSave');
this.btnConfirm = $('#btnConfirm');
this.btnUploadFile = $('#btnUploadFile')
this.c = $("#c");
this.lc = $("#lc");
@ -91,7 +92,9 @@ class PresupuestoCliente {
this.btnSave.on('click', this.#savePresupuesto.bind(this));
this.btnConfirm.on('click', this.#confirmPresupuesto.bind(this));
this.btnPrint.on('click', this.#printPresupuesto.bind(this));
this.btnUploadFile.on('click', () => {
$('#dropzone-multi').trigger('click');
})
this.titulosMenu.on('click', this.#handleTitulosMenu.bind(this));
if (window.location.href.includes("edit")) {