Author Topic: Link participant report to participant record  (Read 716 times)

Offline kmarkley

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 14
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.0.67
  • PHP version: 5.3.5
Link participant report to participant record
« on: March 05, 2010, 12:59:19 pm »
It sure would be handy if names listed in the "Event Participant Report (List)" linked to the corresponding participant record.  This would make it much easier/quicker to record payments for pay-later participants (especially, for instance, for payments at the door), send a duplicate receipt, change role or status, etc.

I took a look at Report/Form/Event/ParticipantListing.php where the link to the event detail report is generated and determined quickly that I was out of my depth. 

Anybody willing to school me?  Or volunteer a patch?

Offline kmarkley

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 14
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.0.67
  • PHP version: 5.3.5
Re: Link participant report to participant record
« Reply #1 on: March 05, 2010, 08:38:02 pm »
Success! (mostly)

I could not get contact names in the Event Participant Report to link to participant records, but I did get the participant ID field to do so.  And while I was in there I linked names to their contact summary pages (a la Donor Reports).

(Boy, there is nothing so helpful as cribbing from other parts of the package!)

Is this useful enough to post as a patch?

Online Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 12643
  • Karma: 396
    • CiviCRM site
  • CiviCRM version: 4.1
  • CMS version: Drupal 7, Joomla 1.7
  • MySQL version: 5.1.x
  • PHP version: 5.3.x
Re: Link participant report to participant record
« Reply #2 on: March 06, 2010, 06:44:54 am »

yes, you should. We probably should link the name to the contact report and if the user has permissions, add a participant link to the participant record next to the name (or something like that). We'll add it for 3.2

lobo
Found this reply helpful? Contribute NOW and help improve CiviCRM with the Make it Happen! initiative.

My current favorite is CiviMobile.

Donate NOW

Offline kmarkley

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 14
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.0.67
  • PHP version: 5.3.5
Re: Link participant report to participant record
« Reply #3 on: March 06, 2010, 09:40:11 pm »
Patch posted:  http://issues.civicrm.org/jira/browse/CRM-5923

We probably should link the name to the contact report and if the user has permissions, add a participant link to the participant record next to the name

Not quite sure I follow you here.  All I did was link the Participant ID field to participant records and the Participant Name field to contact records.