Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Price</base> | |
9da8dc8c | 5 | <class>PriceSet</class> |
6a488035 TO |
6 | <name>civicrm_price_set</name> |
7 | <add>1.8</add> | |
8 | <log>true</log> | |
d31fb4e3 | 9 | <component>CiviContribute</component> |
6a488035 TO |
10 | <field> |
11 | <name>id</name> | |
a0a2c91d | 12 | <title>Price Set</title> |
6a488035 TO |
13 | <type>int unsigned</type> |
14 | <required>true</required> | |
15 | <comment>Price Set</comment> | |
a0a2c91d | 16 | <html> |
0481e12c | 17 | <type>Number</type> |
fd735f54 | 18 | <label>ID</label> |
a0a2c91d | 19 | </html> |
0481e12c | 20 | <add>1.8</add> |
6a488035 TO |
21 | </field> |
22 | <primaryKey> | |
23 | <name>id</name> | |
24 | <autoincrement>true</autoincrement> | |
25 | </primaryKey> | |
26 | <field> | |
27 | <name>domain_id</name> | |
047c5009 | 28 | <title>Domain ID</title> |
6a488035 | 29 | <type>int unsigned</type> |
c2b4755a EM |
30 | <pseudoconstant> |
31 | <table>civicrm_domain</table> | |
32 | <keyColumn>id</keyColumn> | |
33 | <labelColumn>name</labelColumn> | |
34 | </pseudoconstant> | |
6a488035 TO |
35 | <comment>Which Domain is this price-set for</comment> |
36 | <add>3.1</add> | |
614d72ec | 37 | <html> |
38 | <type>Text</type> | |
047c5009 | 39 | <label>Domain</label> |
614d72ec | 40 | </html> |
6a488035 TO |
41 | </field> |
42 | <foreignKey> | |
43 | <name>domain_id</name> | |
44 | <table>civicrm_domain</table> | |
45 | <key>id</key> | |
46 | <add>3.1</add> | |
47 | </foreignKey> | |
48 | <field> | |
49 | <name>name</name> | |
50 | <type>varchar</type> | |
51 | <length>255</length> | |
52 | <required>true</required> | |
53 | <comment>Variable name/programmatic handle for this set of price fields.</comment> | |
54 | <add>1.8</add> | |
614d72ec | 55 | <html> |
56 | <type>Text</type> | |
fd735f54 | 57 | <label>Name</label> |
614d72ec | 58 | </html> |
6a488035 TO |
59 | </field> |
60 | <index> | |
61 | <name>UI_name</name> | |
62 | <fieldName>name</fieldName> | |
63 | <unique>true</unique> | |
64 | <add>1.8</add> | |
65 | </index> | |
66 | <field> | |
67 | <name>title</name> | |
021ad66c | 68 | <title>Price Set Title</title> |
6a488035 TO |
69 | <type>varchar</type> |
70 | <length>255</length> | |
71 | <required>true</required> | |
72 | <localizable>true</localizable> | |
73 | <comment>Displayed title for the Price Set.</comment> | |
74 | <add>1.8</add> | |
614d72ec | 75 | <html> |
76 | <type>Text</type> | |
77 | </html> | |
6a488035 TO |
78 | </field> |
79 | <field> | |
80 | <name>is_active</name> | |
021ad66c | 81 | <title>Price Set Is Active?</title> |
6a488035 TO |
82 | <type>boolean</type> |
83 | <default>1</default> | |
84 | <comment>Is this price set active</comment> | |
85 | <add>1.8</add> | |
614d72ec | 86 | <html> |
87 | <type>CheckBox</type> | |
88 | </html> | |
6a488035 TO |
89 | </field> |
90 | <field> | |
91 | <name>help_pre</name> | |
021ad66c | 92 | <title>Price Set Pre Help</title> |
6a488035 TO |
93 | <type>text</type> |
94 | <localizable>true</localizable> | |
95 | <comment>Description and/or help text to display before fields in form.</comment> | |
7deea513 | 96 | <html> |
97 | <type>TextArea</type> | |
817807ab | 98 | <rows>4</rows> |
99 | <cols>80</cols> | |
7deea513 | 100 | </html> |
6a488035 TO |
101 | <add>1.8</add> |
102 | </field> | |
103 | <field> | |
104 | <name>help_post</name> | |
021ad66c | 105 | <title>Price Set Post Help</title> |
6a488035 TO |
106 | <type>text</type> |
107 | <localizable>true</localizable> | |
108 | <comment>Description and/or help text to display after fields in form.</comment> | |
7deea513 | 109 | <html> |
110 | <type>TextArea</type> | |
817807ab | 111 | <rows>4</rows> |
112 | <cols>80</cols> | |
7deea513 | 113 | </html> |
6a488035 TO |
114 | <add>1.8</add> |
115 | </field> | |
116 | <field> | |
117 | <name>javascript</name> | |
021ad66c | 118 | <title>Price Set Javascript</title> |
6a488035 TO |
119 | <type>varchar</type> |
120 | <length>64</length> | |
121 | <comment>Optional Javascript script function(s) included on the form with this price_set. Can be used for conditional</comment> | |
122 | <add>1.8</add> | |
614d72ec | 123 | <html> |
124 | <type>Text</type> | |
6cc0b7bd | 125 | </html> |
6a488035 TO |
126 | </field> |
127 | <field> | |
128 | <name>extends</name> | |
021ad66c | 129 | <title>Price Set Extends</title> |
6a488035 TO |
130 | <type>varchar</type> |
131 | <length>255</length> | |
132 | <required>true</required> | |
133 | <comment>What components are using this price set?</comment> | |
6cc0b7bd EM |
134 | <pseudoconstant> |
135 | <table>civicrm_component</table> | |
136 | <keyColumn>id</keyColumn> | |
137 | <labelColumn>name</labelColumn> | |
138 | </pseudoconstant> | |
6a488035 | 139 | <add>3.1</add> |
614d72ec | 140 | <html> |
141 | <type>Text</type> | |
142 | </html> | |
6a488035 | 143 | </field> |
6f3f0f22 | 144 | <field> |
145 | <name>financial_type_id</name> | |
57e94608 | 146 | <title>Financial Type ID</title> |
6f3f0f22 | 147 | <type>int unsigned</type> |
6a488035 TO |
148 | <default>NULL</default> |
149 | <comment>FK to Financial Type(for membership price sets only).</comment> | |
6f3f0f22 | 150 | <add>4.3</add> |
6cc0b7bd EM |
151 | <pseudoconstant> |
152 | <table>civicrm_financial_type</table> | |
153 | <keyColumn>id</keyColumn> | |
154 | <labelColumn>name</labelColumn> | |
155 | </pseudoconstant> | |
614d72ec | 156 | <html> |
157 | <type>Select</type> | |
57e94608 | 158 | <label>Financial Type</label> |
614d72ec | 159 | </html> |
6f3f0f22 | 160 | </field> |
161 | <foreignKey> | |
162 | <name>financial_type_id</name> | |
163 | <table>civicrm_financial_type</table> | |
164 | <key>id</key> | |
165 | <add>4.3</add> | |
6a488035 | 166 | <onDelete>SET NULL</onDelete> |
6f3f0f22 | 167 | </foreignKey> |
6a488035 TO |
168 | <field> |
169 | <name>is_quick_config</name> | |
021ad66c | 170 | <title>Is Price Set Quick Config?</title> |
6f3f0f22 | 171 | <type>boolean</type> |
6a488035 TO |
172 | <default>0</default> |
173 | <comment>Is set if edited on Contribution or Event Page rather than through Manage Price Sets</comment> | |
614d72ec | 174 | <html> |
175 | <type>CheckBox</type> | |
176 | </html> | |
6a488035 TO |
177 | <add>4.1</add> |
178 | </field> | |
179 | <field> | |
180 | <name>is_reserved</name> | |
021ad66c | 181 | <title>Price Set Is Reserved</title> |
6a488035 TO |
182 | <type>boolean</type> |
183 | <default>0</default> | |
184 | <comment>Is this a predefined system price set (i.e. it can not be deleted, edited)?</comment> | |
185 | <add>4.2</add> | |
614d72ec | 186 | <html> |
187 | <type>CheckBox</type> | |
188 | </html> | |
6a488035 | 189 | </field> |
601c7a24 | 190 | <field> |
191 | <name>min_amount</name> | |
192 | <title>Minimum Amount</title> | |
f5e61d50 PN |
193 | <type>decimal</type> |
194 | <default>0.0</default> | |
601c7a24 | 195 | <comment>Minimum Amount required for this set.</comment> |
196 | <add>4.7</add> | |
197 | <html> | |
198 | <type>Text</type> | |
199 | </html> | |
200 | </field> | |
6a488035 | 201 | </table> |