Added pseudoconstant for priceset
authorPradeep Nayak <pradpnayak@gmail.com>
Thu, 12 Mar 2020 01:56:12 +0000 (01:56 +0000)
committerPradeep Nayak <pradpnayak@gmail.com>
Thu, 12 Mar 2020 01:56:12 +0000 (01:56 +0000)
CRM/Core/DAO/Discount.php

index 416cfc99038ed08fae83fb605d43846288c297ae..26a7419da2d24cf099ad826fcee73483c8a29c66 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Discount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:65e21ec2893577e8026e3194864cdad3)
+ * (GenCodeChecksum:856b526f1fe395e4460ebf886a258d4f)
  */
 
 /**
@@ -152,6 +152,11 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Discount',
           'localizable' => 0,
           'FKClassName' => 'CRM_Price_DAO_PriceSet',
+          'pseudoconstant' => [
+            'table' => 'civicrm_price_set',
+            'keyColumn' => 'id',
+            'labelColumn' => 'title',
+          ],
         ],
         'start_date' => [
           'name' => 'start_date',