From 441a579177bd094f89969949ad504ffbb008ac47 Mon Sep 17 00:00:00 2001 From: avall-llovera <48087290+avall-llovera@users.noreply.github.com> Date: Thu, 28 Feb 2019 11:03:16 +0100 Subject: [PATCH] dev/core#767 Add 'Cancelled / Refunded Date' and 'Cancellation / Refund Reason' Add the fields and filters 'Cancelled / Refunded Date' and 'Cancellation / Refund Reason' in the Detail Contributions Report --- CRM/Report/Form/Contribute/Detail.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CRM/Report/Form/Contribute/Detail.php b/CRM/Report/Form/Contribute/Detail.php index 10690896e7..d9cb97edcf 100644 --- a/CRM/Report/Form/Contribute/Detail.php +++ b/CRM/Report/Form/Contribute/Detail.php @@ -178,6 +178,12 @@ class CRM_Report_Form_Contribute_Detail extends CRM_Report_Form { 'title' => ts('Soft Credit For'), 'dbAlias' => "NULL", ), + 'cancel_date' => array( + 'title' => ts('Cancelled / Refunded Date'), + ), + 'cancel_reason' => array( + 'title' => ts('Cancellation / Refund Reason'), + ), ), 'filters' => array( 'contribution_or_soft' => array( @@ -233,6 +239,13 @@ class CRM_Report_Form_Contribute_Detail extends CRM_Report_Form { 'type' => CRM_Utils_Type::T_INT, ), 'total_amount' => array('title' => ts('Contribution Amount')), + 'cancel_date' => array( + 'title' => ts('Cancelled / Refunded Date'), + 'operatorType' => CRM_Report_Form::OP_DATE, + ), + 'cancel_reason' => array( + 'title' => ts('Cancellation / Refund Reason'), + ), ), 'order_bys' => array( 'financial_type_id' => array('title' => ts('Financial Type')), -- 2.25.1