mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
resuelto direcciones en nuevo presupuesto cliente y quitar check papeles distintos
This commit is contained in:
@ -63,7 +63,7 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div
|
||||
<div id="divExcluirRotativa"
|
||||
class="col-sm-5 mb-3 d-flex flex-column align-items-center <?= (auth()->user()->inGroup('cliente-admin') || auth()->user()->inGroup('cliente-editor')) ? " d-none" : "" ?>">
|
||||
<div class="form-check form-switch mb-2">
|
||||
<input <?= (auth()->user()->inGroup('cliente-admin') || auth()->user()->inGroup('cliente-editor')) ? " hidden" : "" ?> class=" calcular-solapas calcular-presupuesto form-check-input" type="checkbox" id="excluirRotativa"
|
||||
|
||||
@ -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);*/
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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() })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user