From 4ec868dd2d74ee3e29a2e9fc03179948af127e83 Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Wed, 17 Apr 2024 16:01:59 -0700 Subject: [PATCH] --FIX reporte de ventas detalle --- Ventas/RepVentaDetalle.aspx.vb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ventas/RepVentaDetalle.aspx.vb b/Ventas/RepVentaDetalle.aspx.vb index 2fbaa3077..87debcbce 100644 --- a/Ventas/RepVentaDetalle.aspx.vb +++ b/Ventas/RepVentaDetalle.aspx.vb @@ -558,14 +558,14 @@ Partial Class RepVentaDetalle Dim Ruta As String = UsuarioActual.Empresa.Ruta If IO.File.Exists($"{Ruta}XML\{e.Row.DBCampo("TipoDocto")}\{e.Row.DBCampo("SerieFolio")}.xml") Then - e.Row.FCLiteral("LtlXML").Text = String.Format("
XML
", e.Row.DBCampo("TipoDocto"), e.Row.DBCampo("SerieFolio")) + e.Row.FCLiteral("LtlXML").Text = String.Format("
XML
", e.Row.DBCampo("TipoDocto"), e.Row.DBCampo("SerieFolio")) Else e.Row.FCLiteral("LtlXML").Text = "
" End If If UsuarioActual.Empresa.Funcionalidad(558) = "1" Then If e.Row.DBCampo("TipoDocto") <> "Cot" AndAlso IO.File.Exists($"{Ruta}PDF\{e.Row.DBCampo("TipoDocto")}\{e.Row.DBCampo("SerieFolio")}.pdf") Then - e.Row.FCLiteral("LtlPDF").Text = String.Format("
PDF
", e.Row.DBCampo("TipoDocto"), e.Row.DBCampo("SerieFolio")) + e.Row.FCLiteral("LtlPDF").Text = String.Format("
PDF
", e.Row.DBCampo("TipoDocto"), e.Row.DBCampo("SerieFolio")) Else e.Row.FCLiteral("LtlPDF").Text = "
" End If