--variable de actualziar mal colocada
This commit is contained in:
@@ -122,7 +122,7 @@ Partial Class Contabilidad_CatPeriodosBloqueo
|
||||
|
||||
RegistraScript(String.Format("$('#{0}').modal('hide');", "DivAgregarPeriodosBloqueo"), "jsHideModalPeriodosBloqueo")
|
||||
UpGral.Update()
|
||||
|
||||
Ejercicio = -1
|
||||
Alert("Bloqueo Agregado Correctamente", TipoMensaje.MsgInformacion)
|
||||
Else
|
||||
Alert("Ocurrió un error al guardar el Periodo de Bloqueo", TipoMensaje.MsgError)
|
||||
@@ -138,15 +138,14 @@ Partial Class Contabilidad_CatPeriodosBloqueo
|
||||
|
||||
UpGral.Update()
|
||||
Alert("Bloqueo Actualizado Correctamente", TipoMensaje.MsgInformacion)
|
||||
Ejercicio = -1
|
||||
Actualizar = False
|
||||
Else
|
||||
Dim mensajeAlerta As String = AplicarBloqueso.Replace(";", Environment.NewLine)
|
||||
Alert(String.Format("No se puede bloquear el periodo por: <br/>{0} ", mensajeAlerta), TipoMensaje.MsgError)
|
||||
End If
|
||||
End If
|
||||
|
||||
Ejercicio = -1
|
||||
Actualizar = False
|
||||
|
||||
ObjConta.Dispose()
|
||||
|
||||
End Sub
|
||||
|
||||
Reference in New Issue
Block a user