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
⚠️Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed. @rithviknishad kindly acknowledge this message by commenting 'Acknowledged' below.
Describe the bug
If a bed is occupied, it should not be allowed to be deleted.
To Reproduce
Steps to reproduce the behavior:
https://care.coronasafe.in/facility/eaab75f4-4f5c-4685-b769-bbfada64488e/patient/9cd0b475-4211-4773-a740-7ec26d916825/consultation/5160f61a-0b6e-4a83-866e-c538bba983de
https://care.coronasafe.in/facility/eaab75f4-4f5c-4685-b769-bbfada64488e/location/49d5e405-34da-4e4d-9f86-1c08848498ee/beds
Expected behavior
Delete should be disabled if bed is occupied.
Screenshots
![image](https://private-user-images.githubusercontent.com/25143503/240526659-dcaae832-64b0-42b2-ac06-aa46132678b1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3MTMwNTksIm5iZiI6MTcyMDcxMjc1OSwicGF0aCI6Ii8yNTE0MzUwMy8yNDA1MjY2NTktZGNhYWU4MzItNjRiMC00MmIyLWFjMDYtYWE0NjEzMjY3OGIxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzExVDE1NDU1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY4MzU4MDQ5YmY1MzhiMzkyOTcyN2MwOTU3M2FmZGQ0MTI5OGEyZTllMjNhYmFiMTY5OWQ2YjI3YjdiM2EwNTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.cAm5oWDwreDNIiTjfkzhajF5PxkRAxBvwLy_VvZL3CI)
The text was updated successfully, but these errors were encountered: