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,14 +562,22 @@ public class EditarClienteController extends MyGenericForwardComposer {
} }
public void onChange$txtNumRfc(Event ev) throws InterruptedException { public void onChange$txtNumRfc(Event ev) throws InterruptedException {
if (usaCPFComoFidelidade if (cmbTipoIdentificacion.getSelectedItem() != null
&& cmbTipoIdentificacion.getSelectedItem() != null
&& cmbTipoIdentificacion.getSelectedItem().getValue().toString().equals(CPF)) { && cmbTipoIdentificacion.getSelectedItem().getValue().toString().equals(CPF)) {
txtNumFidelidade.setText(txtNumRfc.getText()); txtNumFidelidade.setText(txtNumRfc.getText());
} else { } else {
txtNumFidelidade.setText(""); txtNumFidelidade.setText("");
} }
} }
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 { public void onClick$btnApagarCurso(Event ev) throws InterruptedException {