+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2016
+ * @copyright CiviCRM LLC (c) 2004-2017
* $Id$
*
*/
SELECT status_id, count(id) as status_total
FROM civicrm_grant GROUP BY status_id";
- $dao = CRM_Core_DAO::executeQuery($query, CRM_Core_DAO::$_nullArray);
+ $dao = CRM_Core_DAO::executeQuery($query);
$status = array();
$summary = array();
$grantFields = array(
'grant_status' => array(
- 'title' => 'Grant Status',
+ 'title' => ts('Grant Status'),
'name' => 'grant_status',
'data_type' => CRM_Utils_Type::T_STRING,
),
'grant_type' => array(
- 'title' => 'Grant Type',
+ 'title' => ts('Grant Type'),
'name' => 'grant_type',
'data_type' => CRM_Utils_Type::T_STRING,
),
'grant_money_transfer_date' => array(
- 'title' => 'Grant Money Transfer Date',
+ 'title' => ts('Grant Money Transfer Date'),
'name' => 'grant_money_transfer_date',
'data_type' => CRM_Utils_Type::T_DATE,
),
'grant_amount_requested' => array(
- 'title' => 'Grant Amount Requested',
+ 'title' => ts('Grant Amount Requested'),
'name' => 'grant_amount_requested',
'data_type' => CRM_Utils_Type::T_FLOAT,
),
'grant_application_received_date' => array(
- 'title' => 'Grant Application Received Date',
+ 'title' => ts('Grant Application Received Date'),
'name' => 'grant_application_received_date',
'data_type' => CRM_Utils_Type::T_DATE,
),