From f65a7e4340f11ca6746c30e506ecf62721606d2e Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Thu, 12 Mar 2020 01:56:12 +0000 Subject: [PATCH] Added pseudoconstant for priceset --- CRM/Core/DAO/Discount.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CRM/Core/DAO/Discount.php b/CRM/Core/DAO/Discount.php index 416cfc9903..26a7419da2 100644 --- a/CRM/Core/DAO/Discount.php +++ b/CRM/Core/DAO/Discount.php @@ -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', -- 2.25.1