From 7f2e786df37c3fc3ac8445fd893f2457256d3fd6 Mon Sep 17 00:00:00 2001 From: rrene Date: Wed, 27 Apr 2022 14:00:37 -0700 Subject: [PATCH 01/15] =?UTF-8?q?--=20cambio=20en=20texto=20de=20cancelaci?= =?UTF-8?q?=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ventas/RepCancelacionesPorRespuesta.aspx | 15 ++++++++++----- Ventas/RepCancelacionesPorRespuesta.aspx.cs | 13 +++++++++++-- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/Ventas/RepCancelacionesPorRespuesta.aspx b/Ventas/RepCancelacionesPorRespuesta.aspx index a159d3b16..8e7c92dde 100644 --- a/Ventas/RepCancelacionesPorRespuesta.aspx +++ b/Ventas/RepCancelacionesPorRespuesta.aspx @@ -70,7 +70,7 @@ - + @@ -121,21 +121,26 @@ - +
- +
- +
- + + + + + + diff --git a/Ventas/RepCancelacionesPorRespuesta.aspx.cs b/Ventas/RepCancelacionesPorRespuesta.aspx.cs index e86360122..69b5c4009 100644 --- a/Ventas/RepCancelacionesPorRespuesta.aspx.cs +++ b/Ventas/RepCancelacionesPorRespuesta.aspx.cs @@ -77,6 +77,7 @@ public partial class Ventas_RepCancelacionesPorRespuesta : ClsPaginas GvRefacturaciones.DataSource = DtRefacturar; GvRefacturaciones.DataBind(); } + GvDatos.DataBind(); UPDatos.Update(); @@ -569,11 +570,19 @@ public partial class Ventas_RepCancelacionesPorRespuesta : ClsPaginas { if (e.Row.RowType == DataControlRowType.DataRow) { - if (e.Row.DBCampo("PuedeRefacturar").ToString().ToEntero() == 0 || !string.IsNullOrEmpty(e.Row.DBCampo("FolioFiscalSustitucion").ToString())) + GridView gv = (GridView)sender; + if (!(e.Row.DBCampo("PuedeRefacturar").ToString().ToEntero() == 0 || !string.IsNullOrEmpty(e.Row.DBCampo("FolioFiscalSustitucion").ToString()))) { - e.Row.Cells[12].Text = ""; + e.Row.FCHyperLink("HplRefact").NavigateUrl = string.Format("/Ventas/Ventas.aspx?CveDevolucion={0}&NuevaFactura=1", e.Row.DBCampo("CveVenta")); + e.Row.FCHyperLink("HplRefact").Visible = true; } + if (e.Row.DBCampo("CveEstatusRefacturacion") == "4" && gv.ID=="GvDatos") + { + e.Row.FCLinkButton("BtnValidar").Text= "02"; + } + // + //if (e.Row.DBCampo("PuedeRefacturar").ToString().ToEntero() == 1 && e.Row.DBCampo("CveEstatusFactura").ToString().ToEntero() == 23) //{ // e.Row.FCLinkButton("LnkValidarRefac").Visible = false; From b8ded4ee93678e3cae0548580b96b3c122f9a9c2 Mon Sep 17 00:00:00 2001 From: rrene Date: Wed, 27 Apr 2022 14:00:50 -0700 Subject: [PATCH 02/15] =?UTF-8?q?redireccionar=20a=20la=20p=C3=B3liza=20se?= =?UTF-8?q?gun=20el=20tipo=20de=20contabilidad?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Contabilidad/PopUpAuxiliar.aspx.vb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Contabilidad/PopUpAuxiliar.aspx.vb b/Contabilidad/PopUpAuxiliar.aspx.vb index 7658cd839..d7547cfe2 100644 --- a/Contabilidad/PopUpAuxiliar.aspx.vb +++ b/Contabilidad/PopUpAuxiliar.aspx.vb @@ -198,7 +198,13 @@ Partial Class PopUpAuxiliar e.Row.Cells(4).HorizontalAlign = HorizontalAlign.Left If e.Row.FCLiteral("LtlContabilizado").Text = "Si" Then - Dim Liga As String = String.Format("", e.Row.DBCampo("IdPoliza")) + Dim Liga As String + If UsuarioActual.Empresa.TipoContabilidad = 1 Then + Liga = String.Format("", e.Row.DBCampo("CvePrePoliza")) + Else + Liga = String.Format("", e.Row.DBCampo("IdPoliza")) + End If + e.Row.FCLiteral("LtlPoliza").Text = String.Format("{0}{1}", Liga, e.Row.DBCampo("Poliza")) End If From a43142c65bf62a476a87de83ba407ee6d4ecb7df Mon Sep 17 00:00:00 2001 From: rrene Date: Wed, 27 Apr 2022 14:01:15 -0700 Subject: [PATCH 03/15] =?UTF-8?q?--=20poner=20un=20timmer=20cuando=20se=20?= =?UTF-8?q?activa=20la=20modalidad=20de=20liquidaci=C3=B3n,=20para=20que?= =?UTF-8?q?=20no=20expire=20el=20tiempo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ventas/ClientesAbonar.aspx | 12 +++++++++--- Ventas/ClientesAbonar.aspx.vb | 10 +++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/Ventas/ClientesAbonar.aspx b/Ventas/ClientesAbonar.aspx index f2558f45d..4bb0bc047 100644 --- a/Ventas/ClientesAbonar.aspx +++ b/Ventas/ClientesAbonar.aspx @@ -196,7 +196,13 @@
Liquidación:
- + + + + + + +
@@ -566,7 +572,7 @@