From 3c7e84bd361bd8c6ae5f91978580e20f578899bb Mon Sep 17 00:00:00 2001 From: rrene Date: Fri, 23 Apr 2021 07:36:59 -0700 Subject: [PATCH] redireccionamiento a contrato de obra --- Contratos/Contrato.aspx.vb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Contratos/Contrato.aspx.vb b/Contratos/Contrato.aspx.vb index 992646e1b..346bf361c 100644 --- a/Contratos/Contrato.aspx.vb +++ b/Contratos/Contrato.aspx.vb @@ -894,6 +894,10 @@ Partial Class Contratos_Default GRidsPresupuestos.Visible = True msjpresupuestos.Visible = False + If ObjContratos.CveContratoTipo = 30 Then + Server.Transfer(String.Format("/Contratos/ContratoObra.aspx?CveContrato={0}", CveContrato)) + End If + If ArchivoUpdate = ObjContratos.Archivo.ToString Then LinkArchivo.Visible = True LinkArchivo.HRef = String.Format("{0}{1}", Ruta, ObjContratos.Archivo.ToString)