-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
Cleanup on contribution view #22698
Cleanup on contribution view #22698
Conversation
(Standard links)
|
3eec9f6
to
fb9908f
Compare
1955f39
to
6b3ff76
Compare
- removes an unused variable. - fixes to not show 'record Refund' for pending contributions (is displayed on the expand payments section of a contribution
- removes an unused variable. - fixes to not show 'record Refund' for pending contributions (is displayed on the expand payments section of a contribution
Note this updates the code such that the buttons are consistent on this form with the payment info block
6b3ff76
to
9fa586c
Compare
Tested and seems to be working. I agree there are probably refinements and we probably don't need the "payment" buttons twice on the same form - but we can refine in future / smaller PRs. |
This PR caused several regressions, documented here: https://lab.civicrm.org/dev/core/-/issues/3168 I think someone testing on Drupal with clean urls wouldn't notice that the urls are getting processed twice, but on other systems it causes the buttons & links to break. |
Overview
This combines #22684 and #22588 and adds a couple of other consistency changes
Before
Pending
Completed
After
Pending
Completed
Technical Details
I feel like the is_template stuff should be a separate form class (which possibly extends or shares a parent with the contribution view for the bits of functionality that are shared) - but it's really the tpl which is going to be really hard to maintain if we don't separate them. That tpl separation can be done even if the template form is overloaded onto the same class
Comments