The key to this application is the fact that the the customer ownes a table.
In that way as soon as the customer orders food, then a bill is started by the system.
This turns the system of bill generation on its head, because...
1) The bill is created by the system as the cutomer places the order.
2) As soon as the customer finishes the meal, the bill can be viewed on his/her device in real time.
3) There is no waiting for a staff member to find out what was ordered and then generate the bill.
4) The bill is always correct - no errors.
5) One less trip to the table by the table staff.