mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
arreglados multiples fallos de presupuesto admin y problema en los forms de las tarifas
This commit is contained in:
@ -225,7 +225,7 @@ class DatosLibro {
|
||||
}, 100);
|
||||
|
||||
// para que se actualice el comparador
|
||||
$('paginas').trigger('change');
|
||||
this.updateComparador();
|
||||
}
|
||||
|
||||
changeAnchoSolapasCubierta(){
|
||||
@ -238,7 +238,7 @@ class DatosLibro {
|
||||
}
|
||||
|
||||
// para que se actualice el comparador
|
||||
$('paginas').trigger('change');
|
||||
this.updateComparador();
|
||||
}
|
||||
|
||||
|
||||
@ -269,7 +269,7 @@ class DatosLibro {
|
||||
}
|
||||
|
||||
// para que se actualice el comparador
|
||||
$('paginas').trigger('change');
|
||||
this.updateComparador();
|
||||
|
||||
}
|
||||
|
||||
@ -332,10 +332,29 @@ class DatosLibro {
|
||||
}
|
||||
}
|
||||
|
||||
updateComparador(){
|
||||
|
||||
if($("#compPaginasNegro").hasClass('d-none')){
|
||||
$('#compPaginasNegrohq').trigger('change');
|
||||
}
|
||||
else{
|
||||
$('#compPaginasNegro').trigger('change');
|
||||
}
|
||||
$('#compCarasCubierta').trigger('change');
|
||||
|
||||
if($('#compSobrecubierta').length){
|
||||
$('#compSobrecubierta').trigger('change');
|
||||
}
|
||||
if($('#compCarasGuardas').length){
|
||||
$('#compCarasGuardas').trigger('change');
|
||||
}
|
||||
}
|
||||
|
||||
changeTirada(update_tiradas_alternativas = true) {
|
||||
|
||||
this.calcular_mermas()
|
||||
this.calcular_mermas();
|
||||
|
||||
this.updateComparador();
|
||||
|
||||
const url2 = window.location.href;
|
||||
const url_parts2 = url2.split('/');
|
||||
|
||||
Reference in New Issue
Block a user