From 2ddd967b16406c12170ca607a7d93fedc4d35b24 Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Thu, 16 Mar 2023 15:43:32 -0700 Subject: [PATCH 01/10] Log de descarga de pdf --- Ashx/E141.ashx | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Ashx/E141.ashx b/Ashx/E141.ashx index dbca48046..0bfb003be 100644 --- a/Ashx/E141.ashx +++ b/Ashx/E141.ashx @@ -102,12 +102,17 @@ Public Class E141 : Implements IHttpHandler 'DESCARGA DEL PDF If Not String.IsNullOrEmpty(Params) Then - Dim UrlParametros As Hashtable = Parametros(Decripta(Params)) + Try + Dim UrlParametros As Hashtable = Parametros(Decripta(Params)) + + Dim File As String = UrlParametros("FILE").ToString() + If Not String.IsNullOrEmpty(File) Then + ImprimirbytesPDF(context, DescargarFactura(File), File) + End If + Catch ex As Exception + GuardaLogAD("Ocurrió un error al descargar el pdf. " + ex.ToString() + ".parametros: " + Params, "LogE141") + End Try - Dim File As String = UrlParametros("FILE").ToString() - If Not String.IsNullOrEmpty(File) Then - ImprimirbytesPDF(context, DescargarFactura(File), File) - End If Else Dim Metodo = If(context.Request("Metodo") = Nothing, "", context.Request("Metodo").ToString()) From 4c41f28a3e64dc3a0a631c9f12d6e1d06dedc650 Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Thu, 16 Mar 2023 19:02:30 -0700 Subject: [PATCH 02/10] Correciones de carga de almacen, concepto 301 con NC en dolares --- Ventas/Ventas.aspx | 6 ++++-- Ventas/Ventas.aspx.vb | 48 ++++++++++++++++++++++++++++++++++--------- 2 files changed, 42 insertions(+), 12 deletions(-) diff --git a/Ventas/Ventas.aspx b/Ventas/Ventas.aspx index 124bdc6fa..34a3dbfcd 100644 --- a/Ventas/Ventas.aspx +++ b/Ventas/Ventas.aspx @@ -592,6 +592,7 @@ +
@@ -1719,7 +1720,6 @@ -