fixes bug#22020
dev: Valdir qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@106817 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
4d0cc7e850
commit
79f914c53a
|
@ -147,7 +147,7 @@ public class EditarFechamentoParamgeralController extends MyGenericForwardCompos
|
|||
}
|
||||
|
||||
public void onClick$btnSalvar() {
|
||||
final Integer CARTEIRA_BRADESCO = 99;
|
||||
final Integer CARTEIRA_BRADESCO = 99;
|
||||
String bancoSelecionado = null;
|
||||
try {
|
||||
|
||||
|
@ -185,13 +185,19 @@ public class EditarFechamentoParamgeralController extends MyGenericForwardCompos
|
|||
getFechamentoParamgeral().setBoletoBancoConta(txtBoletoBancoConta.getText());
|
||||
getFechamentoParamgeral().setBoletoBancoContaDigito(txtBoletoBancoContaDigito.getText());
|
||||
getFechamentoParamgeral().setBoletoDiasVenc(Integer.valueOf(txtBoletoDiasVenc.getText()));
|
||||
getFechamentoParamgeral().setBoletoJuros(new BigDecimal(txtBoletoJuros.getText().replace(",", ".")));
|
||||
getFechamentoParamgeral().setBoletoMulta(new BigDecimal(txtBoletoMulta.getText().replace(",", ".")));
|
||||
getFechamentoParamgeral().setBoletoBancoInstrucao(txtBoletoBancoInstrucao.getText());
|
||||
getFechamentoParamgeral().setBoletoBancoInstrucao2(txtBoletoBancoInstrucao2.getText());
|
||||
getFechamentoParamgeral().setBoletoBancoInstrucao3(txtBoletoBancoInstrucao3.getText());
|
||||
getFechamentoParamgeral().setBoletoBancoInstrucaoSacado(txtBoletoBancoInstrucaoSacado.getText());
|
||||
|
||||
if(! txtBoletoJuros.getText().trim().isEmpty()) {
|
||||
getFechamentoParamgeral().setBoletoJuros(new BigDecimal(txtBoletoJuros.getText().replace(",", ".")));
|
||||
}
|
||||
|
||||
if(! txtBoletoMulta.getText().trim().isEmpty()) {
|
||||
getFechamentoParamgeral().setBoletoMulta(new BigDecimal(txtBoletoMulta.getText().replace(",", ".")));
|
||||
}
|
||||
|
||||
if(cmbEmpresa.getSelectedItem() != null) {
|
||||
getFechamentoParamgeral().setEmpresa((Empresa) cmbEmpresa.getSelectedItem().getValue());
|
||||
}
|
||||
|
@ -214,7 +220,7 @@ public class EditarFechamentoParamgeralController extends MyGenericForwardCompos
|
|||
closeWindow();
|
||||
} catch (Exception ex) {
|
||||
log.info(ex.getLocalizedMessage());
|
||||
Clients.alert(ex.getLocalizedMessage(),
|
||||
Clients.alert(ex.getLocalizedMessage()!=null?ex.getLocalizedMessage():ex.getCause().getLocalizedMessage(),
|
||||
Labels.getLabel("editarFechamentoParamgeralController.window.title"), Messagebox.INFORMATION);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue