fixes bug #8813
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@67286 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
0549daf0cb
commit
f603b38150
|
@ -678,7 +678,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
private void carregarBilhetesVendidos(List<BoletoComissao> boletosComissaos, boolean carregarDadosFaltantes) throws BusinessException {
|
private void carregarBilhetesVendidos(List<BoletoComissao> boletosComissaos, boolean carregarDadosFaltantes) throws BusinessException {
|
||||||
lsBilhetes = conferenciaComissaoService.carregarBilhetesComissao(boletosComissaos, conferencia, BoletoStatusComissao.BOLETOS_VENDIDOS, carregarDadosFaltantes);
|
lsBilhetes = conferenciaComissaoService.carregarBilhetesComissao(boletosComissaos, conferencia, BoletoStatusComissao.BOLETOS_VENDIDOS, carregarDadosFaltantes);
|
||||||
|
|
||||||
totalBilhetesVendidos = conferenciaComissaoService.totalizarBoletoComissao(lsBilhetes, IndStatusBoleto.V, IndStatusBoleto.T);
|
totalBilhetesVendidos = conferenciaComissaoService.totalizarBoletoComissao(lsBilhetes, IndStatusBoleto.V);
|
||||||
txtTotalBilhetes.setValue(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(totalBilhetesVendidos, LocaleUtil.getLocale()));
|
txtTotalBilhetes.setValue(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(totalBilhetesVendidos, LocaleUtil.getLocale()));
|
||||||
txtQtdeTotalBilhetes.setValue(String.valueOf(lsBilhetes.size()));
|
txtQtdeTotalBilhetes.setValue(String.valueOf(lsBilhetes.size()));
|
||||||
bilhetesList.setData(lsBilhetes);
|
bilhetesList.setData(lsBilhetes);
|
||||||
|
@ -687,10 +687,8 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void carregarBilhetesCancelados(List<BoletoComissao> boletosComissaos, boolean carregarDadosFaltantes) throws BusinessException {
|
private void carregarBilhetesCancelados(List<BoletoComissao> boletosComissaos, boolean carregarDadosFaltantes) throws BusinessException {
|
||||||
|
|
||||||
lsBilhetesCancelados = conferenciaComissaoService.carregarBilhetesComissao(boletosComissaos, conferencia, BoletoStatusComissao.BOLETO_CANCELADO, carregarDadosFaltantes);
|
lsBilhetesCancelados = conferenciaComissaoService.carregarBilhetesComissao(boletosComissaos, conferencia, BoletoStatusComissao.BOLETO_CANCELADO, carregarDadosFaltantes);
|
||||||
|
|
||||||
|
|
||||||
totalBilhetesCancelados = conferenciaComissaoService.totalizarBoletoComissao(lsBilhetesCancelados);
|
totalBilhetesCancelados = conferenciaComissaoService.totalizarBoletoComissao(lsBilhetesCancelados);
|
||||||
txtTotalBilhetesCancelados.setValue(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(totalBilhetesCancelados, LocaleUtil.getLocale()));
|
txtTotalBilhetesCancelados.setValue(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(totalBilhetesCancelados, LocaleUtil.getLocale()));
|
||||||
txtQtdeTotalBilhetesCancelados.setValue(String.valueOf(lsBilhetesCancelados.size()));
|
txtQtdeTotalBilhetesCancelados.setValue(String.valueOf(lsBilhetesCancelados.size()));
|
||||||
|
@ -723,7 +721,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
private void carregarBilhetesGap(List<BoletoComissao> boletosComissaos) throws BusinessException {
|
private void carregarBilhetesGap(List<BoletoComissao> boletosComissaos) throws BusinessException {
|
||||||
lsBilhetesGap = conferenciaComissaoService.carregarBilhetesComissao(boletosComissaos, conferencia, BoletoStatusComissao.GAP_VENDIDOS, false);
|
lsBilhetesGap = conferenciaComissaoService.carregarBilhetesComissao(boletosComissaos, conferencia, BoletoStatusComissao.GAP_VENDIDOS, false);
|
||||||
totalBilhetesGap = conferenciaComissaoService.totalizarBoletoComissao(lsBilhetesGap, IndStatusBoleto.V, IndStatusBoleto.T);
|
totalBilhetesGap = conferenciaComissaoService.totalizarBoletoComissao(lsBilhetesGap, IndStatusBoleto.V);
|
||||||
txtTotalBilhetesGap.setValue(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(totalBilhetesGap, LocaleUtil.getLocale()));
|
txtTotalBilhetesGap.setValue(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(totalBilhetesGap, LocaleUtil.getLocale()));
|
||||||
txtQtdeTotalBilhetesGap.setValue(String.valueOf(lsBilhetesGap.size()));
|
txtQtdeTotalBilhetesGap.setValue(String.valueOf(lsBilhetesGap.size()));
|
||||||
bilhetesGapList.setData(lsBilhetesGap);
|
bilhetesGapList.setData(lsBilhetesGap);
|
||||||
|
|
Loading…
Reference in New Issue