CRM-13405 - CiviReport - Add Phone Extension to Contact Summary and Detail Reports
authorJon goldberg - Linux laptop <jon@palantetech.coop>
Thu, 19 Sep 2013 17:43:08 +0000 (13:43 -0400)
committerJon goldberg - Linux laptop <jon@palantetech.coop>
Thu, 19 Sep 2013 17:43:08 +0000 (13:43 -0400)
----------------------------------------
* CRM-13405: Phone extensions not available to search preferences/contact reports
  http://issues.civicrm.org/jira/browse/CRM-13405

CRM/Report/Form/Contact/Detail.php
CRM/Report/Form/Contact/Summary.php

index 2e162199bb7f98a054dc8f893b223f0f11ea1208..d9ba8a91e306a0c7d2ac77a3efab8092f12e3a4d 100644 (file)
@@ -361,7 +361,13 @@ class CRM_Report_Form_Contact_Detail extends CRM_Report_Form {
       array(
         'dao' => 'CRM_Core_DAO_Phone',
         'fields' =>
-        array('phone' => NULL),
+        array(
+          'phone' => NULL,   
+          'phone_ext' =>
+          array(
+            'title' => ts('Phone Extension')
+          )
+        ),
         'grouping' => 'contact-fields',
       ),
     );
index 9e1330d0e38fa0df9f5c528a075eb651f787364a..83acddd707cedb0731a3931bd04488948c3d0c28 100644 (file)
@@ -172,7 +172,13 @@ class CRM_Report_Form_Contact_Summary extends CRM_Report_Form {
       array(
         'dao' => 'CRM_Core_DAO_Phone',
         'fields' =>
-        array('phone' => NULL),
+        array(
+          'phone' => NULL,   
+          'phone_ext' =>
+          array(
+            'title' => ts('Phone Extension')
+          )
+        ),
         'grouping' => 'contact-fields',
       ),
       'civicrm_group' =>