mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
cargar lineas problema lomo
This commit is contained in:
@ -345,6 +345,9 @@ class LineasPresupuesto {
|
||||
});
|
||||
|
||||
this.table.on('draw', function () {
|
||||
|
||||
$("#lomo_cubierta").val(self.getLomoInterior());
|
||||
$("#lomo_sobrecubierta").val(parseFloat(self.getLomoInterior()) + parseFloat(self.getLomoCubierta()));
|
||||
self.checkPaginasLineasPresupuesto();
|
||||
self.mostrarTabsPreview();
|
||||
});
|
||||
@ -1311,12 +1314,12 @@ class LineasPresupuesto {
|
||||
else if (linea == 'lp_cubierta') {
|
||||
datos.solapas = $('#solapas').is(':checked') ? 1 : 0;
|
||||
datos.solapas_ancho = $('#solapas').is(':checked') ? parseInt($('#solapas_ancho').val()) : 0;
|
||||
datos.lomo = this.getLomoInterior();
|
||||
datos.lomo = $('#lomo_cubierta').val();
|
||||
}
|
||||
else if (linea == 'lp_sobrecubierta') {
|
||||
datos.solapas = $('#solapas_sobrecubierta').is(':checked') ? 1 : 0;
|
||||
datos.solapas_ancho = $('#solapas_sobrecubierta').is(':checked') ? parseInt($('#solapas_ancho_sobrecubierta').val()) : 0;
|
||||
datos.lomo = this.getLomoCubierta() + this.getLomoInterior();
|
||||
datos.lomo = $('#lomo_sobrecubierta').val();
|
||||
}
|
||||
else if (linea == 'lp_guardas') {
|
||||
datos.paginas_impresion = input_data.paginas_impresion;
|
||||
|
||||
Reference in New Issue
Block a user