dev/report#7 fix trxn_date on bookkeeping report
authoreileen <emcnaughton@wikimedia.org>
Mon, 11 Feb 2019 20:19:33 +0000 (09:19 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 11 Feb 2019 21:28:51 +0000 (10:28 +1300)
CRM/Report/Form/Contribute/Bookkeeping.php

index 240fc1dea81fe4a19ca3167690c88a0e8ce0950b..ee117af7a4b7b690596999073acda0303083f75f 100644 (file)
@@ -354,7 +354,7 @@ class CRM_Report_Form_Contribute_Bookkeeping extends CRM_Report_Form {
           'trxn_date' => array(
             'title' => ts('Transaction Date'),
             'default' => TRUE,
-            'type' => CRM_Utils_Type::T_DATE,
+            'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           ),
           'trxn_id' => array(
             'title' => ts('Trans #'),
@@ -381,7 +381,7 @@ class CRM_Report_Form_Contribute_Bookkeeping extends CRM_Report_Form {
           'trxn_date' => array(
             'title' => ts('Transaction Date'),
             'operatorType' => CRM_Report_Form::OP_DATE,
-            'type' => CRM_Utils_Type::T_DATE,
+            'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           ),
           'status_id' => array(
             'title' => ts('Financial Transaction Status'),