Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -1283,10 +1283,10 @@ Partial Class Ventas_PVCobranza
|
||||
If ObjPVenta.UpdateFinalizadoVtaCortes(CveCorte, TxtEfectivoCajaBloqueo.Text.ToDouble, LblDiferenciaCajaBloqueo.Text.ToDouble, NowADS(), UsuarioActual.CveEmpresa) Then
|
||||
RegistraScript($"window.location.href = '/Compras/PopUpVerFactura.aspx?P={Encripta(String.Format("OP=CORT&CVECORTE={0}&FORMATO={1}", CveCorte, "PDF"))}'", "Imprimir")
|
||||
Dim Liga As String = "document.location.href=""/Ventas/PVCobranza.aspx"";"
|
||||
Alert("Se ha cerrado el turno correctamente.", TipoMensaje.MsgInformacion, Liga)
|
||||
Alert("Se ha cerrado el turno correctamente.", TipoMensaje.MsgInformacion, Liga, ShowCloseButton:=False)
|
||||
End If
|
||||
Else
|
||||
Alert("Debe especificar el efectivo en caja", TipoMensaje.MsgAdvertencia)
|
||||
Alert("Debe especificar el efectivo en caja", TipoMensaje.ToastAdventencia, timeout:=60)
|
||||
RegistraScript("window.onload = function MuestraPantallaBloqueo() { document.getElementById(""C_btnShowBloqueo"").click(); }")
|
||||
End If
|
||||
ObjPVenta.Dispose()
|
||||
@@ -1294,7 +1294,7 @@ Partial Class Ventas_PVCobranza
|
||||
Private Sub BtnIniciarTurno_Click(sender As Object, e As EventArgs) Handles BtnIniciarTurno.Click
|
||||
|
||||
If DdlSucursalCorte.SelectedValue.ToEntero() <= 0 Then
|
||||
Alert("Debe seleccionar una sucursal.", TipoMensaje.ToastAdventencia)
|
||||
Alert("Debe seleccionar una sucursal.", TipoMensaje.ToastAdventencia, timeout:=60)
|
||||
RegistraScript("window.onload = function MuestraCorteCaja() { document.getElementById(""C_btnShow"").click(); }")
|
||||
Exit Sub
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user