cssat / sprout-issues

An issue-only repository for the Sprout data collection platform
https://sproutservices.org
2 stars 1 forks source link

Providers should not be able to click the reject button a referral with reports #181

Closed subaykan closed 12 months ago

subaykan commented 2 years ago

If a referral has visit reports, providers should not be able to click 'reject' on the referral. This puts the referral into a 'stuck' rejected state and prevents the referral from being transitioned (or 'put back') into the VC's in a 'received' state. The provider will have to delete any reports attached to the referral. One possible fix for this would be to disable the reject button in that scenario.