core/issues#96 - Expose source column in booking report
authoryashodha <yashodha@cividesk.com>
Fri, 29 Jun 2018 09:38:47 +0000 (15:08 +0530)
committeryashodha <yashodha@cividesk.com>
Fri, 29 Jun 2018 09:38:47 +0000 (15:08 +0530)
CRM/Report/Form/Contribute/Bookkeeping.php

index 088e2d730e85975ef1e7305e83e25915982953e4..8e4c25d1e3ddc6af814d04007b890892837b074b 100644 (file)
@@ -301,6 +301,10 @@ class CRM_Report_Form_Contribute_Bookkeeping extends CRM_Report_Form {
             'title' => ts('Contribution Status'),
             'default' => TRUE,
           ),
+          'contribution_source' => array(
+            'title' => ts('Source'),
+            'name' => 'source',
+          ),
           'id' => array(
             'title' => ts('Contribution ID'),
             'default' => TRUE,
@@ -314,6 +318,11 @@ class CRM_Report_Form_Contribute_Bookkeeping extends CRM_Report_Form {
             'type' => CRM_Utils_Type::T_INT,
           ),
           'receive_date' => array('operatorType' => CRM_Report_Form::OP_DATE),
+          'contribution_source' => array(
+            'title' => ts('Source'),
+            'name' => 'source',
+            'type' => CRM_Utils_Type::T_STRING,
+          ),
           'contribution_status_id' => array(
             'title' => ts('Contribution Status'),
             'operatorType' => CRM_Report_Form::OP_MULTISELECT,