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#534 Re-instate pay-now button #14051

Merged
merged 1 commit into from
Apr 15, 2019
Merged

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

This is regression - likely for a few months? Fix adds a unit test specifically for this button & does some additional tidy up

We should consider for 5.12

Before

Pay now btn missing

After

Pay now btn back

Technical Details

@kcristiano

Comments

This is regression - likely for a few months? Fix adds a unit test & does some additional tidy up

We should consider for 5.12
@civibot
Copy link

civibot bot commented Apr 15, 2019

(Standard links)

@civibot civibot bot added the 5.13 label Apr 15, 2019
// This is required for tpl logic. We should move away from hard-code this to adding an array of actions to the row
// which the tpl can iterate through - this should allow us to cope with competing attempts to add new buttons
// and allow extensions to assign new ones through the pageRun hook
$row[0]['contribution_status_name'] = CRM_Core_PseudoConstant::getName('CRM_Contribute_BAO_Contribution', 'contribution_status_id', $row['contribution_status_id']);;
if ('Pending' === CRM_Core_PseudoConstant::getName('CRM_Contribute_BAO_Contribution', 'contribution_status_id', $row['contribution_status_id'])) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Hope to see "Partially Paid" here soon. I know work is in progress for that. Thank you for that Eileen!

@kcristiano
Copy link
Member

@eileenmcnaughton Thanks for taking care of this.

Applied Patch to the RC, tested and it works.

I do think it should be in 5.12 as well.

@seamuslee001
Copy link
Contributor

Merging as per Kevin's testing

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.

4 participants