Toast mesaje segundos validacion SAT
This commit is contained in:
@@ -1662,9 +1662,11 @@ Partial Class Compras_Compras
|
|||||||
|
|
||||||
SWatch.Stop()
|
SWatch.Stop()
|
||||||
|
|
||||||
|
Dim SegundosRespuesta As Double = SWatch.ElapsedMilliseconds / 1000
|
||||||
|
SegundosRespuesta = SegundosRespuesta.ToEntero
|
||||||
|
|
||||||
If SWatch.ElapsedMilliseconds >= 5000 Then
|
If SWatch.ElapsedMilliseconds >= 5000 Then
|
||||||
Alert("Los servicios de validacion del SAT presentan lentitud en la respuesta.", TipoMensaje.MsgAdvertencia)
|
Alert($"Los servicios de validacion del SAT presentan lentitud en la respuesta [{ SegundosRespuesta } s].", TipoMensaje.ToastError, "", 0)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If UsuarioActual.CveEmpresa < 2 Then
|
If UsuarioActual.CveEmpresa < 2 Then
|
||||||
|
|||||||
Reference in New Issue
Block a user