fixes bug#24764

AL-1089
qua:
dev:Valdevir

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@113884 d1611594-4594-4d17-8e1d-87c2c4800839
master
aristides 2022-08-17 18:59:04 +00:00
parent a2ce546aeb
commit 0bb1adc56c
2 changed files with 4 additions and 4 deletions

View File

@ -945,9 +945,9 @@ public class ConferenciaController extends MyGenericForwardComposer {
for (EventosFinanceirosVO eventoFinanceiro : lsEventosFinanceiros) { for (EventosFinanceirosVO eventoFinanceiro : lsEventosFinanceiros) {
if (eventoFinanceiro.isCredito()) { if (eventoFinanceiro.isCredito()) {
totalCreditosEventoFinanceiros = totalCreditosEventoFinanceiros.add(eventoFinanceiro.getImpingreso()); totalCreditosEventoFinanceiros = totalCreditosEventoFinanceiros.add(eventoFinanceiro.getTotal());
} else if (eventoFinanceiro.isDebito()) { } else if (eventoFinanceiro.isDebito()) {
totalDebitosEventoFinanceiros = totalDebitosEventoFinanceiros.add(eventoFinanceiro.getImpingreso().abs()); totalDebitosEventoFinanceiros = totalDebitosEventoFinanceiros.add(eventoFinanceiro.getTotal().abs());
} }
} }

View File

@ -49,7 +49,7 @@ public class RenderEventosFinanceiros implements ListitemRenderer {
lc = new Listcell(eventosFinanceiros.getDescinfo()); lc = new Listcell(eventosFinanceiros.getDescinfo());
lc.setParent(lstm); lc.setParent(lstm);
lc = new Listcell(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(eventosFinanceiros.getImpingreso(), LocaleUtil.getLocale())); lc = new Listcell(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(eventosFinanceiros.getTotal(), LocaleUtil.getLocale()));
lc.setParent(lstm); lc.setParent(lstm);
lc = new Listcell(eventosFinanceiros.isCredito() ? Labels.getLabel("conferenciaController.lbCredito.value") : Labels.getLabel("conferenciaController.lbDebito.value")); lc = new Listcell(eventosFinanceiros.isCredito() ? Labels.getLabel("conferenciaController.lbCredito.value") : Labels.getLabel("conferenciaController.lbDebito.value"));
@ -58,7 +58,7 @@ public class RenderEventosFinanceiros implements ListitemRenderer {
lc = new Listcell(eventosFinanceiros.getStatusDescricao()); lc = new Listcell(eventosFinanceiros.getStatusDescricao());
lc.setParent(lstm); lc.setParent(lstm);
lc = new Listcell(eventosFinanceiros.getDescpago()); lc = new Listcell(eventosFinanceiros.getDescFormapagos());
lc.setParent(lstm); lc.setParent(lstm);
lc = new Listcell(eventosFinanceiros.getNombusuario()); lc = new Listcell(eventosFinanceiros.getNombusuario());