Oc ajustes mensaje oc con almacen
This commit is contained in:
@@ -930,17 +930,13 @@ Partial Class OC_OC
|
||||
|
||||
Private Sub ValidaCancelacionConAlamcen()
|
||||
|
||||
' BtnCancelarPrevio.Visible = True
|
||||
' BtnCancelarPrevio.Enabled = True
|
||||
|
||||
If BtnCancelarPrevio.Visible AndAlso BtnCancelarPrevio.Enabled And GVInv.Rows.Count > 0 Then
|
||||
|
||||
|
||||
'BtnCancelarPrevio.Attributes.Remove("onclick")
|
||||
BtnCancelarPrevio.Attributes.Add("Data-toggle", "tooltip")
|
||||
BtnCancelarPrevio.Attributes.Add("Title", "La orden de compra no se puede cancelar porque tiene movimientos de almacén.")
|
||||
BtnCancelarPrevio.OnClientClick = "return false;"
|
||||
'BtnCancelarPrevio.Attributes.Add("onclick", "$('#DivCancelarCompra').modal('hide')")
|
||||
|
||||
End If
|
||||
|
||||
|
||||
Reference in New Issue
Block a user