diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_datosGenerales.php b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_datosGenerales.php index 3f9997af..2456bd2a 100644 --- a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_datosGenerales.php +++ b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/items/_datosGenerales.php @@ -63,7 +63,7 @@ -
">
user()->inGroup('cliente-admin') || auth()->user()->inGroup('cliente-editor')) ? " hidden" : "" ?> class=" calcular-solapas calcular-presupuesto form-check-input" type="checkbox" id="excluirRotativa" diff --git a/httpdocs/assets/js/safekat/pages/presupuestoCliente/datosGenerales.js b/httpdocs/assets/js/safekat/pages/presupuestoCliente/datosGenerales.js index 7821b5bd..5cb58bd9 100644 --- a/httpdocs/assets/js/safekat/pages/presupuestoCliente/datosGenerales.js +++ b/httpdocs/assets/js/safekat/pages/presupuestoCliente/datosGenerales.js @@ -572,8 +572,8 @@ class DatosGenerales { this.pagColorConsecutivas.prop('checked', datos.paginasColorConsecutivas); if (datos.paginasColorConsecutivas) { - this.divPapelDiferente.removeClass('d-none'); - this.papelDiferente.prop('checked', datos.papelInteriorDiferente).trigger('change'); + //this.divPapelDiferente.removeClass('d-none'); + //this.papelDiferente.prop('checked', datos.papelInteriorDiferente).trigger('change'); } this.posPaginasColor.val(datos.posPaginasColor); @@ -794,11 +794,11 @@ class DatosGenerales { #handPaginasConsecutivas() { if (this.pagColorConsecutivas.is(':checked')) { - this.divPapelDiferente.removeClass('d-none'); + //this.divPapelDiferente.removeClass('d-none'); } else { - this.divPapelDiferente.addClass('d-none'); - this.papelDiferente.prop('checked', false); + /*this.divPapelDiferente.addClass('d-none'); + this.papelDiferente.prop('checked', false);*/ } } diff --git a/httpdocs/assets/js/safekat/pages/presupuestoCliente/presupuestoCliente.js b/httpdocs/assets/js/safekat/pages/presupuestoCliente/presupuestoCliente.js index 431b1d76..5ce4fa4a 100644 --- a/httpdocs/assets/js/safekat/pages/presupuestoCliente/presupuestoCliente.js +++ b/httpdocs/assets/js/safekat/pages/presupuestoCliente/presupuestoCliente.js @@ -78,7 +78,7 @@ class PresupuestoCliente { } - if (this.datosGenerales.excluirRotativa.length == 0) { + if ($('#divExcluirRotativa').hasClass('d-none')) { this.direcciones.direccionesCliente.setParams({ 'cliente_id': $("#clienteId").val() }) }