w-a-r-m-inventory-system/Food-Pantry-Inventory

Fix activity handling if more than one record for the same box is unfilled

Closed this issue · 0 comments

If there are more than one activity records for the same box that are not filled, the system barfs if attempting to move that box number.

Solution: force consume all boxes except one matching box (product, expiration date, etc.). If no matching box found, consume all of them and let move force add an appropriate box record.