0019281: Espec - Alterar Tipo DOC CPF como padrão

bug#19281
dev:thiago.clemente
qua:junia

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@101743 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdir 2020-05-22 20:25:35 +00:00
parent 8adf60cbc0
commit 8d22e9998f
1 changed files with 10 additions and 2 deletions

View File

@ -562,8 +562,7 @@ public class EditarClienteController extends MyGenericForwardComposer {
}
public void onChange$txtNumRfc(Event ev) throws InterruptedException {
if (usaCPFComoFidelidade
&& cmbTipoIdentificacion.getSelectedItem() != null
if (cmbTipoIdentificacion.getSelectedItem() != null
&& cmbTipoIdentificacion.getSelectedItem().getValue().toString().equals(CPF)) {
txtNumFidelidade.setText(txtNumRfc.getText());
} else {
@ -571,6 +570,15 @@ public class EditarClienteController extends MyGenericForwardComposer {
}
}
public void onChange$txtNumRfc2(Event ev) throws InterruptedException {
if ( cmbTipoIdentificacion2.getSelectedItem() != null
&& cmbTipoIdentificacion2.getSelectedItem().getValue().toString().equals(CPF)) {
txtNumFidelidade.setText(txtNumRfc2.getText());
} else {
txtNumFidelidade.setText("");
}
}
public void onClick$btnApagarCurso(Event ev) throws InterruptedException {
Curso curso = (Curso) cursoList.getSelected();