Simplificar/limpiar código logos reportes RDLC
This commit is contained in:
@@ -137,15 +137,7 @@ public partial class Ventas_RepNCxAplicar : ClsPaginas
|
||||
//@params.Add(new ReportParameter("FechaInicio", txtFechaI.Text));
|
||||
//@params.Add(new ReportParameter("FechaFin", txtFechaF.Text));
|
||||
|
||||
if (Imagen.Exists)
|
||||
{
|
||||
@params.Add(new ReportParameter("LogoPath", $"file://{Imagen.FullName}"));
|
||||
}
|
||||
else
|
||||
{
|
||||
@params.Add(new ReportParameter("LogoPath", ""));
|
||||
}
|
||||
|
||||
@params.Add(new ReportParameter("LogoPath", Imagen.Exists ? $"file://{Imagen.FullName}" : ""));
|
||||
this.ImprimirPDF("Empresas/Grales/Formatos/RepNCxAplicar.rdlc", DTDatos, @params, "Reporte de Notas de Credito por Aplicar", Formato);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user