diff --git a/Ventas/RepIngresos.aspx.vb b/Ventas/RepIngresos.aspx.vb index 467609afe..e82b64b60 100644 --- a/Ventas/RepIngresos.aspx.vb +++ b/Ventas/RepIngresos.aspx.vb @@ -144,10 +144,10 @@ Partial Class Ventas_RepIngresos 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 FI As String = If(TxtFechaInicio.Text = "", "", $" Fecha Inicio: {TxtFechaInicio.Text}") - Dim FF As String = If(TxtFechaFin.Text = "", "", $" Fecha Fin: {TxtFechaFin.Text}") - Dim Tipo As String = If(DdlTipoDocto.SelectedValue = "-1", "", $" Tipo Docto.: {DdlTipoDocto.SelectedItem.Text}") - Dim subProy As String = If(DdlSubProyecto.SelectedValue = "-1", "", $" SubProyecto: {DdlSubProyecto.SelectedItem.Text}") + Dim FI As String = If(TxtFechaInicio.Text = "", "", $"Fecha Inicio: {TxtFechaInicio.Text} ") + Dim FF As String = If(TxtFechaFin.Text = "", "", $"Fecha Fin: {TxtFechaFin.Text} ") + Dim Tipo As String = If(DdlTipoDocto.SelectedValue = "", "", $"Tipo Docto: {DdlTipoDocto.GetSelectedText} ") + Dim subProy As String = If(DdlSubProyecto.SelectedValue = "", "", $"SubProyecto: {DdlSubProyecto.GetSelectedText} ") If DtDatos IsNot Nothing AndAlso DtDatos.Rows.Count > 0 Then @@ -156,7 +156,7 @@ Partial Class Ventas_RepIngresos params.Add(New ReportParameter("NombreEmpresa", UsuarioActual.Empresa.Empresa)) params.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Nombre)) params.Add(New ReportParameter("AgrupadoPor", $"{FI}{FF}{Tipo}{subProy}")) - + params.Add(New ReportParameter("FechaImpresion", DateAndTime.Now)) If Imagen.Exists Then params.Add(New ReportParameter("LogoPath", logouri)) Else