From: yashodha Date: Tue, 2 Aug 2022 04:50:30 +0000 (+0530) Subject: add filter for 'Activity type of the last activity' for case detail report X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=363520762c0f5eed8913b20e7a9619fae2b05c3c;p=civicrm-core.git add filter for 'Activity type of the last activity' for case detail report --- diff --git a/CRM/Report/Form/Case/Detail.php b/CRM/Report/Form/Case/Detail.php index e2ec109676..06783c2b97 100644 --- a/CRM/Report/Form/Case/Detail.php +++ b/CRM/Report/Form/Case/Detail.php @@ -249,6 +249,12 @@ class CRM_Report_Form_Case_Detail extends CRM_Report_Form { ], ], 'filters' => [ + 'last_activity_activity_type' => [ + 'name' => 'activity_type_id', + 'title' => ts('Activity type of the last activity'), + 'operatorType' => CRM_Report_Form::OP_MULTISELECT, + 'options' => CRM_Core_PseudoConstant::activityType(TRUE, TRUE, FALSE, 'label', TRUE), + ], 'last_activity_date_time' => [ 'name' => 'activity_date_time', 'title' => ts('Last Action Date'),