So, I am working on creating a fast-food style invoicing system for my cleaning business. Right now, I am able to get an awesome set of buttons to display which represent items we charge for. Each time I click the button, a counter at the bottom goes up by 1 and there is a minus button to delete one if needed. And it is based of a product list entered into our database, so the number of these buttons can grow/expand as needed with our business.
The problem I am running into is generating the invoicing system off of this. Basically, I have the number displaying at the bottom of each button. But, I need to get the product and that number to display in another repeating group that I use to build my order then save it to my database with customer information.
Here is how the app currently looks:
The ultimate goal would be to get the items that do not have zeros to show up on the lines of the repeating group to the right. The items with 0 don’t show up at all. Then all the information gets added up and an order can be created in the order database.
The ultimate goal is to get a system which resembles and functions like the one below:
In the editor that I currently have set up is below. It doesn’t necessarily need to be set up this way, just what I started with before I realized I had no idea how to proceed.