email Service merge

This commit is contained in:
amazuecos
2025-03-27 14:00:55 +01:00
5 changed files with 34 additions and 88 deletions

View File

@ -507,11 +507,12 @@ class PresupuestoAdminEdit {
if (mano > 0) {
anchoTotal += 6 + 5; // dobleces + sangre
maxSolapas = Math.min(Math.floor((865 - anchoTotal) / 2), 0.75 * this.getDimensionLibro().ancho);
maxSolapas = Math.min(Math.floor((865 - anchoTotal) / 2), 0.95 * this.getDimensionLibro().ancho);
}
else {
maxSolapas = 0.75 * this.getDimensionLibro().ancho;
maxSolapas = 0.95 * this.getDimensionLibro().ancho;
}
maxSolapas = Math.floor(maxSolapas, 0);
if ($('#solapas_ancho').length > 0 && $('#solapas_ancho').attr('max') != maxSolapas) {
$('#solapas_ancho').attr('max', maxSolapas);
$('#solapas_ancho').trigger('change');