From e320a2e586c0585f68b2b97a7f2f04d1d80a125f Mon Sep 17 00:00:00 2001 From: MLopez Date: Sat, 12 Nov 2022 15:08:42 -0700 Subject: [PATCH] =?UTF-8?q?Solicitudes=20Ingresos=20SAT:=20Funcionalidad?= =?UTF-8?q?=20inicial=20de=20agrupacion=20Mes=20Moneda=20Ocupo=20ayuda=20p?= =?UTF-8?q?ara=20ordenar=20la=20tabla=20correctamente=20separando=20los=20?= =?UTF-8?q?meses=20en=20categor=C3=ADa=20por=20peso=20y=20por=20d=C3=B3lar?= =?UTF-8?q?,=20el=20c=C3=B3digo=20del=20gridview=20CxP=20est=C3=A1=20muy?= =?UTF-8?q?=20enredoso?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SAT/SolicitudesIngresoSat.aspx | 3 ++- SAT/SolicitudesIngresoSat.aspx.cs | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/SAT/SolicitudesIngresoSat.aspx b/SAT/SolicitudesIngresoSat.aspx index 707ff58c8..ec6724f78 100644 --- a/SAT/SolicitudesIngresoSat.aspx +++ b/SAT/SolicitudesIngresoSat.aspx @@ -252,8 +252,9 @@
- + +
diff --git a/SAT/SolicitudesIngresoSat.aspx.cs b/SAT/SolicitudesIngresoSat.aspx.cs index 969df533f..50e4be719 100644 --- a/SAT/SolicitudesIngresoSat.aspx.cs +++ b/SAT/SolicitudesIngresoSat.aspx.cs @@ -95,7 +95,7 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas LnkDownloadExcel.Visible = false; - if (DdlReporte.SelectedValue.ToEntero() == 1) + if (DdlReporte.SelectedValue.ToEntero() == 1 || DdlReporte.SelectedValue.ToEntero() == 3) { DVResumen1.Visible = true; DVResumen2.Visible = true; @@ -114,19 +114,19 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas { if (ObjNom.SATSolicitudTimbreIngresosRep(UsuarioActual.CveEmpresa, TxtRpdFechaInicio.Text.ToDate(), TxtRpdFechaFin.Text.ToDate(), DdlReporte.SelectedValue.ToEntero(),DdlVista.SelectedValue.ToEntero())) { - if (DdlReporte.SelectedValue.ToEntero() == 1) + if (DdlReporte.SelectedValue.ToEntero() == 1 || DdlReporte.SelectedValue.ToEntero() == 3) { GvResumen.DataSource = ObjNom.DtResultados; TipoDescarga = ObjNom.DtResultados.Rows.Count > 0 ? 1:0; LnkDownloadExcel.Visible = true; } - else - { + else if (DdlReporte.SelectedValue.ToEntero() == 2) + { GvDatos.DataSource = ObjNom.DtResultados; TipoDescarga = ObjNom.DtResultados.Rows.Count > 0 ? 2 : 0; LnkDownloadExcel.Visible = true; } - } + } } GvResumen.DataBind();