CRM-16189, fixed batch name display for Contribution and Membership report
authorPradeep Nayak <pradpnayak@gmail.com>
Thu, 14 Jul 2016 13:06:25 +0000 (18:36 +0530)
committerPradeep Nayak <pradpnayak@gmail.com>
Thu, 14 Jul 2016 13:06:25 +0000 (18:36 +0530)
----------------------------------------
* CRM-16189: Improve support for Accrual Method bookkeeping
  https://issues.civicrm.org/jira/browse/CRM-16189

CRM/Report/Form/Contribute/Detail.php
CRM/Report/Form/Member/ContributionDetail.php

index a5f00c288a853aa4a08e205400ccaae16ddf88c7..99270511a3a99f90287b877a4b20fd0ba6e5b0fb 100644 (file)
@@ -275,7 +275,7 @@ class CRM_Report_Form_Contribute_Detail extends CRM_Report_Form {
         'grouping' => 'contri-fields',
         'fields' => array(
           'batch_id' => array(
-            'name' => 'id',
+            'name' => 'batch_id',
             'title' => ts('Batch Name'),
           ),
         ),
index b404a55399fbd6f437497eb626c68b486d079f63..6a6639d4ad66fdbb554a676e02bc7aabcb38a348 100644 (file)
@@ -235,7 +235,7 @@ class CRM_Report_Form_Member_ContributionDetail extends CRM_Report_Form {
         'grouping' => 'contri-fields',
         'fields' => array(
           'batch_id' => array(
-            'name' => 'id',
+            'name' => 'batch_id',
             'title' => ts('Batch Name'),
           ),
         ),