From 7a7213771c8d8c90b536b177944d5f83d72cf6d3 Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Tue, 11 Mar 2025 22:04:48 -0700 Subject: [PATCH] --Cambios ultimo costo --- Ventas/ProductosServicios.aspx | 2 +- Ventas/ProductosServicios.aspx.vb | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Ventas/ProductosServicios.aspx b/Ventas/ProductosServicios.aspx index 89d7e4258..f9011af81 100644 --- a/Ventas/ProductosServicios.aspx +++ b/Ventas/ProductosServicios.aspx @@ -1210,7 +1210,7 @@
- +
diff --git a/Ventas/ProductosServicios.aspx.vb b/Ventas/ProductosServicios.aspx.vb index fb0440638..ffc42ca94 100644 --- a/Ventas/ProductosServicios.aspx.vb +++ b/Ventas/ProductosServicios.aspx.vb @@ -356,14 +356,13 @@ Partial Class ProductosyServicios End If - If UsuarioActual.TienePermisoProceso(402) Then + If UsuarioActual.Empresa.Funcionalidad(382) = "1" Then If CvePS > 0 Then - LnkEditarUltimoCostoMostrarModal.Visible = True + LnkEditarUltimoCostoMostrarModal.Visible = UsuarioActual.TienePermisoProceso(402) Else DivUltimoCosto.Visible = False + TxtUltimoCosto.Visible = True End If - TxtUltimoCosto.Visible = True - UpConta.Update() End If