In what sense?
Do you mean on-screen? Not likely the App will do that since displaying Tickets and Orders is a function of the GUI in SambaPOS. The layout in the App would be handled by the App, and is completely different.
If you mean Grouping in Printing, then sure, the Prints will follow the Print Jobs and Printer Templates.
I cannot answer that. It is possible for sure. For example, GQLM POS has configuration options that allow you to specify which Automation Commands you want to be available.
###The Visibility “canExecute
” property of the Automation Command Buttons is controlled by and supplied by SambaPOS through GraphQL return properties, including the Header (button caption
) and button color
.
The GraphQL query:
{getAutomationCommandButtonsForTerminalTicket(terminalId,orderUids)
{name,caption,color,values,canExecute}
}
… that ^ returns a list of Commands which are available based on Visibility/Enabled States defined for the Automation Commands, and with that canExecute
property, we can determine whether or not to display the button. So for example, “Gift” and “Cancel Gift” do not both appear at the same time, nor do “Void” and “Cancel Void”.
The problem is, the AMC list can be huge, and there is no returned Property that indicates where the Button should be displayed (ie. Ticket, Order Line, etc). So that is why GQLM POS uses config vars to separate them onto different screens, and to reduce the AMC list.
Anyway, by using a list and displaying buttons, the Automation Commands can then be executed from the App with:
mutation m {executeAutomationCommandForTerminalTicket(terminalId, orderUid, commandName, commandValue)}