fixes bug#24443

dev:celio
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@112045 d1611594-4594-4d17-8e1d-87c2c4800839
master
walace 2022-04-27 21:04:38 +00:00
parent aff07497b2
commit 22dfb64d68
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
@Override
public void onEvent(Event event) throws Exception {
CheckEvent checkEvent = (CheckEvent) event;
if (checkEvent.isChecked() && eventoFinanceiro.getLogconferenciaId() == null) {
if (checkEvent.isChecked() && eventoFinanceiro.getLogconferenciaId() == null || eventoFinanceiro.getLogconferenciaId() == 0) {
gravarLogConferenciaEventoFinanceiro(eventoFinanceiro);
} else if (!checkEvent.isChecked() && eventoFinanceiro.getLogconferenciaId() != null) {
removerLogConferenciaEventoFinanceiro(eventoFinanceiro);