Bug #72
When item is deleted, the purchases associated with that item show nothing.
| Status: | New | Start: | 10/27/2009 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - | |||
| Resolution: |
Description
If an item is deleted from the inventory, it shouldn't be the case that the purchase record is disturbed. Maybe we could store the description of each item, as well as its ID in the purchase_items table, that way if it is deleted, the description of what was purchased will still remain.
Another option would be to have an "active" column or something under the inventory table. This way when an item is deleted, we just set active=0.