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#491) campaign cleanup for 'pledged but not paid' report and… #13358

Merged
merged 2 commits into from
Jan 2, 2019

Conversation

yashodha
Copy link
Contributor

… show disabled campaigns as well.

Overview

Centralize and cleanup code for campaigns in reports and show disabled campaigns as well

Before

pbnp_before

After

pbnp_after

Comments

Inactive campaigns can be seen in report filter and results as well.

@civibot
Copy link

civibot bot commented Dec 27, 2018

(Standard links)

@civibot civibot bot added the master label Dec 27, 2018
@yashodha
Copy link
Contributor Author

test this please

@@ -49,12 +49,6 @@ public function __construct() {

// Check if CiviCampaign is a) enabled and b) has active campaigns
$config = CRM_Core_Config::singleton();
Copy link
Contributor

Choose a reason for hiding this comment

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

@yashodha L50 and L51 can probably be deleted too i think and maybe L52 as well

@seamuslee001
Copy link
Contributor

Tested the report it works as expected and outputs correct information. Just a minor cleanup apart from that this is good to be merged

@yashodha
Copy link
Contributor Author

@seamuslee001 thanks for catching that! done with the changes.

@seamuslee001
Copy link
Contributor

Tested the report and it works fine merging

@seamuslee001 seamuslee001 merged commit 64bf965 into civicrm:master Jan 2, 2019
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