fixes bug 6659
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@48453 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
a61825c829
commit
4dd9590510
|
@ -444,13 +444,14 @@ public class EditarClienteController extends MyGenericForwardComposer {
|
||||||
lsClienteDireccion = cliente.getLsClienteDireccion();
|
lsClienteDireccion = cliente.getLsClienteDireccion();
|
||||||
txtNombCliente.focus();
|
txtNombCliente.focus();
|
||||||
txtDireccionCalle.focus();
|
txtDireccionCalle.focus();
|
||||||
|
if(cliente.getListClienteFidelidad().size()>0){
|
||||||
if (!ApplicationProperties.getInstance().podeEditarClienteFidelidade()) {
|
if (!ApplicationProperties.getInstance().podeEditarClienteFidelidade()) {
|
||||||
desabilitarComponentes(Boolean.TRUE);
|
desabilitarComponentes(Boolean.TRUE);
|
||||||
Messagebox.show(Labels.getLabel("editarClienteController.msg.edicao.nao.permitida"),
|
Messagebox.show(Labels.getLabel("editarClienteController.msg.edicao.nao.permitida"),
|
||||||
Labels.getLabel("editarClienteController.window.title"),
|
Labels.getLabel("editarClienteController.window.title"),
|
||||||
Messagebox.OK, Messagebox.INFORMATION);
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// onClick$chkEstudanteComDesconto(new Event("evento"));
|
// onClick$chkEstudanteComDesconto(new Event("evento"));
|
||||||
verificaCheckEstudanteComDescuento();
|
verificaCheckEstudanteComDescuento();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
@ -1251,10 +1252,6 @@ public class EditarClienteController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
private Boolean validarDadosFidelidade(Empresa empresa) throws InterruptedException {
|
private Boolean validarDadosFidelidade(Empresa empresa) throws InterruptedException {
|
||||||
|
|
||||||
if(!ApplicationProperties.getInstance().podeEditarClienteFidelidade()){
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(txtNumFidelidade.getValue() == null && empresa == null ){
|
if(txtNumFidelidade.getValue() == null && empresa == null ){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue