<headerPattern>/contact(.?id)?/i</headerPattern>
<dataPattern>/^\d+$/</dataPattern>
<comment>FK to Contact ID</comment>
+ <html>
+ <type>Autocomplete-Select</type>
+ </html>
<add>1.3</add>
</field>
<foreignKey>
<keyColumn>id</keyColumn>
<labelColumn>name</labelColumn>
</pseudoconstant>
+ <html>
+ <type>Select></type>
+ </html>
<add>4.3</add>
</field>
<foreignKey>
<keyColumn>id</keyColumn>
<labelColumn>title</labelColumn>
</pseudoconstant>
+ <html>
+ <type>Select></type>
+ </html>
<add>1.5</add>
</field>
<foreignKey>
<pseudoconstant>
<optionGroupName>payment_instrument</optionGroupName>
</pseudoconstant>
+ <html>
+ <type>Select></type>
+ </html>
<add>1.3</add>
</field>
<index>
<dataPattern>/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/</dataPattern>
<comment>when was gift received</comment>
<add>1.3</add>
+ <html>
+ <type>Select Date</type>
+ </html>
</field>
<field>
<name>non_deductible_amount</name>
<dataPattern>/^\d+(\.\d{2})?$/</dataPattern>
<comment>Portion of total amount which is NOT tax deductible. Equal to total_amount for non-deductible financial types.</comment>
<add>1.3</add>
+ <html>
+ <type>Text</type>
+ </html>
</field>
<field>
<name>total_amount</name>
<dataPattern>/^\d+(\.\d{2})?$/</dataPattern>
<comment>Total amount of this contribution. Use market value for non-monetary gifts.</comment>
<add>1.3</add>
+ <html>
+ <type>Text</type>
+ </html>
</field>
<field>
<name>fee_amount</name>
<dataPattern>/^\d+(\.\d{2})?$/</dataPattern>
<comment>actual processor fee if known - may be 0.</comment>
<add>1.3</add>
+ <html>
+ <type>Text</type>
+ </html>
</field>
<field>
<name>net_amount</name>
<dataPattern>/^\d+(\.\d{2})?$/</dataPattern>
<comment>actual funds transfer amount. total less fees. if processor does not report actual fee during transaction, this is set to total_amount.</comment>
<add>1.3</add>
+ <html>
+ <type>Text</type>
+ </html>
</field>
<field>
<name>trxn_id</name>
<import>true</import>
<headerPattern>/tr(ansactio|x)n(.?id)?/i</headerPattern>
<comment>unique transaction id. may be processor id, bank id + trans id, or account number + check number... depending on payment_method</comment>
+ <html>
+ <type>Text</type>
+ </html>
<add>1.3</add>
</field>
<field>
<import>true</import>
<headerPattern>/invoice(.?id)?/i</headerPattern>
<comment>unique invoice id, system generated or passed in</comment>
+ <html>
+ <type>Text</type>
+ </html>
<add>1.3</add>
- </field>
+ </field>
<field>
<name>currency</name>
<type>varchar</type>
<labelColumn>full_name</labelColumn>
<nameColumn>numeric_code</nameColumn>
</pseudoconstant>
+ <html>
+ <type>Select></type>
+ </html>
</field>
<field>
<name>cancel_date</name>
<dataPattern>/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/</dataPattern>
<comment>when was gift cancelled</comment>
<add>1.3</add>
+ <html>
+ <type>Select Date</type>
+ </html>
</field>
<field>
<name>cancel_reason</name>
<type>text</type>
<import>true</import>
<headerPattern>/(cancel.?)?reason/i</headerPattern>
- <add>1.3</add>
+ <html>
+ <type>Text</type>
+ </html>
+ <add>1.3</add>
</field>
<field>
<name>receipt_date</name>
<headerPattern>/receipt(.?date)?/i</headerPattern>
<dataPattern>/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/</dataPattern>
<comment>when (if) receipt was sent. populated automatically for online donations w/ automatic receipting</comment>
- <add>1.3</add>
+ <html>
+ <type>Select Date</type>
+ </html>
+ <add>1.3</add>
</field>
<field>
<name>thankyou_date</name>
<dataPattern>/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/</dataPattern>
<comment>when (if) was donor thanked</comment>
<add>1.3</add>
+ <html>
+ <type>Select Date</type>
+ </html>
</field>
<field>
<name>source</name>
<headerPattern>/source/i</headerPattern>
<comment>Origin of this Contribution.</comment>
<add>1.3</add>
+ <html>
+ <type>Text</type>
+ </html>
</field>
<field>
<name>amount_level</name>
<type>text</type>
<import>true</import>
<add>1.7</add>
+ <html>
+ <type>Text</type>
+ </html>
</field>
<field>
<name>note</name>
<type>text</type>
<comment>Note and/or Comment.</comment>
- <html>
- <type>TextArea</type>
- <rows>4</rows>
- <cols>80</cols>
- </html>
<import>true</import>
<headerPattern>/Note|Comment/i</headerPattern>
<dataPattern>//</dataPattern>
<type>int unsigned</type>
<comment>FK to contact ID</comment>
<add>1.3</add>
+ <html>
+ <type>Autocomplete-Select</type>
+ </html>
</field>
<foreignKey>
<name>honor_contact_id</name>
<type>boolean</type>
<default>0</default>
<import>true</import>
+ <html>
+ <type>CheckBox</type>
+ </html>
</field>
<field>
<name>is_pay_later</name>
<default>0</default>
<import>true</import>
<add>2.1</add>
+ <html>
+ <type>CheckBox</type>
+ </html>
</field>
<field>
<name>contribution_status_id</name>
<pseudoconstant>
<optionGroupName>contribution_status</optionGroupName>
</pseudoconstant>
+ <html>
+ <type>Select></type>
+ </html>
<add>1.6</add>
</field>
<field>
<pseudoconstant>
<optionGroupName>honor_type</optionGroupName>
</pseudoconstant>
+ <html>
+ <type>Select></type>
+ </html>
</field>
<index>
<name>index_contribution_status</name>
<headerPattern>/check(.?number)?/i</headerPattern>
<type>varchar</type>
<length>255</length>
- <size>SIX</size>
+ <html>
+ <type>Text</type>
+ <size>SIX</size>
+ </html>
<import>true</import>
<add>2.2</add>
</field>
<import>true</import>
<comment>The campaign for which this contribution has been triggered.</comment>
<add>3.4</add>
+ <html>
+ <type>Select</type>
+ </html>
</field>
<foreignKey>
<name>campaign_id</name>