You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Currently, there's no way to delete a Location of a facility from CARE.
To Reproduce
Steps to reproduce the behavior:
Go to the Location Management page
Expected behavior
Ability to delete a location
Tasks
Add a delete button to the location edit form
Support DELETE method for location detail API.
API should reject with the valid reason specified if some assets or beds are not deleted from a location.
If there are assets in the location, prompt the user to delete existing assets in that location and show a link to navigate to the page where assets are filtered by that location.
Similary for beds. Prompt the user and link to navigate to the bed management page of that location.
The text was updated successfully, but these errors were encountered:
Describe the bug
Currently, there's no way to delete a Location of a facility from CARE.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Ability to delete a location
Tasks
The text was updated successfully, but these errors were encountered: