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:
2024-07-01 19:20:41 -07:00
parent 370c128d61
commit 5e788afd3e
3 changed files with 47 additions and 5 deletions

View File

@@ -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