mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
espiral y wireo
This commit is contained in:
@ -33,6 +33,8 @@ class DatosGenerales {
|
||||
|
||||
this.fresado = $(this.domItem.find("#fresado")[0]);
|
||||
this.cosido = $(this.domItem.find("#cosido")[0]);
|
||||
this.grapado = $(this.domItem.find("#grapado")[0]);
|
||||
this.espiral = $(this.domItem.find("#espiral")[0]);
|
||||
|
||||
this.tiposLibro = this.domItem.find(".tipo-libro");
|
||||
|
||||
@ -396,7 +398,7 @@ class DatosGenerales {
|
||||
}
|
||||
|
||||
this.prototipo.prop('checked', datos.prototipo);
|
||||
this.ivaReducido.val(datos.ivaReducido? 1: 0).trigger('change');
|
||||
this.ivaReducido.val(datos.ivaReducido ? 1 : 0).trigger('change');
|
||||
}
|
||||
|
||||
getDimensionLibro() {
|
||||
@ -492,6 +494,16 @@ class DatosGenerales {
|
||||
this.divPaginasCuaderillo.addClass('d-none');
|
||||
}
|
||||
|
||||
if (this.grapado.hasClass('selected') || this.espiral.hasClass('selected')) {
|
||||
$('#addSobrecubierta').prop('checked', false).trigger('change');
|
||||
$(".sobrecubierta-items").addClass('d-none');
|
||||
}
|
||||
else{
|
||||
if($('#addSobrecubierta').hasClass('d-none')){
|
||||
$('#addSobrecubierta').removeClass('d-none');
|
||||
}
|
||||
}
|
||||
|
||||
// Para recalcular el presupuesto
|
||||
element.trigger('change');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user