Fix Logos Empresas RDLCs

This commit is contained in:
MLopez
2022-12-22 16:11:06 -07:00
parent 67b56392a0
commit b2a6ad203d
56 changed files with 137 additions and 106 deletions

View File

@@ -267,7 +267,12 @@ Partial Class Contabilidad_RepBalanzaComprobacion
' 'parametros a enviar al reporte
' Dim params As New List(Of ReportParameter)
' params.Add(New ReportParameter("pEmp", UsuarioActual.Empresa.Empresa))
' params.Add(New ReportParameter("pImg", New Uri(Server.MapPath(String.Format("~/Empresas/{0}/Logo.png", UsuarioActual.CveEmpresa))).AbsoluteUri))
' Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta))
' If Imagen.Exists Then
' params.Add(New ReportParameter("pImg", $"file://{Imagen.FullName}"))
' Else
' params.Add(New ReportParameter("pImg", ""))
' End If
' params.Add(New ReportParameter("pFechaFin", FechaFin.ToString("dd/MM/yyyy")))
' params.Add(New ReportParameter("pFechaIni", FechaInicio.ToString("dd/MM/yyyy")))