igor.rodrigo 2015-08-11 17:25:48 +00:00
parent 548aa866bd
commit c733e7d24d
1 changed files with 23 additions and 8 deletions

View File

@ -24,14 +24,29 @@ public class RenderPrecioVentaja implements ListitemRenderer {
Listcell lc = new Listcell(precioVentaja.getPrecioVentajaId() == null ? "" : precioVentaja.getPrecioVentajaId().toString());
lc.setParent(lstm);
lc = new Listcell(precioVentaja.getCorridaId().toString());
lc.setParent(lstm);
if(precioVentaja.getCorridaId() != null){
lc = new Listcell(precioVentaja.getCorridaId().toString());
lc.setParent(lstm);
}else{
lc = new Listcell("");
lc.setParent(lstm);
}
lc = new Listcell(precioVentaja.getRutaPrecioId().toString());
lc.setParent(lstm);
if(precioVentaja.getRutaPrecioId() != null){
lc = new Listcell(precioVentaja.getRutaPrecioId().toString());
lc.setParent(lstm);
}else{
lc = new Listcell("");
lc.setParent(lstm);
}
lc = new Listcell(precioVentaja.getOrigenPrecioId().toString());
lc.setParent(lstm);
if(precioVentaja.getOrigenPrecioId() != null){
lc = new Listcell(precioVentaja.getOrigenPrecioId().toString());
lc.setParent(lstm);
}else{
lc = new Listcell("");
lc.setParent(lstm);
}
lc = new Listcell(precioVentaja.getDestinoPrecioId().toString());
lc.setParent(lstm);