Subversion Repositories Integrator Subversion

Rev

Rev 610 | Rev 732 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 610 Rev 646
Line 182... Line 182...
182
        public void efetuarPagamentos() {
182
        public void efetuarPagamentos() {
183
                new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() {
183
                new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() {
184
                        public void execute() {
184
                        public void execute() {
185
                                for (ValeTransporteFuncionarioDTO valeTransporteFuncionario : getValeTransporteDTO().getFuncionarios()) {
185
                                for (ValeTransporteFuncionarioDTO valeTransporteFuncionario : getValeTransporteDTO().getFuncionarios()) {
186
                                        if (!VerificadorUtil.isListaNulaOuVazia(valeTransporteFuncionario.getParcelas())) {
186
                                        if (!VerificadorUtil.isListaNulaOuVazia(valeTransporteFuncionario.getParcelas())) {
187
                                                parcelaService.efetuarPagamentoRecebimento(valeTransporteFuncionario.getParcelas().get(0), getDataPagamento());
-
 
-
 
187
                                                if (valeTransporteFuncionario.getEfetuarPagamento()) {
-
 
188
                                                        parcelaService.efetuarPagamentoRecebimento(valeTransporteFuncionario.getParcelas().get(0), getDataPagamento());
-
 
189
                                                }
188
                                        }
190
                                        }
189
                                }
191
                                }
190
                                setArquivoParaImportacao(null);
192
                                setArquivoParaImportacao(null);
-
 
193
                                setValeTransporteDTO(valeTransporteService.detalharValeTransporte(new AvaliacaoDTO(getEntidade().getSequencial(), getEntidade().getSequencialDaVigencia(), getEntidade().getDescricaoDaVigencia())));
191
                                LancadorMensagem.lancarSucesso("PAGAMENTOS EFETUADOS COM SUCESSO");
194
                                LancadorMensagem.lancarSucesso("PAGAMENTOS EFETUADOS COM SUCESSO");
192
                        }
195
                        }
193
                });
196
                });
194
        }
197
        }
195
       
198