-- liga a inventario previo

This commit is contained in:
2021-12-06 16:56:29 -07:00
parent f24f2c2fdc
commit 293e86ae87
2 changed files with 12 additions and 3 deletions

View File

@@ -170,18 +170,22 @@
<div class="portlet-body">
<table>
<tr>
<td class="col-md-5">
<td class="col-md-4">
<label><b>Título: </b></label>
<asp:Label ID="lbTitulo" runat="server"></asp:Label>
</td>
<td class="col-md-5">
<td class="col-md-4">
<label><b>SubProyecto: </b></label>
<asp:Label ID="lbSubProyecto" runat="server"></asp:Label>
</td>
<td class="col-md-5">
<td class="col-md-4">
<label><b>Estatus: </b></label>
<asp:Label ID="lbEstatus" runat="server"></asp:Label>
</td>
<td class="col-md-1" runat="server" id="colprevio" visible="false">
<label><b>Previo: </b></label>
<asp:HyperLink ID="HplPrevio" runat="server"></asp:HyperLink>
</td>
</tr>
<tr>

View File

@@ -125,6 +125,11 @@ Partial Class Inventarios_RepAnomalias
CveSubProyecto = Inventario.CveSubProyectoInventario
aplicacion = Inventario.ConAplicacion
CveInventarioFisicoPadre = Inventario.CveInventarioFisicoPadre
If CveInventarioFisicoPadre > 0 Then
colprevio.Visible = True
HplPrevio.NavigateUrl = String.Format("/Inventarios/RepAnomalias.aspx?CveInventarioFisico={0}", CveInventarioFisicoPadre)
HplPrevio.Text = "Ir"
End If
If Inventario.Estatus = "Finalizado" Then
btnFin.Visible = False