Simplificar/limpiar código logos reportes RDLC
This commit is contained in:
@@ -202,11 +202,7 @@ Partial Class Bancos_RepCobradoPagado
|
||||
params.Add(New ReportParameter("FUltimaSemana", FUltimaSemana))
|
||||
params.Add(New ReportParameter("FUltimoMes", FUltimoMes))
|
||||
params.Add(New ReportParameter("FPenultimoMes", FPenultimoMes))
|
||||
If Imagen.Exists Then
|
||||
params.Add(New ReportParameter("LogoPath", $"file://{Imagen.FullName}"))
|
||||
Else
|
||||
params.Add(New ReportParameter("LogoPath", ""))
|
||||
End If
|
||||
params.Add(New ReportParameter("LogoPath", If(Imagen.Exists, $"file://{Imagen.FullName}", "")))
|
||||
ImprimirPDF("Empresas/Grales/Formatos/RepCobradoPagado.rdlc", DtDatos, params, "ReporteCobrado-Pagado")
|
||||
Else
|
||||
Alert("No hay datos consultados", TipoMensaje.MsgAdvertencia)
|
||||
|
||||
Reference in New Issue
Block a user