Kardex correción numero de parte cuando se llega desde link, OC mostrar liga de impreison al actualizar oc
This commit is contained in:
@@ -3527,9 +3527,14 @@ Partial Class OC_OC
|
||||
'Alert(String.Format("La {0} se guardó correctamente", TipoLargo), TipoMensaje.MsgInformacion)
|
||||
|
||||
'Edicion
|
||||
Dim ImprimirOC As String = ""
|
||||
Dim Msg As New StringBuilder
|
||||
ImprimirOC = String.Format("<br/> <a Class=""Texto"" target='_blank' href=""/Compras/PopUpVerFactura.aspx?P={0}"">Imprimir Orden de Compra</a> ", Encripta(String.Format("OP=OC&CVEOC={0}", CveOrdenCompra)))
|
||||
|
||||
|
||||
Dim Liga1 As String = $"document.location.href=""/OC/OC.aspx?Tipo={TipoOC}"""
|
||||
Dim Liga2 As String = $"document.location.href=""/OC/RepOC.aspx"""
|
||||
Alert(String.Format("La {0} se guardó correctamente", TipoLargo), TipoMensaje.MsgDosBotones, Liga1, TextoConfirmacion:="Seguir Registrando", TextoSegundoBoton:="Ir al Reporte", JSBtn2:=Liga2)
|
||||
Alert(String.Format("La {0} se guardó correctamente. {1}", TipoLargo, ImprimirOC), TipoMensaje.MsgDosBotones, Liga1, TextoConfirmacion:="Seguir Registrando", TextoSegundoBoton:="Ir al Reporte", JSBtn2:=Liga2)
|
||||
|
||||
Else
|
||||
Dim ImprimirOC As String = ""
|
||||
@@ -3562,6 +3567,7 @@ Partial Class OC_OC
|
||||
If Conta IsNot Nothing Then Conta.RollBack()
|
||||
Alert(MsgError, TipoMensaje.MsgError)
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user