cssat / sprout-issues

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

Can not reenable a provider contract, from Sprout UI, if the contract was previously removed #219

Closed tinhart closed 11 months ago

tinhart commented 11 months ago

Describe the bug Routing organizations (typically VC orgs) must have "contracts" with provider organizations in order for those providers to be included in the VC's drop down list of options for assigning referrals. The Sprout UI allows a Super Administrator to CREATE and REMOVE these contracts. However, if a contract is created, and then it is removed, it can not be recreated.

To Reproduce Steps to reproduce the behavior:

  1. Log in as a Super Admin in to UAT
  2. Click on the All Organizations option in the MENU list
  3. Scroll through the list until you see a visit coordinator organization. VCR3 - DCYF for example
  4. Then select the MORE DETAILS button to the right of VCR3 - DCYF
  5. Find a provider that does not have a contract and click on the CREATE CONTRACT button next to the provider's name
  6. Then click on the "REMOVE CONTRACT" next to that same provider's name
  7. Then click "CREATE CONTRACT" again and Sprout will generate an error message at the top of the screen instructing you to contact your administrator