From b17abbdfa882fe2692c2706ce8f1062579317846 Mon Sep 17 00:00:00 2001 From: amazuecos Date: Sat, 5 Apr 2025 09:40:51 +0200 Subject: [PATCH] upload file feature --- httpdocs/assets/js/safekat/pages/produccion/ot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/httpdocs/assets/js/safekat/pages/produccion/ot.js b/httpdocs/assets/js/safekat/pages/produccion/ot.js index bd437c81..ebeb51bd 100644 --- a/httpdocs/assets/js/safekat/pages/produccion/ot.js +++ b/httpdocs/assets/js/safekat/pages/produccion/ot.js @@ -37,7 +37,8 @@ class OrdenTrabajo { domElement: '#dropzone-ot-files', nameId: "orden_trabajo_id", getUri: '/produccion/ordentrabajo/get_files', - postUri: '/produccion/ordentrabajo/upload_files' + postUri: '/produccion/ordentrabajo/upload_files', + resourcePath : 'orden_trabajo/' + this.modelId } if ($(this.configUploadDropzone.domElement).length > 0) { this.fileUploadDropzone = new FileUploadDropzone(this.configUploadDropzone)