Ventas contratos Egresos
This commit is contained in:
@@ -93,33 +93,40 @@ Partial Class Compras_ReembolsosComprobaciones
|
||||
|
||||
Dim ObjPersonal As New ClsRH
|
||||
ObjPersonal.GetPersonal(-1, UsuarioActual.CveEmpresa)
|
||||
DdlPersonal.DataSource = ObjPersonal.DtResultados.FiltraParametros("CveEstatusPersonal = 1")
|
||||
ObjPersonal.Dispose()
|
||||
DdlPersonal.DataBind()
|
||||
|
||||
CargaTipoTransaccion()
|
||||
|
||||
If UsuarioActual.Empresa.Funcionalidad(506) = "1" Then
|
||||
CbPermitirExcedente.Visible = True
|
||||
If UsuarioActual.CveEmpresa.Contiene(119, 158) Then
|
||||
DdlPersonal.DataSource = ObjPersonal.DtResultados
|
||||
Else
|
||||
CbPermitirExcedente.Visible = False
|
||||
DdlPersonal.DataSource = ObjPersonal.DtResultados.FiltraParametros("CveEstatusPersonal = 1")
|
||||
End If
|
||||
|
||||
If UsuarioActual.CveEmpresa.Contiene(1, 4, 7, 11, 12, 72, 80, 119) Then
|
||||
rowComisiones.Visible = True
|
||||
|
||||
ObjPersonal.Dispose()
|
||||
DdlPersonal.DataBind()
|
||||
|
||||
CargaTipoTransaccion()
|
||||
|
||||
If UsuarioActual.Empresa.Funcionalidad(506) = "1" Then
|
||||
CbPermitirExcedente.Visible = True
|
||||
Else
|
||||
CbPermitirExcedente.Visible = False
|
||||
End If
|
||||
|
||||
If UsuarioActual.CveEmpresa.Contiene(1, 4, 7, 11, 12, 72, 80, 119) Then
|
||||
rowComisiones.Visible = True
|
||||
End If
|
||||
|
||||
If UsuarioActual.CveEmpresa = 119 Then
|
||||
ChkReembolsarSinBancos.Visible = True
|
||||
End If
|
||||
|
||||
TxtFechaPrePoliza.Text = Date.Now.ToShortDateString
|
||||
|
||||
'CargaCuentasDiferencia()
|
||||
|
||||
'TableDiferencia.Visible = False
|
||||
End If
|
||||
|
||||
If UsuarioActual.CveEmpresa = 119 Then
|
||||
ChkReembolsarSinBancos.Visible = True
|
||||
End If
|
||||
|
||||
TxtFechaPrePoliza.Text = Date.Now.ToShortDateString
|
||||
|
||||
'CargaCuentasDiferencia()
|
||||
|
||||
'TableDiferencia.Visible = False
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
#Region " FILTROS "
|
||||
|
||||
Reference in New Issue
Block a user