diff --git a/App_Code/ClsNominas.vb b/App_Code/ClsNominas.vb
index ab193393f..b4d3bd9eb 100644
--- a/App_Code/ClsNominas.vb
+++ b/App_Code/ClsNominas.vb
@@ -1509,7 +1509,7 @@ Public Class ClsNominas
EsRetencion As Boolean, CveClasificacion As Integer, CveTipoGasto As Integer, TipoCalculo As Boolean, CveConceptoContable As Integer,
AplicaFiniquito As Integer, AutomaticoGlobal As Integer, Especie As Integer, Imprimir As Integer, CveSATConcepto As Integer,
ctaImporteNegativoProv As Integer, contabiliza As Integer, CargoOAbono As Integer, cveConceptoContableB As Integer, CveCuentaB As Integer,
- CveConceptoContablePasivo As Integer, Optional AplicaEfectivale As Integer = 0, Optional EsFormula As Integer = -1) As Integer
+ CveConceptoContablePasivo As Integer, Optional AplicaEfectivale As Integer = 0, Optional EsFormula As Integer = -1, Optional AplicaArt174 As Integer = 0) As Integer
Dim Retorno As Integer = -1
DataAdapter("PA_Nom_ConceptosAdd")
@@ -1544,6 +1544,7 @@ Public Class ClsNominas
.Add("CveCuentaB", SqlDbType.Int).Value = CveCuentaB
.Add("CveConceptoContablePasivo", SqlDbType.Int).Value = CveConceptoContablePasivo
.Add("AplicaEfectivale", SqlDbType.Int).Value = AplicaEfectivale
+ .Add("AplicaArt174", SqlDbType.Int).Value = AplicaArt174
End With
@@ -1571,7 +1572,7 @@ Public Class ClsNominas
EsRetencion As Boolean, CveClasificacion As Integer, CveTipoGasto As Integer, TipoCalculo As Boolean, CveConceptoContable As Integer, CveCuenta As Integer, AplicaFiniquito As Integer,
AutomaticoGlobal As Integer, Especie As Integer, Imprimir As Integer, CveSATConcepto As Integer, CveEmpresa As Integer, CveUsuario As Integer,
ctaImporteNegativoProv As Integer, contabiliza As Integer, CargoOAbono As Integer, cveConceptoContableB As Integer, CveCuentaB As Integer,
- CveConceptoContablePasivo As Integer, Optional AplicaEfectivale As Integer = 0, Optional EsFormula As Integer = -1) As Boolean
+ CveConceptoContablePasivo As Integer, Optional AplicaEfectivale As Integer = 0, Optional EsFormula As Integer = -1, Optional AplicaArt174 As Integer = 0) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_Nom_ConceptosUpdate")
@@ -1606,6 +1607,7 @@ Public Class ClsNominas
.Add("CveCuentaB", SqlDbType.Int).Value = CveCuentaB
.Add("CveConceptoContablePasivo", SqlDbType.Int).Value = CveConceptoContablePasivo
.Add("AplicaEfectivale", SqlDbType.Int).Value = AplicaEfectivale
+ .Add("AplicaArt174", SqlDbType.Int).Value = AplicaArt174
End With
Try
diff --git a/Nomina/ConceptoNomina.aspx b/Nomina/ConceptoNomina.aspx
index 5ba8b412b..60b6dd945 100644
--- a/Nomina/ConceptoNomina.aspx
+++ b/Nomina/ConceptoNomina.aspx
@@ -441,6 +441,10 @@
diff --git a/RH/Personal.aspx.vb b/RH/Personal.aspx.vb
index bd787ed99..377aac657 100644
--- a/RH/Personal.aspx.vb
+++ b/RH/Personal.aspx.vb
@@ -1007,7 +1007,6 @@ Partial Class RH_Personal
CargaGvBitacora()
CarcaConceptosNomina()
CargaFonacot()
- CargaPersonalRefs()
End If
ValidaDeudorAcreedor()
@@ -8314,7 +8313,7 @@ Partial Class RH_Personal
End Sub
- Protected Sub CargaPersonalRefs()
+ Protected Sub CargaPersonalCamposValoresGet()
Dim ObjPers As New ClsNominas()
ObjPers.PersonalCamposValoresGet(-1, CvePersonal)
GVPersonalRefs.DataSource = ObjPers.DtResultados
@@ -8338,7 +8337,7 @@ Partial Class RH_Personal
Protected Sub LnkMostrarCamposValor_Click(sender As Object, e As EventArgs)
ltlPerstitulo.Text = "Campos valores"
LimpiaPersonalRefs()
-
+ CargaPersonalCamposValoresGet()
RegistraScript("$('#DModalPersonalRefs').modal()")
BtnPersADD.Visible = False
PanelMostrarpersonalcampos.Visible = True
@@ -8362,6 +8361,11 @@ Partial Class RH_Personal
Dim Continuar As Boolean = ObjPers.PersonalCamposValoresAddUp(cveReferencia, CvePersonal, valor)
ObjPers.Dispose()
If (Continuar) Then
+ BtnPersADD.Visible = False
+ PanelMostrarpersonalcampos.Visible = True
+ PanelADDpersonalcampos.Visible = False
+
+ CargaPersonalCamposValoresGet()
LimpiaPersonalRefs()
UPModalPers.Update()
Alert("El campo valor se ha agregado")
@@ -8374,7 +8378,7 @@ Partial Class RH_Personal
Dim Continuar As Boolean = ObjPers.PersonalCamposValoresRemove(CcveReferencia, CvePersonal)
ObjPers.Dispose()
If (Continuar) Then
- CargaPersonalRefs()
+ CargaPersonalCamposValoresGet()
Alert("El campo valor se ha eliminado")
End If
End Sub