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