Use metadata for getOptions abbreviation & include currency symbol
[civicrm-core.git] / CRM / Grant / DAO / Grant.php
index 6ced3f894522e0790e2fbbddccbaee75b314ddb2..af216a4e693f979cd473c4e74cecc6ccd1ca6e30 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Grant/Grant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fd288094da473bd77ff23051ae826a72)
+ * (GenCodeChecksum:03885f41aa2d1f7299c66134ddd19ec2)
  */
 
 /**
@@ -308,7 +308,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'required' => TRUE,
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_grant.amount_total',
@@ -329,7 +329,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'description' => ts('Requested grant amount, in original currency (optional).'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_grant.amount_requested',
           'dataPattern' => '/^\d+(\.\d{2})?$/',
@@ -348,7 +348,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'description' => ts('Granted amount, in default currency.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'import' => TRUE,
           'where' => 'civicrm_grant.amount_granted',
@@ -383,6 +383,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
             'keyColumn' => 'name',
             'labelColumn' => 'full_name',
             'nameColumn' => 'name',
+            'abbrColumn' => 'symbol',
           ],
         ],
         'rationale' => [