--Hyperlink en reporte

This commit is contained in:
2025-05-14 18:54:49 -07:00
parent 10a00c992e
commit 13ee4e900f
2 changed files with 29 additions and 1 deletions

View File

@@ -210,6 +210,30 @@ public partial class Ventas_RepAnticipo_NC_IXCAplicados : ClsPaginas
}
}
if (e.Row.DBCampo("CveCliente").ToEntero() > 0)
{
if (e.Row.DBCampo("Tipo").ToEntero() == 0)
{
e.Row.CssClass = "SubTotales";
}
switch (e.Row.DBCampo("Tipo"))
{
case "0":
e.Row.FCHyperLink("HLFolio").NavigateUrl = string.Format("/Ventas/Clientes.aspx?CveCliente={0}", e.Row.DBCampo("CveCliente").ToEntero());
break;
case "1":
e.Row.FCHyperLink("HLFolio").NavigateUrl = string.Format("/Ventas/Ventas.aspx?CveVenta={0}", e.Row.DBCampo("Id").ToEntero());
break;
case "2":
e.Row.FCHyperLink("HLFolio").NavigateUrl = string.Format("/Ventas/Ventas.aspx?CveVenta={0}", e.Row.DBCampo("Id").ToEntero());
break;
case "3":
e.Row.FCHyperLink("HLFolio").NavigateUrl = string.Format("/Bancos/IE.aspx?CveIE={0}", e.Row.DBCampo("Id").ToEntero());
break;
}
}
}
}