This commit is contained in:
JORGE LUIS CAUDILLO ESPARZA
2020-08-27 15:24:17 -07:00
parent 7c9c2238c8
commit a8e7c6e8a4
3 changed files with 15 additions and 7 deletions

View File

@@ -774,7 +774,13 @@ Partial Class RH_Personal
End Function
Const wdPageBreak As Integer = 7
Const wdCharacter As Integer = 1
Const wdCharacter As Integer = 1
Public ReadOnly Property showsalarios As Boolean
Get
Return Not UsuarioActual.Empresa.Funcionalidad(701) = "1"
End Get
End Property
'Configuración
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
@@ -782,7 +788,7 @@ Partial Class RH_Personal
pnlSalarioIMSS.Visible = False
End If
'
PnlSalarios.Visible = UsuarioActual.Empresa.Funcionalidad(701) = "1"
PnlSalarios.Visible = showsalarios
ViewState("Orden") = ""
ViewState("Orden1") = ""