CRM-17474: Add fields to participant listing report
authorJKingsnorth <john@johnkingsnorth.co.uk>
Fri, 30 Oct 2015 14:58:31 +0000 (14:58 +0000)
committerJKingsnorth <john@johnkingsnorth.co.uk>
Fri, 30 Oct 2015 14:58:31 +0000 (14:58 +0000)
CRM/Report/Form/Event/ParticipantListing.php

index 4fa20ba57de5013326654399829a5ffef4accb28..a2ef1f75f1282afbe8b7ac1812aadad916b41d2d 100644 (file)
@@ -139,6 +139,11 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event {
           'contact_sub_type' => array(
             'title' => ts('Contact Subtype'),
           ),
+          'modified_date' => array(
+            'title' => ts('Modified Date'),
+            'operatorType' => CRM_Report_Form::OP_DATE,
+            'type' => CRM_Utils_Type::T_DATE
+          ),
         ),
       ),
       'civicrm_email' => array(
@@ -161,6 +166,8 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event {
         'dao' => 'CRM_Core_DAO_Address',
         'fields' => array(
           'street_address' => NULL,
+          'supplemental_address_1' => NULL,
+          'supplemental_address_2' => NULL,
           'city' => NULL,
           'postal_code' => NULL,
           'state_province_id' => array(
@@ -197,6 +204,9 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event {
             'required' => TRUE,
             'no_display' => TRUE,
           ),
+          'registered_by_id' => array(
+            'title' => ts('Registered by Participant ID'),
+          ),
           'participant_fee_level' => NULL,
           'participant_fee_amount' => array('title' => ts('Participant Fee')),
           'participant_register_date' => array('title' => ts('Registration Date')),
@@ -246,7 +256,11 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event {
             'default' => NULL,
             'type' => CRM_Utils_Type::T_STRING,
           ),
-
+          'registered_by_id' => array(
+            'title' => ts('Registered by Participant ID'),
+            'type' => CRM_Utils_Type::T_STRING,
+            'operator' => 'like',
+          ),
         ),
         'order_bys' => array(
           'participant_register_date' => array(