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>
25 <autoincrement>true
</autoincrement>
28 <name>pledge_id
</name>
30 <type>int unsigned
</type>
31 <required>true
</required>
32 <comment>FK to Pledge table
</comment>
36 <name>pledge_id
</name>
37 <table>civicrm_pledge
</table>
40 <onDelete>CASCADE
</onDelete>
43 <name>contribution_id
</name>
44 <title>Contribution
</title>
45 <type>int unsigned
</type>
46 <comment>FK to contribution table.
</comment>
50 <name>contribution_id
</name>
51 <table>civicrm_contribution
</table>
54 <onDelete>CASCADE
</onDelete>
57 <name>index_contribution_pledge
</name>
58 <fieldName>contribution_id
</fieldName>
59 <fieldName>pledge_id
</fieldName>
63 <name>scheduled_amount
</name>
64 <uniqueName>pledge_payment_scheduled_amount
</uniqueName>
65 <title>Scheduled Amount
</title>
69 <required>true
</required>
70 <comment>Pledged amount for this payment (the actual contribution amount might be different).
</comment>
74 <name>actual_amount
</name>
75 <uniqueName>pledge_payment_actual_amount
</uniqueName>
76 <title>Actual Amount
</title>
79 <comment>Actual amount that is paid as the Pledged installment amount.
</comment>
84 <title>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>
102 <name>scheduled_date
</name>
103 <uniqueName>pledge_payment_scheduled_date
</uniqueName>
104 <title>Scheduled Date
</title>
105 <import>true
</import>
106 <export>true
</export>
107 <type>datetime
</type>
108 <required>true
</required>
109 <comment>The date the pledge payment is supposed to happen.
</comment>
112 <type>Select Date
</type>
113 <formatType>activityDate
</formatType>
115 <uniqueTitle>Payment Scheduled
</uniqueTitle>
118 <name>reminder_date
</name>
119 <uniqueName>pledge_payment_reminder_date
</uniqueName>
120 <title>Last Reminder
</title>
121 <import>true
</import>
122 <type>datetime
</type>
123 <comment>The date that the most recent payment reminder was sent.
</comment>
127 <name>reminder_count
</name>
128 <uniqueName>pledge_payment_reminder_count
</uniqueName>
129 <title>Reminders Sent
</title>
130 <import>true
</import>
131 <type>int unsigned
</type>
133 <comment>The number of payment reminders sent.
</comment>
137 <name>status_id
</name>
138 <title>Payment Status
</title>
139 <uniqueName>pledge_payment_status_id
</uniqueName>
140 <import>true
</import>
141 <export>false
</export>
142 <type>int unsigned
</type>
145 <optionGroupName>contribution_status
</optionGroupName>
149 <name>index_status
</name>
150 <fieldName>status_id
</fieldName>