fixes bug #7985
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@62461 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
6000cb6e6c
commit
0bc77152a9
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue