Providing Choices using an Automation Command
In addition to adding your own Automation Commands to the Ticket and/or Order Screen, you can also do some "special" things with Commands that are configured in a certain way.
For example, this Automation for "Gift" has a feature to display a list of Gift "reasons" ...
Setup / Configuration
The configuration starts with creating an Automation Command that has a special "QMX" prefix. This prefix means that this command will be treated in a special way - that is, it will prompt for a value when it is triggered. Only Automation Commands with the "QMX" prefix will be handled differently.
Note the Values list on this Automation Command has been populated. These Values will become the "choice buttons" in QMX when you click the Gift Order Command.
It is also good practice to map this Command specifically to QMX Client Terminals, so that it will be invisible to "regular" SamabPOS Terminals.
Note the Command is mapped to the Order Line, so it will appear in the Order Screen (the Order Tag Screen).
We will use 2 generic default Actions that are used in various Automation Flows in SambaPOS, so there is no need to create anything special in this case.
Finally, we create a Rule to handle the Automation Command ...
In this case, we can CLONE the default "Gift Rule" and change some of the values ...