Commit | Line | Data |
---|---|---|
3c7d2158 | 1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Contribute</base> | |
6a488035 TO |
5 | <class>Premium</class> |
6 | <comment>table - settings for the Premiums features for a given contribution page </comment> | |
3c7d2158 | 7 | <name>civicrm_premiums</name> |
8 | <add>1.4</add> | |
6a488035 | 9 | <log>true</log> |
3c7d2158 | 10 | <field> |
11 | <name>id</name> | |
12 | <type>int unsigned</type> | |
13 | <required>true</required> | |
14 | <add>1.4</add> | |
15 | </field> | |
16 | <primaryKey> | |
17 | <name>id</name> | |
18 | <autoincrement>true</autoincrement> | |
19 | </primaryKey> | |
6a488035 TO |
20 | <field> |
21 | <name>entity_table</name> | |
22 | <type>varchar</type> | |
23 | <length>64</length> | |
24 | <required>true</required> | |
25 | <comment>Joins these premium settings to another object. Always civicrm_contribution_page for now.</comment> | |
26 | <add>1.4</add> | |
27 | </field> | |
28 | <field> | |
29 | <name>entity_id</name> | |
30 | <type>int unsigned</type> | |
31 | <required>true</required> | |
32 | <add>1.4</add> | |
33 | </field> | |
71e5aa5c ARW |
34 | <dynamicForeignKey> |
35 | <idColumn>entity_id</idColumn> | |
36 | <typeColumn>entity_table</typeColumn> | |
37 | <add>1.4</add> | |
38 | </dynamicForeignKey> | |
3c7d2158 | 39 | <field> |
40 | <name>premiums_active </name> | |
41 | <type>boolean</type> | |
6a488035 TO |
42 | <default>0</default> |
43 | <required>true</required> | |
44 | <comment>Is the Premiums feature enabled for this page?</comment> | |
3c7d2158 | 45 | <add>1.4</add> |
46 | </field> | |
47 | <field> | |
48 | <name>premiums_intro_title</name> | |
6a488035 TO |
49 | <type>varchar</type> |
50 | <title>Title for Premiums section</title> | |
51 | <length>255</length> | |
52 | <localizable>true</localizable> | |
3c7d2158 | 53 | <comment>Title for Premiums section.</comment> |
54 | <add>1.4</add> | |
55 | </field> | |
56 | <field> | |
57 | <name>premiums_intro_text</name> | |
58 | <type>text</type> | |
6a488035 | 59 | <localizable>true</localizable> |
3c7d2158 | 60 | <comment>Displayed in <div> at top of Premiums section of page. Text and HTML allowed.</comment> |
61 | <add>1.4</add> | |
62 | </field> | |
63 | <field> | |
6a488035 | 64 | <name>premiums_contact_email</name> |
3c7d2158 | 65 | <type>varchar</type> |
6a488035 | 66 | <length>100</length> |
3c7d2158 | 67 | <comment>This email address is included in receipts if it is populated and a premium has been selected.</comment> |
68 | <add>1.4</add> | |
69 | </field> | |
70 | <field> | |
71 | <name>premiums_contact_phone</name> | |
6a488035 | 72 | <title>Premiums Contact Phone</title> |
3c7d2158 | 73 | <type>varchar</type> |
6a488035 | 74 | <length>50</length> |
3c7d2158 | 75 | <comment>This phone number is included in receipts if it is populated and a premium has been selected.</comment> |
76 | <add>1.4</add> | |
6a488035 | 77 | </field> |
3c7d2158 | 78 | <field> |
79 | <name>premiums_display_min_contribution</name> | |
80 | <type>boolean</type> | |
6a488035 | 81 | <required>true</required> |
3c7d2158 | 82 | <comment>Boolean. Should we automatically display minimum contribution amount text after the premium descriptions.</comment> |
83 | <add>1.4</add> | |
6a488035 TO |
84 | </field> |
85 | <field> | |
86 | <name>premiums_nothankyou_label</name> | |
87 | <title>No Thank-you Text</title> | |
88 | <type>varchar</type> | |
3c7d2158 | 89 | <length>255</length> |
6a488035 TO |
90 | <localizable>true</localizable> |
91 | <comment>Label displayed for No Thank-you option in premiums block (e.g. No thank you)</comment> | |
3c7d2158 | 92 | <add>4.3</add> |
6a488035 TO |
93 | </field> |
94 | <field> | |
95 | <name>premiums_nothankyou_position</name> | |
96 | <title>No Thank-you Position</title> | |
97 | <type>int unsigned</type> | |
98 | <default>1</default> | |
99 | <add>4.3</add> | |
100 | </field> | |
101 | </table> |