From fe51b921a64c38d35b88a0a702f928dce70e0488 Mon Sep 17 00:00:00 2001 From: RPimienta Date: Thu, 21 Nov 2024 12:11:40 -0600 Subject: [PATCH 1/2] Cambios en el dashboard de ventas --- Ventas/DashboardVentas.aspx | 41 +++++++++ Ventas/DashboardVentas.aspx.vb | 153 ++++++++++++++++++++++++++++----- 2 files changed, 171 insertions(+), 23 deletions(-) diff --git a/Ventas/DashboardVentas.aspx b/Ventas/DashboardVentas.aspx index c4b4ac610..32730effa 100644 --- a/Ventas/DashboardVentas.aspx +++ b/Ventas/DashboardVentas.aspx @@ -127,6 +127,47 @@ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
Date: Fri, 22 Nov 2024 10:44:07 -0700 Subject: [PATCH 2/2] Ajuste balanza de comprobaciones, efacturas valida de copia de pdf --- Compras/eFacturas.aspx.vb | 13 ++-- Contabilidad/RepBalanzaComprobacion.aspx | 86 +++++++++++++----------- 2 files changed, 52 insertions(+), 47 deletions(-) diff --git a/Compras/eFacturas.aspx.vb b/Compras/eFacturas.aspx.vb index 90552b507..85d60f4d8 100644 --- a/Compras/eFacturas.aspx.vb +++ b/Compras/eFacturas.aspx.vb @@ -1704,15 +1704,12 @@ Partial Class Compras_eFacturas Hilo.Start() Else Dim PDfDestino As String = $"{UsuarioActual.Empresa.Ruta}\Compras\{FF.EmisorRFC}\{FF.CveFactura}.PDF" - If File.Exists(PDfDestino) Then - File.Delete(PDfDestino) - End If - Try + If File.Exists(RutaPDF) Then + If File.Exists(PDfDestino) Then + File.Delete(PDfDestino) + End If File.Move(RutaPDF, PDfDestino) - Catch ex As Exception - - End Try - + End If End If End If diff --git a/Contabilidad/RepBalanzaComprobacion.aspx b/Contabilidad/RepBalanzaComprobacion.aspx index ac8bff60e..49604813d 100644 --- a/Contabilidad/RepBalanzaComprobacion.aspx +++ b/Contabilidad/RepBalanzaComprobacion.aspx @@ -11,7 +11,15 @@ Exportar por
- + + + + + + + + +
  • @@ -231,7 +239,7 @@ function BtnImprimirPoSubProyecto_Click() { - setTimeout(checkFileStatus, 5000); + //setTimeout(checkFileStatus, 5000); $('#BtnImprimirPorsubProyecto').click(); //checkFileStatus(); @@ -239,46 +247,46 @@ } - function callMyStaticFunction() { - $.ajax({ - type: "POST", - url: "MyPage.aspx/MyStaticFunction", - data: JSON.stringify({ parameter: "TuParametro" }), - contentType: "application/json; charset=utf-8", - dataType: "json", - success: function (response) { - alert("Resultado: " + response.d); - }, - error: function (xhr, status, error) { - console.error("Error: " + error); - } - }); - } + //function callMyStaticFunction() { + // $.ajax({ + // type: "POST", + // url: "MyPage.aspx/MyStaticFunction", + // data: JSON.stringify({ parameter: "TuParametro" }), + // contentType: "application/json; charset=utf-8", + // dataType: "json", + // success: function (response) { + // alert("Resultado: " + response.d); + // }, + // error: function (xhr, status, error) { + // console.error("Error: " + error); + // } + // }); + //} - function checkFileStatus() { - //$.ajax({ - // url: 'RepBalanzaComprobacion.aspx', - // success: function (response) { - // setTimeout(checkFileStatus, 20000); - // } - //}); + //function checkFileStatus() { + // //$.ajax({ + // // url: 'RepBalanzaComprobacion.aspx', + // // success: function (response) { + // // setTimeout(checkFileStatus, 20000); + // // } + // //}); - $.ajax({ - type: "POST", - url: 'RepBalanzaComprobacion.aspx', - data: JSON.stringify({ parameter: "TuParametro" }), - contentType: "application/json; charset=utf-8", - dataType: "json", - success: function (response) { - //alert("Resultado: " + response.d); - setTimeout(checkFileStatus, 20000); - }, - error: function (xhr, status, error) { - console.error("Error: " + error); - } - }); - } + // $.ajax({ + // type: "POST", + // url: 'RepBalanzaComprobacion.aspx', + // data: JSON.stringify({ parameter: "TuParametro" }), + // contentType: "application/json; charset=utf-8", + // dataType: "json", + // success: function (response) { + // //alert("Resultado: " + response.d); + // setTimeout(checkFileStatus, 20000); + // }, + // error: function (xhr, status, error) { + // console.error("Error: " + error); + // } + // }); + //}