Logotipos correciones
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Activities.Expressions;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
@@ -74,8 +75,7 @@ public partial class Bancos_RepComprobaciones : ClsPaginas
|
||||
{
|
||||
List<ReportParameter> @params = new List<ReportParameter>();
|
||||
|
||||
System.IO.FileInfo Imagen = new System.IO.FileInfo(string.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta));
|
||||
var logouri = string.Format("{0}://{1}:{2}/Empresas/{3}/Logo.png", Request.Url.Scheme, Request.Url.Host, Request.Url.Port, UsuarioActual.CveEmpresa);
|
||||
System.IO.FileInfo Imagen = new System.IO.FileInfo(string.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta));
|
||||
|
||||
@params.Add(new ReportParameter("NombreEmpresa", UsuarioActual.Empresa.Empresa));
|
||||
@params.Add(new ReportParameter("FechaInicio", TxtFechaInicio.Text));
|
||||
@@ -86,7 +86,7 @@ public partial class Bancos_RepComprobaciones : ClsPaginas
|
||||
|
||||
if (Imagen.Exists)
|
||||
{
|
||||
@params.Add(new ReportParameter("LogoPath", logouri));
|
||||
@params.Add(new ReportParameter("LogoPath", $"file://{Imagen.FullName}"));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user