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); - } }