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

dev/core#2629 show only contribution statuses on contribution form #21624

Merged
merged 1 commit into from
Sep 27, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

dev/core#2629 show only contribution statuses on contribution form

Before

Whoa - that code is crazy-confusing

After

Makes a bit more sense

Technical Details

This arose from digging into
https://lab.civicrm.org/dev/core/-/issues/2629
but I think it's a tangent....

The function that looks to find out what contribution statuses to expose passes in the 'component' - but there is no reason the component should be relevant to the contribution status on the contribution edit screen. Note that I think this relates to when we used to overload the contribution_status_id option value for multiple entities

I'm not seeing this as changing anything other than code complexity

@monishdeb can you check this?

Comments

@civibot
Copy link

civibot bot commented Sep 26, 2021

(Standard links)

@civibot civibot bot added the master label Sep 26, 2021
This arose from digging into
https://lab.civicrm.org/dev/core/-/issues/2629
but I think it's a tangent....

However when editing contributions the available statuses
are not dependent on the component. Only the
contribution status is relevant
@monishdeb
Copy link
Member

Looks good. Works fine on my local setup. Merging now.

@monishdeb monishdeb merged commit 8591080 into civicrm:master Sep 27, 2021
@eileenmcnaughton eileenmcnaughton deleted the no_good branch September 27, 2021 10:48
@eileenmcnaughton
Copy link
Contributor Author

thanks @monishdeb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants