iAdded pseudoconstant for priceset
authorPradeep Nayak <pradpnayak@gmail.com>
Thu, 12 Mar 2020 01:57:30 +0000 (01:57 +0000)
committerPradeep Nayak <pradpnayak@gmail.com>
Thu, 12 Mar 2020 01:57:30 +0000 (01:57 +0000)
xml/schema/Core/Discount.xml

index 16cde71afdcae8c20be8999cfcdb4b715aa0382c..4dabdfcf85360bc34250dfa032618bc929092157 100644 (file)
     <title>Discount Name</title>
     <type>int unsigned</type>
     <required>true</required>
+    <pseudoconstant>
+      <table>civicrm_price_set</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>title</labelColumn>
+    </pseudoconstant>
     <export>true</export>
     <comment>FK to civicrm_price_set</comment>
     <add>4.3</add>