[Enhancement] Add a soft delete button to locations. #1377
Labels
Blocked
Issue relies on something else to be fixed
EUSM
Large 4-5 days
Location Management
Needs Scoping
Indicates that a ticket needs more scoping
Add a delete button to locations. If we can determine that a location is a parent or a leaf node, hide or show the delete button respectively. Attempt to delete locations when users click this button. Inform users if location cannot be deleted. Research on possibility of cascading deletes to deal with data integrity errors when attempting to delete a location that is a parent of other locations
Edit:
Changing this to be a soft delete, so we just need to change the status to inactive. A few considerations for this case:
The text was updated successfully, but these errors were encountered: