Hello
Trying to put and if statement on a place order.
So, if the order contains a sales item they need to tick checkbox first but if a points sales then they can place the order.
If(
And(Value(SSale.Text) > 0 && SalaryCheckBox.Value) = true, [submit code],
Notify(
"You must check the staff sales checkbox before placing order",
NotificationType.Error
The problem I'm having is when its a points sale only(PSale), It still asks for the checkbox to be clicked.