Skip to content

Add a message when destroying Service Providers with associated In Person Enrollments#9065

Merged
Jeremy1026 merged 2 commits intomainfrom
jcurcio/lg-10679-add-to-IPE-removal-message
Aug 23, 2023
Merged

Add a message when destroying Service Providers with associated In Person Enrollments#9065
Jeremy1026 merged 2 commits intomainfrom
jcurcio/lg-10679-add-to-IPE-removal-message

Conversation

@Jeremy1026
Copy link
Contributor

🎫 Ticket

LG-10679

🛠 Summary of changes

Adds a message telling the user to manually remove the record when there is an associated In Person Enrollment.

Jeremy1026 and others added 2 commits August 23, 2023 12:27
changelog: Internal, Cleanup, Add a message when attempting to destroy records with an In Person Enrollment associated with it
Co-authored-by: Michael <107054114+mmagsa@users.noreply.github.com>
@Jeremy1026 Jeremy1026 force-pushed the jcurcio/lg-10679-add-to-IPE-removal-message branch from 2e2a582 to d9e9f2e Compare August 23, 2023 16:27
stdout.puts "This provider has #{in_person_enrollments.size} in person enrollments " \
"that will be destroyed"
"that will be destroyed - Please handle these removals manually. " \
"For more details check https://cm-jira.usa.gov/browse/LG-10679"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this is the case, should we be deactivating/soft deleting these SPs instead of destroying them?

@Jeremy1026 Jeremy1026 merged commit b55d07d into main Aug 23, 2023
@Jeremy1026 Jeremy1026 deleted the jcurcio/lg-10679-add-to-IPE-removal-message branch August 23, 2023 16:56
@Jeremy1026 Jeremy1026 restored the jcurcio/lg-10679-add-to-IPE-removal-message branch August 25, 2023 13:34
@Jeremy1026 Jeremy1026 deleted the jcurcio/lg-10679-add-to-IPE-removal-message branch August 25, 2023 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants