Merge pull request #14367 from MegaphoneJon/financial-58
[civicrm-core.git] / CRM / Contribute / DAO / Product.php
index a5fdc7f728c636e107ac1b1658430931ff115d44..398b0ba375bbd86b40f87ab24fee85b8ee4a88e8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Product.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6bebe01d00d19465a5536aa561934fbc)
+ * (GenCodeChecksum:8036ec1084e88e8fcd65e69072592388)
  */
 
 /**
@@ -119,7 +119,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
 
   /**
    * Rolling means we set start/end based on current day, fixed means we set start/end for current year or month
-   (e.g. 1 year + fixed -> we would set start/end for 1/1/06 thru 12/31/06 for any premium chosen in 2006)
+   (e.g. 1 year + fixed -> we would set start/end for 1/1/06 thru 12/31/06 for any premium chosen in 2006)
    *
    * @var string
    */
@@ -284,7 +284,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'description' => ts('Sell price or market value for premiums. For tax-deductible contributions, this will be stored as non_deductible_amount in the contribution record.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_product.price',
           'table_name' => 'civicrm_product',
@@ -313,6 +313,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
             'keyColumn' => 'name',
             'labelColumn' => 'full_name',
             'nameColumn' => 'name',
+            'abbrColumn' => 'symbol',
           ],
         ],
         'financial_type_id' => [
@@ -340,7 +341,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'description' => ts('Minimum contribution required to be eligible to select this premium.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_product.min_contribution',
           'table_name' => 'civicrm_product',
@@ -355,7 +356,7 @@ class CRM_Contribute_DAO_Product extends CRM_Core_DAO {
           'description' => ts('Actual cost of this product. Useful to determine net return from sale or using this as an incentive.'),
           'precision' => [
             20,
-            2
+            2,
           ],
           'where' => 'civicrm_product.cost',
           'table_name' => 'civicrm_product',