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

CRM-21346: Make pledge installment count & amount exportable #11194

Conversation

highfalutin
Copy link
Contributor

@highfalutin highfalutin commented Oct 24, 2017

Overview

Make two fields available for export: Pledge Number of Installments and Original Installment Amount.

Before

Search for pledges. Use the export action. Choose "select fields for export." These two fields are not available for selection.

After

Search for pledges. Use the export action. Choose "select fields for export." Select Pledge > Pledge Number of Installments and Pledge > Original Installment Amount. Click Export. Contents of those fields are included in the exported CSV.


@monishdeb
Copy link
Member

monishdeb commented Oct 25, 2017

I have tested the patch in the related test build CMS http://core-11194-77lr.test-ubu1204-5.civicrm.org and it works fine. Here's what I have done:

  1. Selected a pledge to export from 'Find Pledge' search list:
    screen shot 2017-10-25 at 5 47 52 pm

  2. Next exported in CSV with those two new fields:
    screen shot 2017-10-25 at 5 46 13 pm

  3. Downloads CSV file and got correct data: CiviCRM_Pledge_Search.csv

From code pov, change is straightforward - Gencode is used to generate DAO file to reflect the added export = true property and necessary changes in select clause to show those two fields. Hence merging this PR.

@monishdeb monishdeb merged commit cbbfe3c into civicrm:master Oct 25, 2017
@highfalutin highfalutin deleted the CRM-21346-export-pledge-installment-amount-and-count branch October 25, 2017 23:55
sluc23 pushed a commit to ixiam/civicrm-core that referenced this pull request Jan 10, 2018
…edge-installment-amount-and-count

CRM-21346: Make pledge installment count & amount exportable
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.

3 participants