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>
12 <uniqueName>pledge_payment_id
</uniqueName>
13 <title>Payment ID
</title>
14 <type>int unsigned
</type>
15 <required>true
</required>
21 <autoincrement>true
</autoincrement>
24 <name>pledge_id
</name>
26 <type>int unsigned
</type>
27 <required>true
</required>
28 <comment>FK to Pledge table
</comment>
32 <name>pledge_id
</name>
33 <table>civicrm_pledge
</table>
36 <onDelete>CASCADE
</onDelete>
39 <name>contribution_id
</name>
40 <title>Contribution
</title>
41 <type>int unsigned
</type>
42 <comment>FK to contribution table.
</comment>
46 <name>contribution_id
</name>
47 <table>civicrm_contribution
</table>
50 <onDelete>CASCADE
</onDelete>
53 <name>index_contribution_pledge
</name>
54 <fieldName>contribution_id
</fieldName>
55 <fieldName>pledge_id
</fieldName>
59 <name>scheduled_amount
</name>
60 <uniqueName>pledge_payment_scheduled_amount
</uniqueName>
61 <title>Scheduled Amount
</title>
65 <required>true
</required>
66 <comment>Pledged amount for this payment (the actual contribution amount might be different).
</comment>
70 <name>actual_amount
</name>
71 <uniqueName>pledge_payment_actual_amount
</uniqueName>
72 <title>Actual Amount
</title>
75 <comment>Actual amount that is paid as the Pledged installment amount.
</comment>
80 <title>Currency
</title>
83 <default>NULL
</default>
84 <comment>3 character string, value from config setting or input via user.
</comment>
87 <table>civicrm_currency
</table>
88 <keyColumn>name
</keyColumn>
89 <labelColumn>full_name
</labelColumn>
90 <nameColumn>name
</nameColumn>
91 <abbrColumn>symbol
</abbrColumn>
98 <name>scheduled_date
</name>
99 <uniqueName>pledge_payment_scheduled_date
</uniqueName>
100 <title>Scheduled Date
</title>
101 <import>true
</import>
102 <export>true
</export>
103 <type>datetime
</type>
104 <required>true
</required>
105 <comment>The date the pledge payment is supposed to happen.
</comment>
108 <type>Select Date
</type>
109 <formatType>activityDate
</formatType>
111 <uniqueTitle>Payment Scheduled
</uniqueTitle>
114 <name>reminder_date
</name>
115 <uniqueName>pledge_payment_reminder_date
</uniqueName>
116 <title>Last Reminder
</title>
117 <import>true
</import>
118 <type>datetime
</type>
119 <comment>The date that the most recent payment reminder was sent.
</comment>
123 <name>reminder_count
</name>
124 <uniqueName>pledge_payment_reminder_count
</uniqueName>
125 <title>Reminders Sent
</title>
126 <import>true
</import>
127 <type>int unsigned
</type>
129 <comment>The number of payment reminders sent.
</comment>
133 <name>status_id
</name>
134 <title>Payment Status
</title>
135 <uniqueName>pledge_payment_status_id
</uniqueName>
136 <import>true
</import>
137 <export>false
</export>
138 <type>int unsigned
</type>
141 <optionGroupName>contribution_status
</optionGroupName>
145 <name>index_status
</name>
146 <fieldName>status_id
</fieldName>