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>
64 <required>true
</required>
65 <comment>Pledged amount for this payment (the actual contribution amount might be different).
</comment>
69 <name>actual_amount
</name>
70 <uniqueName>pledge_payment_actual_amount
</uniqueName>
71 <title>Actual Amount
</title>
74 <comment>Actual amount that is paid as the Pledged installment amount.
</comment>
79 <title>Currency
</title>
82 <default>NULL
</default>
83 <comment>3 character string, value from config setting or input via user.
</comment>
86 <table>civicrm_currency
</table>
87 <keyColumn>name
</keyColumn>
88 <labelColumn>full_name
</labelColumn>
89 <nameColumn>name
</nameColumn>
96 <name>scheduled_date
</name>
97 <uniqueName>pledge_payment_scheduled_date
</uniqueName>
98 <title>Scheduled Date
</title>
100 <type>datetime
</type>
101 <required>true
</required>
102 <comment>The date the pledge payment is supposed to happen.
</comment>
105 <type>Select Date
</type>
106 <formatType>activityDate
</formatType>
110 <name>reminder_date
</name>
111 <uniqueName>pledge_payment_reminder_date
</uniqueName>
112 <title>Last Reminder
</title>
113 <import>true
</import>
114 <type>datetime
</type>
115 <comment>The date that the most recent payment reminder was sent.
</comment>
119 <name>reminder_count
</name>
120 <uniqueName>pledge_payment_reminder_count
</uniqueName>
121 <title>Reminders Sent
</title>
122 <import>true
</import>
123 <type>int unsigned
</type>
125 <comment>The number of payment reminders sent.
</comment>
129 <name>status_id
</name>
130 <title>Payment Status
</title>
131 <uniqueName>pledge_payment_status_id
</uniqueName>
132 <import>true
</import>
133 <export>false
</export>
134 <type>int unsigned
</type>
137 <optionGroupName>contribution_status
</optionGroupName>
141 <name>index_status
</name>
142 <fieldName>status_id
</fieldName>