public ActionResult CONTA_010() { cl_filtros_Info model = new cl_filtros_Info { IdEmpresa = string.IsNullOrEmpty(SessionFixed.IdEmpresa) ? 0 : Convert.ToInt32(SessionFixed.IdEmpresa), IdSucursal = Convert.ToInt32(SessionFixed.IdSucursal), IdCtaCble = "", StringArray = new string[] { }, mostrar_agrupado = false }; CONTA_010_Rpt report = new CONTA_010_Rpt(); report.StringArray = model.StringArray; report.p_IdEmpresa.Value = model.IdEmpresa; report.p_fechaini.Value = model.fecha_ini; report.p_fechafin.Value = model.fecha_fin; report.p_IdCtaCble.Value = model.IdCtaCble; report.p_IdEmpresa.Value = model.IdEmpresa; report.p_MostrarGrupo.Value = model.mostrar_agrupado; report.usuario = SessionFixed.IdUsuario; report.empresa = SessionFixed.NomEmpresa; report.RequestParameters = false; ViewBag.Report = report; cargar_grupo_check(model.IdEmpresa, model.StringArray); return(View(model)); }
public ActionResult CONTA_010(cl_filtros_Info model) { CONTA_010_Rpt report = new CONTA_010_Rpt(); report.StringArray = model.StringArray; report.p_IdEmpresa.Value = model.IdEmpresa; report.p_fechaini.Value = model.fecha_ini; report.p_fechafin.Value = model.fecha_fin; report.p_IdCtaCble.Value = model.IdCtaCble; report.p_IdEmpresa.Value = model.IdEmpresa; report.p_MostrarGrupo.Value = model.mostrar_agrupado; report.usuario = SessionFixed.IdUsuario; report.empresa = SessionFixed.NomEmpresa; report.RequestParameters = false; ViewBag.Report = report; cargar_grupo_check(model.IdEmpresa, model.StringArray); return(View(model)); }