--Cambios ultimo costo
This commit is contained in:
@@ -1210,7 +1210,7 @@
|
|||||||
<asp:Label ID="LblUltimoCosto" runat="server"></asp:Label>
|
<asp:Label ID="LblUltimoCosto" runat="server"></asp:Label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-5" runat="server" style="text-align: left">
|
<div class="col-md-5" runat="server" style="text-align: left">
|
||||||
<asp:TextBox ID="TxtUltimoCosto" CssClass="form-control " runat="server" Visible="false" Width="150px"></asp:TextBox>
|
<asp:TextBox ID="TxtUltimoCosto" CssClass="form-control " runat="server" Visible="false" Width="100px"></asp:TextBox>
|
||||||
<asp:LinkButton ID="LnkEditarUltimoCostoMostrarModal" runat="server" visible="false" CssClass="btn btn-circle btn-sm green" OnClick="LnkEditarUltimoCostoMostrarModal_Click" Text="<i class='fa fa-pencil'></i>" />
|
<asp:LinkButton ID="LnkEditarUltimoCostoMostrarModal" runat="server" visible="false" CssClass="btn btn-circle btn-sm green" OnClick="LnkEditarUltimoCostoMostrarModal_Click" Text="<i class='fa fa-pencil'></i>" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -356,14 +356,13 @@ Partial Class ProductosyServicios
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
If UsuarioActual.TienePermisoProceso(402) Then
|
If UsuarioActual.Empresa.Funcionalidad(382) = "1" Then
|
||||||
If CvePS > 0 Then
|
If CvePS > 0 Then
|
||||||
LnkEditarUltimoCostoMostrarModal.Visible = True
|
LnkEditarUltimoCostoMostrarModal.Visible = UsuarioActual.TienePermisoProceso(402)
|
||||||
Else
|
Else
|
||||||
DivUltimoCosto.Visible = False
|
DivUltimoCosto.Visible = False
|
||||||
|
TxtUltimoCosto.Visible = True
|
||||||
End If
|
End If
|
||||||
TxtUltimoCosto.Visible = True
|
|
||||||
|
|
||||||
UpConta.Update()
|
UpConta.Update()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user