wilian 2014-11-26 20:15:17 +00:00
parent 8b9ac97ff3
commit 12de8bc6b3
1 changed files with 10 additions and 6 deletions

View File

@ -88,12 +88,16 @@ public class EditarFechamentoParamgeralController extends MyGenericForwardCompos
public void onClick$btnSalvar() {
try {
txtBoletoBancoAgencia.getText();
txtBoletoBancoCarteira.getText();
txtBoletoBancoCod.getText();
txtBoletoBancoConta.getText();
txtBoletoBancoContaDigito.getText();
txtBoletoDiasVenc.getText();
if(getFechamentoParamgeral() == null) {
setFechamentoParamgeral(new FechamentoParamgeral());
}
getFechamentoParamgeral().setBoletoBancoAgencia(txtBoletoBancoAgencia.getText());
getFechamentoParamgeral().setBoletoBancoCarteira(txtBoletoBancoCarteira.getText());
getFechamentoParamgeral().setBoletoBancoCod(txtBoletoBancoCod.getText());
getFechamentoParamgeral().setBoletoBancoConta(txtBoletoBancoConta.getText());
getFechamentoParamgeral().setBoletoBancoContaDigito(txtBoletoBancoContaDigito.getText());
getFechamentoParamgeral().setBoletoDiasVenc(Integer.valueOf(txtBoletoDiasVenc.getText()));
if(cmbEmpresa.getSelectedItem() != null) {
getFechamentoParamgeral().setEmpresa((Empresa) cmbEmpresa.getSelectedItem().getValue());