fixes bug #8501
fixes bug #8502
fixes bug #8503
fixes bug #8504

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@64708 d1611594-4594-4d17-8e1d-87c2c4800839
master
wilian 2017-01-09 13:38:52 +00:00
parent 9dbed63cf9
commit 92f5c89ccb
1 changed files with 2 additions and 2 deletions

View File

@ -618,7 +618,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
private void carregarBilhetesVendidos(List<BoletoComissao> 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<BoletoComissao> 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);