CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Custom Report: Contribution Thank-you sent
Pages: [1]

Author Topic: Custom Report: Contribution Thank-you sent  (Read 1259 times)

CKnowles

  • Guest
Custom Report: Contribution Thank-you sent
April 01, 2010, 05:31:02 am
Hoping someone can point me in the right direction with this one... I did a bit of searching and came across a few similar issues, but couldn't quite see a solution.

I am aware that you can "Search" contributions, and one of the criteria is "Thank-you sent."

I was just wondering if it would be possible to code this function into the reports so it can be displayed on the dashboard, or if there was another alternative?


Many thanks!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Custom Report: Contribution Thank-you sent
April 01, 2010, 09:58:29 am

writing a custom report is documented here:

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviReport+structure+and+customization

You can take an existing report and modify it to meet your needs. If you are not php/mysql savvy consider hiring someone from http://civicrm.org/professional/ please contribute back your changes

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

CKnowles

  • Guest
Re: Custom Report: Contribution Thank-you sent
April 07, 2010, 03:03:48 am
Thanks,
I ended up modifying the Detail.php form in the Contributions report by adding
Quote
'thankyou_date'         => array( 'default' => true ),
to the civicrm_contribution fields (line 128), and then
Code: [Select]
'thankyou_date'           =>
                                    array( 'operatorType' => CRM_Report_Form::OP_DATE,
  ),
to the filters. (line 137)

Then created a custom report from this to have the thank-you date set to null.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Custom Report: Contribution Thank-you sent

This forum was archived on 2017-11-26.