From 47b670bf35ede1b3b8cf6d4c66420e55aef15c9f Mon Sep 17 00:00:00 2001 From: rrene Date: Wed, 29 May 2024 23:44:28 -0700 Subject: [PATCH] --txtfecha bloqueado --- Ventas/Ventas.aspx | 6 +++--- Ventas/Ventas.aspx.vb | 14 +++----------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/Ventas/Ventas.aspx b/Ventas/Ventas.aspx index 6bbe69d97..00999f431 100644 --- a/Ventas/Ventas.aspx +++ b/Ventas/Ventas.aspx @@ -758,12 +758,12 @@ Fecha:
- + - + - + diff --git a/Ventas/Ventas.aspx.vb b/Ventas/Ventas.aspx.vb index 69e23e574..da7da1840 100644 --- a/Ventas/Ventas.aspx.vb +++ b/Ventas/Ventas.aspx.vb @@ -3227,12 +3227,11 @@ Partial Class Ventas ' End If 'End If - If UsuarioActual.Empresa.Funcionalidad(301).ToEntero() > 0 Then - TxtFecha.Enabled = False - ImgFecha.Visible = False + If UsuarioActual.Empresa.Funcionalidad(301) <> "" Then + TxtFecha.Enabled = True + ImgFecha.Visible = True End If - CargarCodigo() InicializaImprimirNew() @@ -3496,13 +3495,6 @@ Partial Class Ventas ImgFecha.Visible = False End If - 'condición temporal por implementación JAM. usuario FernandaRomo - If UsuarioActual.CveUsuario.Contiene(11703, 1719) Then - TxtFecha.Enabled = True - ImgFecha.Visible = True - End If - TxtFecha.Enabled = True - BloqueaCondicionesPago() BloqueaClasificaciones()