diff --git a/General/CATIEPSxEntidadFed.aspx.cs b/General/CATIEPSxEntidadFed.aspx.cs
index 4636cd002..ceecf4ce6 100644
--- a/General/CATIEPSxEntidadFed.aspx.cs
+++ b/General/CATIEPSxEntidadFed.aspx.cs
@@ -106,10 +106,33 @@ public partial class General_CATIEPSxEntidadFed : ClsPaginas
protected void LnkExcel_Click(object sender, EventArgs e)
{
- GVIEPSxEntidadFed.ExportToExcelx("IEPS porEntidad Federativa");
+ //GVIEPSxEntidadFed.ExportToExcelx("IEPS porEntidad Federativa");
+ Imprimir("Excel");
}
protected void LnkPDF_Click(object sender, EventArgs e)
+ {
+ Imprimir("PDF");
+ //string FechaInicio = $" Fecha Inicio: {TxtIEPSfechaInicio.Text}";
+ //string FechaFin = $" Fecha Inicio: {TxtIEPSfechaFin.Text}";
+ //string Estado = DdlEstado.SelectedValue.ToEntero() > -1 ? $" Estado: {DdlEstado.SelectedItem}" : "";
+ //string IEPS = DdlIeps.SelectedValue.ToEntero() > -1 ? $" IEPS: {DdlIeps.SelectedItem}" : "";
+ //string Agrupador = DdlAgrupador.SelectedValue.ToEntero() > -1 ? $" Agrupador: {DdlAgrupador.SelectedItem}" : "";
+ //List paramList = new List();
+ //paramList.Add(new ReportParameter("Logo", String.Format("{0}://{1}:{2}/Empresas/{3}/Logo.png", Request.Url.Scheme, Request.Url.Host, Request.Url.Port, UsuarioActual.CveEmpresa)));
+ //paramList.Add(new ReportParameter("FechaInicio", FechaInicio));
+ //paramList.Add(new ReportParameter("FechaFin", TxtIEPSfechaFin.Text));
+ //paramList.Add(new ReportParameter("Agrupador", DdlAgrupador.SelectedValue));
+ //paramList.Add(new ReportParameter("Empresa", UsuarioActual.Empresa.Empresa));
+ //paramList.Add(new ReportParameter("UsuarioImprimio", UsuarioActual.Nombre));
+ //paramList.Add(new ReportParameter("FechaImpresion", DateTime.Now.ToString()));
+ //paramList.Add(new ReportParameter("Filtros", $"{FechaInicio}{FechaFin}{IEPS}{Estado}{Agrupador}"));
+
+
+ //ImprimirPDF("Empresas/Grales/Formatos/CatIepsEntidadFed.rdlc", DtIEPS, paramList,"IEPS por entidades federativa",RDSName:"DsInventarios");
+ }
+
+ private void Imprimir(string formato)
{
string FechaInicio = $" Fecha Inicio: {TxtIEPSfechaInicio.Text}";
string FechaFin = $" Fecha Inicio: {TxtIEPSfechaFin.Text}";
@@ -127,6 +150,6 @@ public partial class General_CATIEPSxEntidadFed : ClsPaginas
paramList.Add(new ReportParameter("Filtros", $"{FechaInicio}{FechaFin}{IEPS}{Estado}{Agrupador}"));
- ImprimirPDF("Empresas/Grales/Formatos/CatIepsEntidadFed.rdlc", DtIEPS, paramList,"IEPS por entidades federativa",RDSName:"DsInventarios");
+ ImprimirPDF("Empresas/Grales/Formatos/CatIepsEntidadFed.rdlc", DtIEPS, paramList, "IEPS por entidades federativa",formato, RDSName: "DsInventarios");
}
}
diff --git a/vwd.webinfo b/vwd.webinfo
index c9e193dc4..6b76e11e1 100644
--- a/vwd.webinfo
+++ b/vwd.webinfo
@@ -50,6 +50,8 @@
+
+