For restaurants, additional information about an item can be set and sent to kitchen. This example shows how to set a button on sales screen to input item note.
Maintenance > Resources
In Ticket.Buttons add the below line:
<button key="button.receiptnote" name="button.receiptnote" code="Script.ItemNote"/>
Create a resource Script.ItemNote and add the below lines
String note = sales.readText("Enter Modifier:"); ticket.getLine(ticket.getLinesCount() - 1).setProperty("product.name", ticket.getLine(ticket.getLinesCount() - 1).getProductName() + " - " + note);
Save the resource and Restart software.
Leave a Reply