public ActionResult FAC_010(cl_filtros_facturacion_Info model) { FAC_010_Rpt report = new FAC_010_Rpt(); #region Cargo diseño desde base int IdEmpresa = Convert.ToInt32(SessionFixed.IdEmpresa); var reporte = bus_rep_x_emp.GetInfo(IdEmpresa, "FAC_010"); if (reporte != null) { System.IO.File.WriteAllBytes(RootReporte, reporte.ReporteDisenio); report.LoadLayout(RootReporte); } #endregion report.p_IdEmpresa.Value = model.IdEmpresa; report.p_IdSucursal.Value = model.IdSucursal; report.p_IdCliente.Value = model.IdCliente; report.p_fecha_ini.Value = model.fecha_ini; report.p_fecha_fin.Value = model.fecha_fin; report.p_MostrarAnulados.Value = model.mostrarAnulados; cargar_FAC010(model); report.usuario = SessionFixed.IdUsuario; report.empresa = SessionFixed.NomEmpresa; ViewBag.Report = report; return(View(model)); }
public ActionResult FAC_010() { cl_filtros_facturacion_Info model = new cl_filtros_facturacion_Info { IdEmpresa = Convert.ToInt32(SessionFixed.IdEmpresa), IdCategoria = "", IdMarca = 0, IdProducto = 0 }; cargar_FAC010(model); FAC_010_Rpt report = new FAC_010_Rpt(); report.p_IdEmpresa.Value = model.IdEmpresa; report.p_IdProducto.Value = model.IdProductoPadre == null ? 0 : model.IdProductoPadre; report.p_IdCategoria.Value = model.IdCategoria; report.p_IdLinea.Value = model.IdLinea; report.p_IdGrupo.Value = model.IdGrupo; report.p_IdSubGrupo.Value = model.IdSubGrupo; report.p_IdMarca.Value = model.IdMarca; report.usuario = SessionFixed.IdUsuario.ToString(); report.empresa = SessionFixed.NomEmpresa.ToString(); ViewBag.Report = report; return(View(model)); }
public ActionResult FAC_010(cl_filtros_facturacion_Info model) { FAC_010_Rpt report = new FAC_010_Rpt(); report.p_IdEmpresa.Value = model.IdEmpresa; report.p_IdSucursal.Value = model.IdSucursal; report.p_fecha_ini.Value = model.fecha_ini; report.p_fecha_fin.Value = model.fecha_fin; report.p_IdCatalogo_FormaPago.Value = model.IdCatalogo_FormaPago; cargar_FAC010(model); report.usuario = SessionFixed.IdUsuario.ToString(); report.empresa = SessionFixed.NomEmpresa.ToString(); ViewBag.Report = report; return(View(model)); }
public ActionResult FAC_010() { cl_filtros_facturacion_Info model = new cl_filtros_facturacion_Info { IdEmpresa = Convert.ToInt32(SessionFixed.IdEmpresa), IdSucursal = Convert.ToInt32(SessionFixed.IdSucursal), IdCatalogo_FormaPago = "" }; cargar_FAC010(model); FAC_010_Rpt report = new FAC_010_Rpt(); report.p_IdEmpresa.Value = model.IdEmpresa; report.p_IdSucursal.Value = model.IdSucursal; report.p_fecha_ini.Value = model.fecha_ini; report.p_fecha_fin.Value = model.fecha_fin; report.p_IdCatalogo_FormaPago.Value = model.IdCatalogo_FormaPago; report.usuario = SessionFixed.IdUsuario; report.empresa = SessionFixed.NomEmpresa; ViewBag.Report = report; return(View(model)); }