diff --git a/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderPricing.java b/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderPricing.java index 588708328..269c3c88d 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderPricing.java +++ b/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderPricing.java @@ -6,12 +6,14 @@ package com.rjconsultores.ventaboletos.web.utilerias.render; import java.text.SimpleDateFormat; +import org.springframework.beans.factory.annotation.Autowired; import org.zkoss.zul.Listcell; import org.zkoss.zul.Listitem; import org.zkoss.zul.ListitemRenderer; import com.rjconsultores.ventaboletos.entidad.Pricing; import com.rjconsultores.ventaboletos.entidad.PricingVigencia; +import com.rjconsultores.ventaboletos.service.PricingService; /** * @@ -19,8 +21,16 @@ import com.rjconsultores.ventaboletos.entidad.PricingVigencia; */ public class RenderPricing implements ListitemRenderer { + @Autowired + private PricingService pricingService; + public void render(Listitem lstm, Object o) throws Exception { Pricing p = (Pricing) o; + try { + Integer id = p.getPricingId(); + p = pricingService.obtenerID(id); + } catch (Exception e) { + } Listcell lc = new Listcell();