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