From d79a8b5c68847bb8d4c0ed0c6228ca84bbbb07cd Mon Sep 17 00:00:00 2001 From: Andrew Hunt Date: Tue, 11 Jun 2013 18:37:06 -0400 Subject: [PATCH] added more filters --- CRM/Report/Form/Event/ParticipantListing.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CRM/Report/Form/Event/ParticipantListing.php b/CRM/Report/Form/Event/ParticipantListing.php index aac7fa87f5..fd213f3bbd 100644 --- a/CRM/Report/Form/Event/ParticipantListing.php +++ b/CRM/Report/Form/Event/ParticipantListing.php @@ -268,6 +268,25 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event { 'title' => 'Payment Date', 'operatorType' => CRM_Report_Form::OP_DATE, ), + 'financial_type_id' => array('title' => ts('Financial Type'), + 'operatorType' => CRM_Report_Form::OP_MULTISELECT, + 'options' => CRM_Contribute_PseudoConstant::financialType(), + ), + 'currency' => array('title' => 'Currency', + 'operatorType' => CRM_Report_Form::OP_MULTISELECT, + 'options' => CRM_Core_OptionGroup::values('currencies_enabled'), + 'default' => NULL, + 'type' => CRM_Utils_Type::T_STRING, + ), + 'payment_instrument_id' => array('title' => ts('Payment Type'), + 'operatorType' => CRM_Report_Form::OP_MULTISELECT, + 'options' => CRM_Contribute_PseudoConstant::paymentInstrument(), + ), + 'contribution_status_id' => array('title' => ts('Contribution Status'), + 'operatorType' => CRM_Report_Form::OP_MULTISELECT, + 'options' => CRM_Contribute_PseudoConstant::contributionStatus(), + 'default' => array(1), + ), ), ), ); -- 2.25.1