Logotipos correciones
This commit is contained in:
@@ -174,7 +174,7 @@ Partial Class Compras_RepComplementoPago
|
||||
Private Sub GeneraImpresion(Optional Formato As String = "PDF")
|
||||
|
||||
Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta))
|
||||
Dim logouri = String.Format("{0}://{1}:{2}/Empresas/{3}/Logo.png", Request.Url.Scheme, Request.Url.Host, Request.Url.Port, UsuarioActual.CveEmpresa)
|
||||
|
||||
|
||||
Dim proveedor As String = If(DdlProveedores.SelectedValue = "", "", $" <b>Proveedor:</b> {DdlProveedores.SelectedText}")
|
||||
Dim FI As String = If(TxtFiltrosFechaInicio.Text = "", "", $" <b>Fecha Inicio:</b> {TxtFiltrosFechaInicio.Text}")
|
||||
@@ -193,7 +193,7 @@ Partial Class Compras_RepComplementoPago
|
||||
params.Add(New ReportParameter("AgrupadoPor", $"{proveedor}{FI}{FF}{vinc}{TP}{subProy}{usuario}"))
|
||||
|
||||
If Imagen.Exists Then
|
||||
params.Add(New ReportParameter("LogoPath", logouri))
|
||||
params.Add(New ReportParameter("LogoPath", $"file://{Imagen.FullName}"))
|
||||
Else
|
||||
params.Add(New ReportParameter("LogoPath", ""))
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user