Cumulate quantities of similar dishes in KC report and Route sheet #668
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #666.
Changes proposed in this pull request:
Status
How to verify this change
1- Click on Kitchen Count in the menu
2- Generate orders for the day
3- Continue to print the Kitchen count and write down the quantities of each side dish in the summary near the top
4- Continue to Display a Route sheet for a route and write down the quantities of each side dish for a specific client
5- Go back to the Kitchen count orders list
6- Click to edit the order of the client chosen in point 4 above
7- Click on Add an order item
8- Choose the component group for the new order item to be identical to that of another side dish in the order
9- Set quantity = 1 and price = 2
10- Set billable to Yes
11- Click to update order
12- Click on Kitchen Count in the menu
13- Continue to print the Kitchen count and verify that the quantity for the side dish chosen in point 8 has increased by 1
14- Continue to Display the Route sheet for the route chosen in point 4 and verify that for the client chosen in point 4 the quantity for the side dish chosen in point 8 has increased by 1