-- cambio temporal para usuario claudia bdh
This commit is contained in:
@@ -474,8 +474,10 @@ Partial Class Inventarios_RecepcionAlmacen
|
|||||||
|
|
||||||
CargaPermisos()
|
CargaPermisos()
|
||||||
If UsuarioActual.CveEmpresa.Contiene(72, 80) Then DdlAlmacen.AutoPostBack = True
|
If UsuarioActual.CveEmpresa.Contiene(72, 80) Then DdlAlmacen.AutoPostBack = True
|
||||||
|
Dim PermisoEspecialCambioFecha As Boolean = False
|
||||||
|
If UsuarioActual.CveUsuario = 1937 Then PermisoEspecialCambioFecha = True
|
||||||
|
|
||||||
If UsuarioActual.Empresa.Funcionalidad(281).ToEntero = 1 Then
|
If UsuarioActual.Empresa.Funcionalidad(281).ToEntero = 1 AndAlso Not PermisoEspecialCambioFecha Then
|
||||||
|
|
||||||
TxtFecha.Enabled = False
|
TxtFecha.Enabled = False
|
||||||
ImgFecha.Visible = False
|
ImgFecha.Visible = False
|
||||||
|
|||||||
@@ -226,15 +226,14 @@ Partial Class Inventarios_TraspasoAlmacen
|
|||||||
CantidadTotal = 0
|
CantidadTotal = 0
|
||||||
CvePS = 0
|
CvePS = 0
|
||||||
TipoSeccionAlmacen = 0
|
TipoSeccionAlmacen = 0
|
||||||
|
Dim PermisoEspecialCambioFecha As Boolean = False
|
||||||
|
If UsuarioActual.CveUsuario = 1937 Then PermisoEspecialCambioFecha = True
|
||||||
|
|
||||||
If UsuarioActual.Empresa.Funcionalidad(281).ToEntero = 1 Then
|
If UsuarioActual.Empresa.Funcionalidad(281).ToEntero = 1 And Not PermisoEspecialCambioFecha Then
|
||||||
|
|
||||||
TxtFecha.Enabled = False
|
TxtFecha.Enabled = False
|
||||||
ImgFecha.Visible = False
|
ImgFecha.Visible = False
|
||||||
|
|
||||||
TxtFechaRecepcion.Enabled = False
|
TxtFechaRecepcion.Enabled = False
|
||||||
ImgFechaRecepcion.Visible = False
|
ImgFechaRecepcion.Visible = False
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|||||||
Reference in New Issue
Block a user