1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Pledge
</base>
5 <class>PledgePayment
</class>
6 <name>civicrm_pledge_payment
</name>
7 <comment>Pledge Payment
</comment>
10 <component>CiviPledge
</component>
13 <uniqueName>pledge_payment_id
</uniqueName>
14 <title>Payment ID
</title>
15 <type>int unsigned
</type>
16 <required>true
</required>
22 <autoincrement>true
</autoincrement>
25 <name>pledge_id
</name>
27 <type>int unsigned
</type>
28 <required>true
</required>
29 <comment>FK to Pledge table
</comment>
33 <name>pledge_id
</name>
34 <table>civicrm_pledge
</table>
37 <onDelete>CASCADE
</onDelete>
40 <name>contribution_id
</name>
41 <title>Contribution
</title>
42 <type>int unsigned
</type>
43 <comment>FK to contribution table.
</comment>
47 <name>contribution_id
</name>
48 <table>civicrm_contribution
</table>
51 <onDelete>CASCADE
</onDelete>
54 <name>index_contribution_pledge
</name>
55 <fieldName>contribution_id
</fieldName>
56 <fieldName>pledge_id
</fieldName>
60 <name>scheduled_amount
</name>
61 <uniqueName>pledge_payment_scheduled_amount
</uniqueName>
62 <title>Scheduled Amount
</title>
66 <required>true
</required>
67 <comment>Pledged amount for this payment (the actual contribution amount might be different).
</comment>
71 <name>actual_amount
</name>
72 <uniqueName>pledge_payment_actual_amount
</uniqueName>
73 <title>Actual Amount
</title>
76 <comment>Actual amount that is paid as the Pledged installment amount.
</comment>
81 <title>Currency
</title>
84 <default>NULL
</default>
85 <comment>3 character string, value from config setting or input via user.
</comment>
88 <table>civicrm_currency
</table>
89 <keyColumn>name
</keyColumn>
90 <labelColumn>full_name
</labelColumn>
91 <nameColumn>name
</nameColumn>
92 <abbrColumn>symbol
</abbrColumn>
99 <name>scheduled_date
</name>
100 <uniqueName>pledge_payment_scheduled_date
</uniqueName>
101 <title>Scheduled Date
</title>
102 <import>true
</import>
103 <export>true
</export>
104 <type>datetime
</type>
105 <required>true
</required>
106 <comment>The date the pledge payment is supposed to happen.
</comment>
109 <type>Select Date
</type>
110 <formatType>activityDate
</formatType>
112 <uniqueTitle>Payment Scheduled
</uniqueTitle>
115 <name>reminder_date
</name>
116 <uniqueName>pledge_payment_reminder_date
</uniqueName>
117 <title>Last Reminder
</title>
118 <import>true
</import>
119 <type>datetime
</type>
120 <comment>The date that the most recent payment reminder was sent.
</comment>
124 <name>reminder_count
</name>
125 <uniqueName>pledge_payment_reminder_count
</uniqueName>
126 <title>Reminders Sent
</title>
127 <import>true
</import>
128 <type>int unsigned
</type>
130 <comment>The number of payment reminders sent.
</comment>
134 <name>status_id
</name>
135 <title>Payment Status
</title>
136 <uniqueName>pledge_payment_status_id
</uniqueName>
137 <import>true
</import>
138 <export>false
</export>
139 <type>int unsigned
</type>
142 <optionGroupName>contribution_status
</optionGroupName>
146 <name>index_status
</name>
147 <fieldName>status_id
</fieldName>