Skip to content

Commit

Permalink
Merge pull request #17044 from yashodha/error
Browse files Browse the repository at this point in the history
add filter for receipt date in contribution reports
  • Loading branch information
eileenmcnaughton authored Apr 10, 2020
2 parents a68cbdf + f85b4a8 commit 1a34a9e
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Report/Form/Contribute/Bookkeeping.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ public function __construct() {
'type' => CRM_Utils_Type::T_INT,
],
'receive_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'receipt_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'contribution_source' => [
'title' => ts('Source'),
'name' => 'source',
Expand Down
1 change: 1 addition & 0 deletions CRM/Report/Form/Contribute/DeferredRevenue.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public function __construct() {
'operatorType' => CRM_Report_Form::OP_DATE,
'type' => CRM_Utils_Type::T_DATE,
],
'receipt_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'cancel_date' => [
'title' => ts('Cancel Date'),
'operatorType' => CRM_Report_Form::OP_DATE,
Expand Down
1 change: 1 addition & 0 deletions CRM/Report/Form/Contribute/History.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ public function __construct() {
'default' => '',
],
'receive_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'receipt_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'contribution_status_id' => [
'title' => ts('Contribution Status'),
'operatorType' => CRM_Report_Form::OP_MULTISELECT,
Expand Down
1 change: 1 addition & 0 deletions CRM/Report/Form/Contribute/HouseholdSummary.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public function __construct() {
],
'filters' => [
'receive_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'receipt_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'total_amount' => ['title' => ts('Amount Between')],
'currency' => [
'title' => ts('Currency'),
Expand Down
1 change: 1 addition & 0 deletions CRM/Report/Form/Contribute/OrganizationSummary.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ public function __construct() {
],
'filters' => [
'receive_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'receipt_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'total_amount' => ['title' => ts('Amount Between')],
'currency' => [
'title' => ts('Currency'),
Expand Down
1 change: 1 addition & 0 deletions CRM/Report/Form/Contribute/SoftCredit.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ public function __construct() {
'grouping' => 'softcredit-fields',
'filters' => [
'receive_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'receipt_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'currency' => [
'title' => ts('Currency'),
'operatorType' => CRM_Report_Form::OP_MULTISELECT,
Expand Down
1 change: 1 addition & 0 deletions CRM/Report/Form/Contribute/Summary.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ public function __construct() {
'grouping' => 'contri-fields',
'filters' => [
'receive_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'receipt_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'thankyou_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'contribution_status_id' => [
'title' => ts('Contribution Status'),
Expand Down
1 change: 1 addition & 0 deletions CRM/Report/Form/Contribute/TopDonor.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public function __construct() {
'default' => 'this.year',
'operatorType' => CRM_Report_Form::OP_DATE,
],
'receipt_date' => ['operatorType' => CRM_Report_Form::OP_DATE],
'currency' => [
'title' => ts('Currency'),
'operatorType' => CRM_Report_Form::OP_MULTISELECT,
Expand Down

0 comments on commit 1a34a9e

Please sign in to comment.