corregido bug que no permitia guardar presupuesto

This commit is contained in:
75134972k
2024-03-13 14:29:39 +01:00
parent b645fb030c
commit 231a0c7cb2
16 changed files with 71 additions and 131 deletions

View File

@ -313,12 +313,10 @@
const lastColNr = $('#tableOfTarifamanipuladolineas').find("tr:first th").length - 1;
const url = window.location.href;
const url_parts = url.split('/');
let id = -1;
if(url_parts[url_parts.length-2] == 'edit'){
id = url_parts[url_parts.length-1];
}
else{
id = -1;
}
const actionBtns = function(data) {
return `

View File

@ -66,11 +66,10 @@
// JJO
const url = window.location.href;
const url_parts = url.split('/');
let id = -1;
if(url_parts[url_parts.length-2] == 'edit'){
id = url_parts[url_parts.length-1];
}
else
id = -1;
const lastColNr = $('#tableOfPapelesimpresion').find("tr:first th").length - 1;
const actionBtns = function(data) {
return `<td class="text-right py-0 align-middle">

View File

@ -148,12 +148,10 @@
const url = window.location.href;
const url_parts = url.split('/');
let id = -1;
if(url_parts[url_parts.length-2] == 'edit'){
id = url_parts[url_parts.length-1];
}
else{
id = -1;
}
$('#papelGenericoId').select2({