mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
quitado el meter el servicio de plegado de guardas
This commit is contained in:
@ -32,9 +32,6 @@ class LineasPresupuesto {
|
||||
|
||||
const row = $(this).closest('tr');
|
||||
const data = self.table.row(row).data()
|
||||
if (data.row_id == 'lp_guardas') {
|
||||
$(document).trigger('remove-servicio-lineas', 'plegado_guardas');
|
||||
}
|
||||
self.table.row(row)
|
||||
.remove()
|
||||
.draw();
|
||||
@ -2030,8 +2027,6 @@ class LineasPresupuesto {
|
||||
for (const row of rows) {
|
||||
this.rellenarDatosLinea('lp_guardas', row, true);
|
||||
}
|
||||
|
||||
$(document).trigger('add-servicio-lineas', 'plegado_guardas');
|
||||
}
|
||||
|
||||
else if (e.target.id.includes("Faja")) {
|
||||
|
||||
@ -139,11 +139,6 @@ class Servicios {
|
||||
if (!this.checkServiceInTable(this.serviciosAcabado.table, id))
|
||||
this.serviciosAcabado.getPresupuestoAcabado(id, null, null,true);
|
||||
}
|
||||
else if (servicio == 'plegado_guardas') {
|
||||
const id = $('#plegado_guardas').attr('service-id');
|
||||
if (!this.checkServiceInTable(this.ServiciosManipulado.table, id))
|
||||
this.ServiciosManipulado.getPresupuestoManipulado(id);
|
||||
}
|
||||
else if (servicio == 'solapas_cubierta') {
|
||||
const id = $('#serv_solapas_cubierta').attr('service-id');
|
||||
if (!this.checkServiceInTable(this.ServiciosManipulado.table, id))
|
||||
@ -252,17 +247,6 @@ class Servicios {
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (servicio == 'plegado_guardas') {
|
||||
const id = $('#plegado_guardas').attr('service-id');
|
||||
this.ServiciosManipulado.table.rows().every(function () {
|
||||
var data = this.data();
|
||||
if (data && data.tarifa_id == id) {
|
||||
this.remove();
|
||||
this.ServiciosManipulado.table.draw();
|
||||
return;
|
||||
}
|
||||
});
|
||||
}
|
||||
else if (servicio == 'solapas_cubierta') {
|
||||
const id = $('#serv_solapas_cubierta').attr('service-id');
|
||||
this.ServiciosManipulado.table.rows().every(function () {
|
||||
|
||||
Reference in New Issue
Block a user