public ActionResult ACTF_005() { cl_filtros_Info model = new cl_filtros_Info { IdEmpresa = Convert.ToInt32(SessionFixed.IdEmpresa), Estado_Proceso = "" }; ACTF_005_Rpt report = new ACTF_005_Rpt(); #region Cargo diseño desde base var reporte = bus_rep_x_emp.GetInfo(model.IdEmpresa, "ACTF_005"); if (reporte != null) { System.IO.File.WriteAllBytes(RootReporte, reporte.ReporteDisenio); report.LoadLayout(RootReporte); } #endregion report.p_IdEmpresa.Value = model.IdEmpresa; report.p_IdActivoFijoTipo.Value = model.IdActivoFijoTipo; report.p_IdCategoriaAF.Value = model.IdCategoriaAF; report.p_fecha_corte.Value = model.fecha_fin; report.p_Estado_Proceso.Value = model.Estado_Proceso; report.usuario = SessionFixed.IdUsuario.ToString(); report.empresa = SessionFixed.NomEmpresa.ToString(); ViewBag.Report = report; cargar_combos(model); return(View(model)); }
public ActionResult ACTF_005(cl_filtros_Info model) { ACTF_005_Rpt report = new ACTF_005_Rpt(); report.p_IdEmpresa.Value = model.IdEmpresa; report.p_IdActivoFijoTipo.Value = model.IdActivoFijoTipo; report.p_IdCategoriaAF.Value = model.IdCategoriaAF; report.p_Estado_Proceso.Value = model.Estado_Proceso; report.p_fecha_corte.Value = model.fecha_fin; cargar_combos(model); report.usuario = SessionFixed.IdUsuario.ToString(); report.empresa = SessionFixed.NomEmpresa.ToString(); ViewBag.Report = report; return(View(model)); }