Ventas.aspx:
--En acciones para el rol de mostrador, Quitar de acciones --Billetito no debe de salir Promociones.aspx: --Si tiene clasificacion, excluya el ps, Si tiene ps. que excluya la clasificacion.
This commit is contained in:
@@ -377,9 +377,16 @@ Partial Class Ventas_Promociones
|
||||
|
||||
Protected Sub BtnAgregar_Click(sender As Object, e As EventArgs)
|
||||
|
||||
If UsuarioActual.Empresa.Funcionalidad(382) <> "1" Then
|
||||
If DdlClasificacion.SelectedValue.ToEntero <= 0 Then
|
||||
If DdlPS.SelectedValue.ToEntero <= 0 Then
|
||||
Alert("Debe seleccionar una clasificacion o un producto y/o servicio", TipoMensaje.MsgAdvertencia)
|
||||
Exit Sub
|
||||
End If
|
||||
End If
|
||||
|
||||
If DdlPS.SelectedValue.ToEntero <= 0 Then
|
||||
If DdlClasificacion.SelectedValue.ToEntero <= 0 Then
|
||||
Alert("Debe seleccionar una clasificacion", TipoMensaje.MsgAdvertencia)
|
||||
Alert("Debe seleccionar una clasificacion o un producto y/o servicio", TipoMensaje.MsgAdvertencia)
|
||||
Exit Sub
|
||||
End If
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user