From b3f2f5e915ec951d4bd63590c2416ecc2bd07352 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 18 Aug 2016 14:40:04 +1200 Subject: [PATCH] CRM-19241 Add communication filters to reports --- CRM/Report/Form.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index 5e278fdd08..40f91822c5 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -4539,6 +4539,26 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a 'type' => CRM_Utils_Type::T_BOOLEAN, 'default' => 0, ), + 'do_not_email' => array( + 'title' => ts('Do not email'), + 'type' => CRM_Utils_Type::T_BOOLEAN, + ), + 'do_not_phone' => array( + 'title' => ts('Do not phone'), + 'type' => CRM_Utils_Type::T_BOOLEAN, + ), + 'do_not_mail' => array( + 'title' => ts('Do not mail'), + 'type' => CRM_Utils_Type::T_BOOLEAN, + ), + 'do_not_sms' => array( + 'title' => ts('Do not SMS'), + 'type' => CRM_Utils_Type::T_BOOLEAN, + ), + 'is_opt_out' => array( + 'title' => ts('Do not bulk email'), + 'type' => CRM_Utils_Type::T_BOOLEAN, + ), ); } -- 2.25.1