Merge pull request #12683 from civicrm/5.5
[civicrm-core.git] / CRM / Grant / DAO / Grant.php
index 979a767c3add344852bf1a2ef3e9917d5b82b1bc..9a4c0f861c222e9931e476569e5462dd27f6416a 100644 (file)
@@ -2,11 +2,11 @@
 
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2017
+ * @copyright CiviCRM LLC (c) 2004-2018
  *
  * Generated from xml/schema/CRM/Grant/Grant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:600fc71093543f1c7b31ad663f2325c6)
+ * (GenCodeChecksum:13652dd0ca88b2b29b17df240790eece)
  */
 
 /**
@@ -205,14 +205,19 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_DATE,
           'title' => ts('Application received date'),
           'description' => 'Date on which grant application was received by donor.',
-          'export' => TRUE,
+          'import' => TRUE,
           'where' => 'civicrm_grant.application_received_date',
           'headerPattern' => '',
           'dataPattern' => '',
+          'export' => TRUE,
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
           'localizable' => 0,
+          'html' => [
+            'type' => 'Select Date',
+            'formatType' => 'activityDate',
+          ],
         ],
         'decision_date' => [
           'name' => 'decision_date',
@@ -230,6 +235,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'localizable' => 0,
           'html' => [
             'type' => 'Select Date',
+            'formatType' => 'activityDate',
           ],
         ],
         'grant_money_transfer_date' => [
@@ -248,6 +254,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'localizable' => 0,
           'html' => [
             'type' => 'Select Date',
+            'formatType' => 'activityDate',
           ],
         ],
         'grant_due_date' => [
@@ -255,12 +262,18 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_DATE,
           'title' => ts('Grant Due Date'),
           'description' => 'Date on which grant report is due.',
+          'import' => TRUE,
+          'where' => 'civicrm_grant.grant_due_date',
+          'headerPattern' => '',
+          'dataPattern' => '',
+          'export' => TRUE,
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
           'localizable' => 0,
           'html' => [
             'type' => 'Select Date',
+            'formatType' => 'activityDate',
           ],
         ],
         'grant_report_received' => [