From fdb63ad14f5c50e382552bcccfa88303f75abbf3 Mon Sep 17 00:00:00 2001 From: yashodha Date: Fri, 15 Mar 2013 17:19:23 +0530 Subject: [PATCH] CRM-9394 --- CRM/Report/Form/Member/Detail.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CRM/Report/Form/Member/Detail.php b/CRM/Report/Form/Member/Detail.php index 8522625dbf..ee95773258 100644 --- a/CRM/Report/Form/Member/Detail.php +++ b/CRM/Report/Form/Member/Detail.php @@ -205,6 +205,10 @@ class CRM_Report_Form_Member_Detail extends CRM_Report_Form { 'financial_type_id' => array('title' => ts('Financial Type')), 'contribution_status_id' => array('title' => ts('Contribution Status')), 'payment_instrument_id' => array('title' => ts('Payment Type')), + 'currency' => array( + 'required' => TRUE, + 'no_display' => TRUE, + ), 'trxn_id' => NULL, 'receive_date' => NULL, 'receipt_date' => NULL, @@ -231,6 +235,12 @@ class CRM_Report_Form_Member_Detail extends CRM_Report_Form { 'options' => CRM_Contribute_PseudoConstant::paymentInstrument(), 'type' => CRM_Utils_Type::T_INT, ), + 'currency' => + array('title' => 'Currency', + 'operatorType' => CRM_Report_Form::OP_MULTISELECT, + 'options' => CRM_Core_OptionGroup::values('currencies_enabled'), + 'type' => CRM_Utils_Type::T_STRING, + ), 'contribution_status_id' => array('title' => ts('Contribution Status'), 'operatorType' => CRM_Report_Form::OP_MULTISELECT, @@ -245,6 +255,8 @@ class CRM_Report_Form_Member_Detail extends CRM_Report_Form { ); $this->_groupFilter = TRUE; $this->_tagFilter = TRUE; + + $this->_currencyColumn = 'civicrm_contribution_currency'; parent::__construct(); } -- 2.25.1