-- visualización de la OS

This commit is contained in:
2024-01-25 14:25:13 -07:00
parent b2f1c8d17f
commit eaf59534d1
2 changed files with 14 additions and 0 deletions

View File

@@ -421,6 +421,14 @@
<asp:Label Text="" ID="LblFolioOrdenCorte" runat="server" />
</div>
</div>
<div class="row" runat="server" id="divOS" visible="false" style="margin-top: 5px;">
<label class="col-md-4 truncate">
OS:
</label>
<div class="col-md-8">
<asp:HyperLink ID="HplOS" CssClass="Texto" runat="server" Target="_blank"></asp:HyperLink>
</div>
</div>
</div>
</div>

View File

@@ -840,6 +840,12 @@ Partial Class Inventarios_EntradasSalidas
LblFolioOrdenCorte.Text = DtMov.Rows(0)("FolioOrdendeCorte").ToString
End If
If DtMov.Rows(0)("CveOS").ToString.ToEntero() > 0 Then
divOS.Visible = True
HplOS.Text = DtMov.Rows(0)("OSFolio").ToString
HplOS.NavigateUrl = $"/OS/OrdenesServicios.aspx?CveOS={DtMov.Rows(0)("CveOS")}"
End If
If (DdlAlmacen.Items.FindByValue(Mov.CveAlmacen.ToString()) Is Nothing) Then
Dim dr As DataRow = GlobalDTAlmacen(UsuarioActual.CveEmpresa, CveEstatus:=-1).FiltroPrimero(String.Format("CveAlmacen = {0}", Mov.CveAlmacen))