1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Contribute
</base>
5 <class>ContributionSoft
</class>
6 <name>civicrm_contribution_soft
</name>
7 <title>Contribution Soft Credit
</title>
8 <titlePlural>Contribution Soft Credits
</titlePlural>
11 <component>CiviContribute
</component>
12 <title>Contribution Soft Credit
</title>
13 <titlePlural>Contribution Soft Credits
</titlePlural>
16 <uniqueName>contribution_soft_id
</uniqueName>
17 <title>Soft Credit ID
</title>
18 <type>int unsigned
</type>
19 <required>true
</required>
21 <comment>Soft Credit ID
</comment>
29 <autoincrement>true
</autoincrement>
32 <name>contribution_id
</name>
33 <title>Contribution ID
</title>
34 <type>int unsigned
</type>
35 <required>true
</required>
36 <comment>FK to contribution table.
</comment>
38 <label>Contribution
</label>
43 <name>contribution_id
</name>
44 <table>civicrm_contribution
</table>
47 <onDelete>CASCADE
</onDelete>
50 <name>contact_id
</name>
51 <uniqueName>contribution_soft_contact_id
</uniqueName>
52 <title>Contact ID
</title>
53 <type>int unsigned
</type>
54 <required>true
</required>
56 <headerPattern>/contact(.?id)?/i
</headerPattern>
57 <dataPattern>/^\d+$/
</dataPattern>
58 <comment>FK to Contact ID
</comment>
60 <label>Contact
</label>
65 <name>contact_id
</name>
66 <table>civicrm_contact
</table>
69 <onDelete>CASCADE
</onDelete>
73 <title>Soft Credit Amount
</title>
75 <required>true
</required>
77 <headerPattern>/total(.?am(ou)?nt)?/i
</headerPattern>
78 <dataPattern>/^\d+(\.\d{
2})?$/
</dataPattern>
79 <comment>Amount of this soft credit.
</comment>
85 <title>Soft Contribution Currency
</title>
87 <default>NULL
</default>
88 <comment>3 character string, value from config setting or input via user.
</comment>
91 <table>civicrm_currency
</table>
92 <keyColumn>name
</keyColumn>
93 <labelColumn>full_name
</labelColumn>
94 <nameColumn>name
</nameColumn>
95 <abbrColumn>symbol
</abbrColumn>
103 <type>int unsigned
</type>
104 <title>PCP ID
</title>
105 <default>NULL
</default>
106 <comment>FK to civicrm_pcp.id
</comment>
112 <table>civicrm_pcp
</table>
113 <keyColumn>id
</keyColumn>
114 <labelColumn>title
</labelColumn>
119 <table>civicrm_pcp
</table>
122 <onDelete>SET NULL
</onDelete>
125 <name>index_id
</name>
126 <fieldName>pcp_id
</fieldName>
130 <name>pcp_display_in_roll
</name>
132 <title>Soft Contribution Display on PCP
</title>
137 <name>pcp_roll_nickname
</name>
139 <title>Soft Contribution PCP Nickname
</title>
141 <default>NULL
</default>
145 <name>pcp_personal_note
</name>
147 <title>Soft Contribution PCP Note
</title>
150 <type>TextArea
</type>
152 <default>NULL
</default>
156 <name>soft_credit_type_id
</name>
157 <type>int unsigned
</type>
158 <default>NULL
</default>
159 <title>Soft Credit Type
</title>
161 <optionGroupName>soft_credit_type
</optionGroupName>
163 <comment>Soft Credit Type ID.Implicit FK to civicrm_option_value where option_group = soft_credit_type.
</comment>