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