diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/comissao/ConferenciaController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/comissao/ConferenciaController.java index 8d36956a3..7c69c0cc0 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/comissao/ConferenciaController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/comissao/ConferenciaController.java @@ -618,7 +618,7 @@ public class ConferenciaController extends MyGenericForwardComposer { private void carregarBilhetesVendidos(List boletosComissaos) throws BusinessException { lsBilhetes = conferenciaComissaoService.carregarBilhetesComissao(boletosComissaos, conferencia, BoletoStatusComissao.BOLETOS_VENDIDOS); - totalBilhetesVendidos = conferenciaComissaoService.totalizarBoletoComissao(lsBilhetes, IndStatusBoleto.V); + totalBilhetesVendidos = conferenciaComissaoService.totalizarBoletoComissao(lsBilhetes, IndStatusBoleto.V, IndStatusBoleto.T); txtTotalBilhetes.setValue(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(totalBilhetesVendidos, LocaleUtil.getLocale())); txtQtdeTotalBilhetes.setValue(String.valueOf(lsBilhetes.size())); bilhetesList.setData(lsBilhetes); @@ -657,7 +657,7 @@ public class ConferenciaController extends MyGenericForwardComposer { private void carregarBilhetesGap(List boletosComissaos) throws BusinessException { lsBilhetesGap = conferenciaComissaoService.carregarBilhetesComissao(boletosComissaos, conferencia, BoletoStatusComissao.GAP_VENDIDOS); - totalBilhetesGap = conferenciaComissaoService.totalizarBoletoComissao(lsBilhetesGap, IndStatusBoleto.V); + totalBilhetesGap = conferenciaComissaoService.totalizarBoletoComissao(lsBilhetesGap, IndStatusBoleto.V, IndStatusBoleto.T); txtTotalBilhetesGap.setValue(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(totalBilhetesGap, LocaleUtil.getLocale())); txtQtdeTotalBilhetesGap.setValue(String.valueOf(lsBilhetesGap.size())); bilhetesGapList.setData(lsBilhetesGap);