E141. Correcion de descarga de pdf por QR
This commit is contained in:
@@ -2353,7 +2353,7 @@ Public Class E141 : Implements IHttpHandler
|
|||||||
#Region "D E S C A R G A - P D F"
|
#Region "D E S C A R G A - P D F"
|
||||||
|
|
||||||
Private Function DescargarFactura(FilePDF As String) As Byte()
|
Private Function DescargarFactura(FilePDF As String) As Byte()
|
||||||
Dim Url = New Uri(String.Format("{0}Compras/PopUpVerFactura.aspx?TipoDocto=Ing&File={1}&TipoArchivo=PDF", "http://localhost/", FilePDF))
|
Dim Url = New Uri(String.Format("{0}://{1}:{2}/Compras/PopUpVerFactura.aspx?TipoDocto=Ing&File={3}&TipoArchivo=PDF", HttpContext.Current.Request.Url.Scheme, HttpContext.Current.Request.Url.Host, HttpContext.Current.Request.Url.Port, FilePDF))
|
||||||
Dim File As Byte() = Nothing
|
Dim File As Byte() = Nothing
|
||||||
Try
|
Try
|
||||||
Using httpClient = New HttpClient()
|
Using httpClient = New HttpClient()
|
||||||
|
|||||||
Reference in New Issue
Block a user