Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Contribute</base> | |
5 | <class>ContributionPage</class> | |
6 | <name>civicrm_contribution_page</name> | |
7 | <comment>A Contribution object store meta information about a single customized contribution page</comment> | |
8 | <add>1.3</add> | |
9 | <log>true</log> | |
10 | <field> | |
11 | <name>id</name> | |
12 | <type>int unsigned</type> | |
13 | <required>true</required> | |
14 | <comment>Contribution Id</comment> | |
15 | <add>1.3</add> | |
16 | </field> | |
17 | <primaryKey> | |
18 | <name>id</name> | |
19 | <autoincrement>true</autoincrement> | |
20 | </primaryKey> | |
21 | <field> | |
22 | <name>title</name> | |
23 | <type>varchar</type> | |
24 | <length>255</length> | |
25 | <localizable>true</localizable> | |
26 | <comment>Contribution Page title. For top of page display</comment> | |
27 | <add>1.3</add> | |
28 | </field> | |
29 | <field> | |
30 | <name>intro_text</name> | |
31 | <type>text</type> | |
32 | <htmlType>textarea</htmlType> | |
33 | <rows>6</rows> | |
34 | <cols>50</cols> | |
35 | <localizable>true</localizable> | |
36 | <comment>Text and html allowed. Displayed below title.</comment> | |
37 | <add>1.3</add> | |
38 | </field> | |
6d68a4cb CW |
39 | <field> |
40 | <name>contribution_type_id</name> | |
41 | <type>int unsigned</type> | |
42 | <required>true</required> | |
43 | <comment>default Contribution type assigned to contributions submitted via this page, e.g. Contribution, Campaign Contribution</comment> | |
44 | <add>1.3</add> | |
6a488035 | 45 | <drop>4.3</drop> |
6d68a4cb CW |
46 | </field> |
47 | <foreignKey> | |
48 | <name>contribution_type_id</name> | |
49 | <table>civicrm_contribution_type</table> | |
50 | <key>id</key> | |
6a488035 TO |
51 | <drop>4.3</drop> |
52 | </foreignKey> | |
6d68a4cb CW |
53 | <field> |
54 | <name>financial_type_id</name> | |
55 | <type>int unsigned</type> | |
56 | <comment>default financial type assigned to contributions submitted via this page, e.g. Contribution, Campaign Contribution</comment> | |
57 | <pseudoconstant> | |
58 | <table>civicrm_financial_type</table> | |
59 | <keyColumn>id</keyColumn> | |
60 | <labelColumn>name</labelColumn> | |
61 | </pseudoconstant> | |
62 | <add>4.3</add> | |
63 | </field> | |
64 | <foreignKey> | |
65 | <name>financial_type_id</name> | |
66 | <table>civicrm_financial_type</table> | |
67 | <key>id</key> | |
6a488035 | 68 | <add>4.3</add> |
6a488035 | 69 | </foreignKey> |
6d68a4cb CW |
70 | <field> |
71 | <name>payment_processor</name> | |
6a488035 TO |
72 | <type>varchar</type> |
73 | <length>128</length> | |
6d68a4cb CW |
74 | <comment>Payment Processors configured for this contribution Page</comment> |
75 | <pseudoconstant> | |
76 | <table>civicrm_payment_processor</table> | |
77 | <keyColumn>id</keyColumn> | |
78 | <labelColumn>name</labelColumn> | |
79 | </pseudoconstant> | |
80 | <add>1.8</add> | |
81 | </field> | |
82 | <field> | |
83 | <name>is_credit_card_only</name> | |
84 | <type>boolean</type> | |
85 | <comment>if true - processing logic must reject transaction at confirmation stage if pay method != credit card</comment> | |
86 | <default>0</default> | |
87 | <add>1.3</add> | |
88 | </field> | |
89 | <field> | |
90 | <name>is_monetary</name> | |
91 | <type>boolean</type> | |
92 | <default>1</default> | |
93 | <comment>if true - allows real-time monetary transactions otherwise non-monetary transactions</comment> | |
94 | <add>1.6</add> | |
95 | </field> | |
96 | <field> | |
97 | <name>is_recur</name> | |
98 | <type>boolean</type> | |
6a488035 | 99 | <default>0</default> |
6d68a4cb CW |
100 | <comment>if true - allows recurring contributions, valid only for PayPal_Standard</comment> |
101 | <add>1.6</add> | |
102 | </field> | |
103 | <field> | |
104 | <name>is_confirm_enabled</name> | |
105 | <type>boolean</type> | |
106 | <default>1</default> | |
107 | <comment>if false, the confirm page in contribution pages gets skipped</comment> | |
108 | <add>4.2</add> | |
6a488035 TO |
109 | </field> |
110 | <field> | |
111 | <name>recur_frequency_unit</name> | |
112 | <type>varchar</type> | |
113 | <length>128</length> | |
114 | <comment>Supported recurring frequency units.</comment> | |
115 | <add>2.1</add> | |
116 | </field> | |
117 | <field> | |
6d68a4cb CW |
118 | <name>is_recur_interval</name> |
119 | <type>boolean</type> | |
120 | <default>0</default> | |
121 | <comment>if true - supports recurring intervals</comment> | |
122 | <add>2.1</add> | |
6a488035 TO |
123 | </field> |
124 | <field> | |
6d68a4cb CW |
125 | <name>is_recur_installments</name> |
126 | <type>boolean</type> | |
127 | <default>0</default> | |
128 | <comment>if true - asks user for recurring installments</comment> | |
129 | <add>4.3</add> | |
6a488035 | 130 | </field> |
6d68a4cb CW |
131 | <field> |
132 | <name>is_pay_later</name> | |
133 | <type>boolean</type> | |
134 | <default>0</default> | |
135 | <comment>if true - allows the user to send payment directly to the org later</comment> | |
136 | <add>2.0</add> | |
6a488035 | 137 | </field> |
6d68a4cb CW |
138 | <field> |
139 | <name>pay_later_text</name> | |
140 | <type>text</type> | |
6a488035 | 141 | <localizable>true</localizable> |
6d68a4cb CW |
142 | <comment>The text displayed to the user in the main form</comment> |
143 | <add>2.0</add> | |
6a488035 | 144 | </field> |
6d68a4cb CW |
145 | <field> |
146 | <name>pay_later_receipt</name> | |
147 | <type>text</type> | |
6a488035 | 148 | <localizable>true</localizable> |
6d68a4cb CW |
149 | <comment>The receipt sent to the user instead of the normal receipt text</comment> |
150 | <add>2.0</add> | |
151 | </field> | |
152 | <field> | |
153 | <name>is_partial_payment</name> | |
154 | <type>boolean</type> | |
155 | <default>0</default> | |
156 | <comment>is partial payment enabled for this online contribution page</comment> | |
157 | <add>4.3</add> | |
158 | </field> | |
159 | <field> | |
160 | <name>initial_amount_label</name> | |
161 | <type>varchar</type> | |
162 | <length>255</length> | |
6a488035 | 163 | <localizable>true</localizable> |
6d68a4cb CW |
164 | <comment>Initial amount label for partial payment</comment> |
165 | <add>4.3</add> | |
6a488035 | 166 | </field> |
6d68a4cb CW |
167 | <field> |
168 | <name>initial_amount_help_text</name> | |
169 | <type>text</type> | |
6a488035 | 170 | <localizable>true</localizable> |
6d68a4cb CW |
171 | <comment>Initial amount help text for partial payment</comment> |
172 | <add>4.3</add> | |
6a488035 | 173 | </field> |
6d68a4cb CW |
174 | <field> |
175 | <name>min_initial_amount</name> | |
176 | <type>decimal</type> | |
177 | <comment>Minimum initial amount for partial payment</comment> | |
178 | <add>4.3</add> | |
6a488035 | 179 | </field> |
6d68a4cb CW |
180 | <field> |
181 | <name>is_allow_other_amount</name> | |
182 | <type>boolean</type> | |
183 | <comment>if true, page will include an input text field where user can enter their own amount</comment> | |
184 | <default>0</default> | |
185 | <add>1.3</add> | |
6a488035 TO |
186 | </field> |
187 | <field> | |
188 | <name>default_amount_id</name> | |
189 | <type>int unsigned</type> | |
190 | <comment>FK to civicrm_option_value.</comment> | |
191 | <add>1.7</add> | |
192 | </field> | |
6d68a4cb CW |
193 | <field> |
194 | <name>min_amount</name> | |
195 | <type>decimal</type> | |
196 | <comment>if other amounts allowed, user can configure minimum allowed.</comment> | |
197 | <add>1.3</add> | |
198 | </field> | |
199 | <field> | |
200 | <name>max_amount</name> | |
201 | <type>decimal</type> | |
202 | <comment>if other amounts allowed, user can configure maximum allowed.</comment> | |
203 | <add>1.3</add> | |
204 | </field> | |
205 | <field> | |
206 | <name>goal_amount</name> | |
207 | <type>decimal</type> | |
208 | <comment>The target goal for this page, allows people to build a goal meter</comment> | |
209 | <add>1.5</add> | |
6a488035 TO |
210 | </field> |
211 | <field> | |
212 | <name>thankyou_title</name> | |
213 | <title>Thank-you Title</title> | |
214 | <type>varchar</type> | |
215 | <length>255</length> | |
216 | <localizable>true</localizable> | |
217 | <comment>Title for Thank-you page (header title tag, and display at the top of the page).</comment> | |
218 | <add>1.3</add> | |
219 | </field> | |
6d68a4cb CW |
220 | <field> |
221 | <name>thankyou_text</name> | |
6a488035 | 222 | <title>Thank-you Text</title> |
6d68a4cb | 223 | <type>text</type> |
6a488035 TO |
224 | <htmlType>textarea</htmlType> |
225 | <rows>8</rows> | |
226 | <cols>60</cols> | |
227 | <localizable>true</localizable> | |
6d68a4cb CW |
228 | <comment>text and html allowed. displayed above result on success page</comment> |
229 | <add>1.3</add> | |
230 | </field> | |
231 | <field> | |
232 | <name>thankyou_footer</name> | |
6a488035 | 233 | <title>Thank-you Footer</title> |
6d68a4cb | 234 | <type>text</type> |
6a488035 TO |
235 | <htmlType>textarea</htmlType> |
236 | <rows>8</rows> | |
237 | <cols>60</cols> | |
238 | <localizable>true</localizable> | |
6d68a4cb CW |
239 | <comment>Text and html allowed. displayed at the bottom of the success page. Common usage is to include link(s) to other pages such as tell-a-friend, etc.</comment> |
240 | <add>1.3</add> | |
241 | </field> | |
242 | <field> | |
243 | <name>is_for_organization</name> | |
244 | <type>boolean</type> | |
245 | <comment>if true, signup is done on behalf of an organization</comment> | |
6a488035 | 246 | <default>0</default> |
6d68a4cb CW |
247 | <add>2.1</add> |
248 | </field> | |
249 | <field> | |
250 | <name>for_organization</name> | |
6a488035 | 251 | <title>On Behalf Of Organization</title> |
6d68a4cb | 252 | <type>text</type> |
6a488035 TO |
253 | <htmlType>textarea</htmlType> |
254 | <rows>2</rows> | |
255 | <cols>50</cols> | |
256 | <localizable>true</localizable> | |
6d68a4cb CW |
257 | <comment>This text field is shown when is_for_organization is checked. For example - I am contributing on behalf on an organization.</comment> |
258 | <add>2.1</add> | |
259 | </field> | |
260 | <field> | |
261 | <name>is_email_receipt</name> | |
262 | <type>boolean</type> | |
263 | <comment>if true, receipt is automatically emailed to contact on success</comment> | |
6a488035 | 264 | <default>0</default> |
6d68a4cb CW |
265 | <add>1.3</add> |
266 | </field> | |
267 | <field> | |
6a488035 | 268 | <name>receipt_from_name</name> |
6d68a4cb | 269 | <type>varchar</type> |
6a488035 TO |
270 | <length>255</length> |
271 | <localizable>true</localizable> | |
6d68a4cb CW |
272 | <comment>FROM email name used for receipts generated by contributions to this contribution page.</comment> |
273 | <add>1.3</add> | |
274 | </field> | |
275 | <field> | |
276 | <name>receipt_from_email</name> | |
277 | <type>varchar</type> | |
6a488035 | 278 | <length>255</length> |
6d68a4cb CW |
279 | <comment>FROM email address used for receipts generated by contributions to this contribution page.</comment> |
280 | <add>1.3</add> | |
281 | </field> | |
282 | <field> | |
283 | <name>cc_receipt</name> | |
284 | <type>varchar</type> | |
6a488035 | 285 | <length>255</length> |
6d68a4cb CW |
286 | <comment>comma-separated list of email addresses to cc each time a receipt is sent</comment> |
287 | <add>1.3</add> | |
288 | </field> | |
289 | <field> | |
290 | <name>bcc_receipt</name> | |
291 | <type>varchar</type> | |
6a488035 | 292 | <length>255</length> |
6d68a4cb CW |
293 | <comment>comma-separated list of email addresses to bcc each time a receipt is sent</comment> |
294 | <add>1.3</add> | |
295 | </field> | |
296 | <field> | |
297 | <name>receipt_text</name> | |
6a488035 TO |
298 | <type>text</type> |
299 | <htmlType>textarea</htmlType> | |
300 | <rows>6</rows> | |
301 | <cols>50</cols> | |
302 | <localizable>true</localizable> | |
303 | <comment>text to include above standard receipt info on receipt email. emails are text-only, so do not allow html for now</comment> | |
6d68a4cb CW |
304 | <add>1.3</add> |
305 | </field> | |
6a488035 TO |
306 | <field> |
307 | <name>is_active</name> | |
308 | <type>boolean</type> | |
309 | <comment>Is this property active?</comment> | |
310 | <add>1.3</add> | |
311 | </field> | |
312 | <field> | |
313 | <name>footer_text</name> | |
314 | <type>text</type> | |
315 | <htmlType>textarea</htmlType> | |
316 | <rows>6</rows> | |
317 | <cols>50</cols> | |
318 | <localizable>true</localizable> | |
319 | <comment>Text and html allowed. Displayed at the bottom of the first page of the contribution wizard.</comment> | |
320 | <add>1.4</add> | |
321 | </field> | |
322 | <field> | |
323 | <name>amount_block_is_active</name> | |
324 | <type>boolean</type> | |
325 | <comment>Is this property active?</comment> | |
326 | <default>1</default> | |
327 | <add>1.5</add> | |
328 | </field> | |
6d68a4cb CW |
329 | <field> |
330 | <name>honor_block_is_active</name> | |
331 | <type>boolean</type> | |
332 | <comment>Should this contribution have the honor block enabled?</comment> | |
333 | <add>1.6</add> | |
6a488035 | 334 | </field> |
6d68a4cb CW |
335 | <field> |
336 | <name>honor_block_title</name> | |
337 | <type>varchar</type> | |
6a488035 TO |
338 | <length>255</length> |
339 | <localizable>true</localizable> | |
6d68a4cb CW |
340 | <comment>Title for honor block.</comment> |
341 | <add>1.5</add> | |
6a488035 | 342 | </field> |
6d68a4cb CW |
343 | <field> |
344 | <name>honor_block_text</name> | |
345 | <type>text</type> | |
6a488035 TO |
346 | <htmlType>textarea</htmlType> |
347 | <rows>2</rows> | |
348 | <cols>50</cols> | |
349 | <localizable>true</localizable> | |
6d68a4cb CW |
350 | <comment>text for honor block.</comment> |
351 | <add>1.5</add> | |
6a488035 TO |
352 | </field> |
353 | <field> | |
354 | <name>start_date</name> | |
355 | <type>datetime</type> | |
356 | <title>Contribution Page Start Date</title> | |
357 | <comment>Date and time that this page starts.</comment> | |
358 | <add>1.8</add> | |
359 | </field> | |
360 | <field> | |
361 | <name>end_date</name> | |
362 | <type>datetime</type> | |
363 | <title>Contribution Page End Date</title> | |
364 | <comment>Date and time that this page ends. May be NULL if no defined end date/time</comment> | |
365 | <add>1.8</add> | |
366 | </field> | |
367 | <field> | |
368 | <name>created_id</name> | |
369 | <type>int unsigned</type> | |
370 | <comment>FK to civicrm_contact, who created this contribution page</comment> | |
371 | <add>3.0</add> | |
372 | </field> | |
373 | <foreignKey> | |
374 | <name>created_id</name> | |
375 | <table>civicrm_contact</table> | |
376 | <key>id</key> | |
377 | <add>3.0</add> | |
378 | <onDelete>SET NULL</onDelete> | |
379 | </foreignKey> | |
380 | <field> | |
381 | <name>created_date</name> | |
382 | <type>datetime</type> | |
383 | <title>Contribution Page Created Date</title> | |
384 | <comment>Date and time that contribution page was created.</comment> | |
385 | <add>3.0</add> | |
386 | </field> | |
6d68a4cb CW |
387 | <field> |
388 | <name>currency</name> | |
389 | <type>varchar</type> | |
6a488035 TO |
390 | <length>3</length> |
391 | <default>NULL</default> | |
392 | <headerPattern>/cur(rency)?/i</headerPattern> | |
393 | <dataPattern>/^[A-Z]{3}$/i</dataPattern> | |
394 | <comment>3 character string, value from config setting or input via user.</comment> | |
bd44e0df AS |
395 | <add>3.3</add> |
396 | <pseudoconstant> | |
397 | <table>civicrm_currency</table> | |
398 | <keyColumn>name</keyColumn> | |
399 | <labelColumn>symbol</labelColumn> | |
400 | </pseudoconstant> | |
6d68a4cb CW |
401 | </field> |
402 | <field> | |
403 | <name>campaign_id</name> | |
404 | <type>int unsigned</type> | |
405 | <comment>The campaign for which we are collecting contributions with this page.</comment> | |
406 | <add>3.4</add> | |
407 | </field> | |
408 | <foreignKey> | |
409 | <name>campaign_id</name> | |
410 | <table>civicrm_campaign</table> | |
411 | <key>id</key> | |
6a488035 TO |
412 | <onDelete>SET NULL</onDelete> |
413 | </foreignKey> | |
6d68a4cb CW |
414 | <field> |
415 | <name>is_share</name> | |
6a488035 | 416 | <type>boolean</type> |
6d68a4cb CW |
417 | <default>1</default> |
418 | <comment>Can people share the contribution page through social media?</comment> | |
6a488035 TO |
419 | <add>4.1</add> |
420 | </field> | |
421 | </table> |