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

@ -71,12 +71,10 @@
const lastColNr = $('#tableOfTarifasacabado').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

@ -71,12 +71,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 `