CRM-14589 - Next Payment Due broken on pledged but not paid report
authorEileen <eileen@fuzion.co.nz>
Wed, 30 Apr 2014 23:29:58 +0000 (19:29 -0400)
committerEileen McNaughton <eileen@fuzion.co.nz>
Wed, 30 Apr 2014 23:40:26 +0000 (16:40 -0700)
CRM/Report/Form/Pledge/Pbnp.php

index b130a0f8aafe05e386f4e5df72b0714227e83cdc..d79094c5d616172eccbf623192bd675f6fbdf037 100644 (file)
@@ -127,8 +127,8 @@ class CRM_Report_Form_Pledge_Pbnp extends CRM_Report_Form {
         'dao' => 'CRM_Pledge_DAO_PledgePayment',
         'fields' =>
         array(
-          'scheduled_date' =>
-          array('title' => ts('Next Payment Due'),
+          'scheduled_date' => array(
+            'title' => ts('Next Payment Due'),
             'type' => CRM_Utils_Type::T_DATE,
             'required' => TRUE,
           ),
@@ -139,6 +139,7 @@ class CRM_Report_Form_Pledge_Pbnp extends CRM_Report_Form {
           array(
             'title' => ts('Next Payment Due'),
             'operatorType' => CRM_Report_Form::OP_DATE,
+            'type' => CRM_Utils_Type::T_DATE,
           ),
         ),
         'grouping' => 'pledge-fields',