From 0bc77152a99ec8a4ca32638994c6e8ecbb2c4a4a Mon Sep 17 00:00:00 2001 From: valdevir Date: Wed, 9 Nov 2016 12:21:50 +0000 Subject: [PATCH] fixes bug #7985 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@62461 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../render/RenderEventosFinanceiros.java | 61 ++++++++++--------- 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderEventosFinanceiros.java b/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderEventosFinanceiros.java index 352fe34a3..87d26df1b 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderEventosFinanceiros.java +++ b/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderEventosFinanceiros.java @@ -16,42 +16,45 @@ public class RenderEventosFinanceiros implements ListitemRenderer { public void render(Listitem lstm, Object o) throws Exception { EventosFinanceirosVO eventosFinanceiros = (EventosFinanceirosVO) o; eventosFinanceiros.setConferido(eventosFinanceiros.getLogconferenciaId() != null); - + Listcell lc = new Listcell(); - if((eventosFinanceiros.getExigeConferenciaAba() != null && eventosFinanceiros.getExigeConferenciaAba()) || eventosFinanceiros.isExigeConferencia()) { - Checkbox chk = new Checkbox(); - chk.setId(eventosFinanceiros.getEventoextraId()+"_"+eventosFinanceiros.getComempformapagoId()); + if ((eventosFinanceiros.getExigeConferenciaAba() != null && eventosFinanceiros.getExigeConferenciaAba()) || eventosFinanceiros.isExigeConferencia()) { + Checkbox chk = new Checkbox(); + chk.setId(eventosFinanceiros.getEventoextraId() + "_" + eventosFinanceiros.getComempformapagoId()); chk.setChecked(eventosFinanceiros.isConferido()); chk.setParent(lc); - } - lc.setParent(lstm); - + } + lc.setParent(lstm); + + lc = new Listcell(eventosFinanceiros.getBoletoId() != null ? eventosFinanceiros.getBoletoId().toString() : ""); + lc.setParent(lstm); + lc = new Listcell(eventosFinanceiros.getNumdocumento()); - lc.setParent(lstm); - - lc = new Listcell(eventosFinanceiros.getDesctipoevento()); - lc.setParent(lstm); - - lc = new Listcell(eventosFinanceiros.getDescinfo()); - lc.setParent(lstm); - - lc = new Listcell(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(eventosFinanceiros.getImpingreso(), LocaleUtil.getLocale())); - lc.setParent(lstm); + lc.setParent(lstm); - lc = new Listcell(eventosFinanceiros.isCredito() ? Labels.getLabel("conferenciaController.lbCredito.value") : Labels.getLabel("conferenciaController.lbDebito.value")); - lc.setParent(lstm); - - lc = new Listcell(eventosFinanceiros.getStatusDescricao()); - lc.setParent(lstm); - - lc = new Listcell(eventosFinanceiros.getDescpago()); - lc.setParent(lstm); + lc = new Listcell(eventosFinanceiros.getDesctipoevento()); + lc.setParent(lstm); - lc = new Listcell(eventosFinanceiros.getNombusuario()); - lc.setParent(lstm); + lc = new Listcell(eventosFinanceiros.getDescinfo()); + lc.setParent(lstm); + + lc = new Listcell(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(eventosFinanceiros.getImpingreso(), LocaleUtil.getLocale())); + lc.setParent(lstm); + + lc = new Listcell(eventosFinanceiros.isCredito() ? Labels.getLabel("conferenciaController.lbCredito.value") : Labels.getLabel("conferenciaController.lbDebito.value")); + lc.setParent(lstm); + + lc = new Listcell(eventosFinanceiros.getStatusDescricao()); + lc.setParent(lstm); + + lc = new Listcell(eventosFinanceiros.getDescpago()); + lc.setParent(lstm); + + lc = new Listcell(eventosFinanceiros.getNombusuario()); + lc.setParent(lstm); + + lstm.setAttribute("data", eventosFinanceiros); - lstm.setAttribute("data", eventosFinanceiros); - } }