Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for deleting a location #6976

Closed
5 tasks
rithviknishad opened this issue Jan 4, 2024 · 0 comments · Fixed by ohcnetwork/care#1812 or #6996
Closed
5 tasks

Support for deleting a location #6976

rithviknishad opened this issue Jan 4, 2024 · 0 comments · Fixed by ohcnetwork/care#1812 or #6996
Assignees

Comments

@rithviknishad
Copy link
Member

rithviknishad commented Jan 4, 2024

Describe the bug
Currently, there's no way to delete a Location of a facility from CARE.

To Reproduce
Steps to reproduce the behavior:

  1. 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
2 participants