*
* Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d3bbedd50918aaf27f7177cceb6593b4)
+ * (GenCodeChecksum:1eb0ecd4aadee175dadb66464c06dd25)
*/
/**
public $id;
/**
- * Foreign key to civicrm_contact.id .
+ * Foreign key to civicrm_contact.id.
*
* @var int unsigned
*/
'contact_id' => [
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Contact ID'),
- 'description' => ts('Foreign key to civicrm_contact.id .'),
+ 'title' => ts('Contact'),
+ 'description' => ts('Foreign key to civicrm_contact.id.'),
'required' => TRUE,
'table_name' => 'civicrm_contribution_recur',
'entity' => 'ContributionRecur',
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'html' => [
+ 'type' => 'EntityRef',
+ ],
],
'amount' => [
'name' => 'amount',
'start_date' => [
'name' => 'start_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
- 'title' => ts('Recurring Contribution Started Date'),
+ 'title' => ts('Start Date'),
'description' => ts('The date the first scheduled recurring contribution occurs.'),
'required' => TRUE,
'table_name' => 'civicrm_contribution_recur',
'localizable' => 0,
'html' => [
'type' => 'Select Date',
- 'formatType' => 'activityDate',
+ 'formatType' => 'activityDateTime',
],
],
'create_date' => [
'name' => 'create_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
- 'title' => ts('Recurring Contribution Created Date'),
+ 'title' => ts('Created Date'),
'description' => ts('When this recurring contribution record was created.'),
'required' => TRUE,
'table_name' => 'civicrm_contribution_recur',
'localizable' => 0,
'html' => [
'type' => 'Select Date',
- 'formatType' => 'activityDate',
+ 'formatType' => 'activityDateTime',
],
],
'modified_date' => [
'name' => 'modified_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
- 'title' => ts('Recurring Contribution Modified Date'),
+ 'title' => ts('Modified Date'),
'description' => ts('Last updated date for this record. mostly the last time a payment was received'),
'table_name' => 'civicrm_contribution_recur',
'entity' => 'ContributionRecur',
'localizable' => 0,
'html' => [
'type' => 'Select Date',
- 'formatType' => 'activityDate',
+ 'formatType' => 'activityDateTime',
],
],
'cancel_date' => [
'name' => 'cancel_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
- 'title' => ts('Recurring Contribution Cancel Date'),
+ 'title' => ts('Cancel Date'),
'description' => ts('Date this recurring contribution was cancelled by contributor- if we can get access to it'),
'table_name' => 'civicrm_contribution_recur',
'entity' => 'ContributionRecur',
'entity' => 'ContributionRecur',
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Text',
+ ],
],
'payment_token_id' => [
'name' => 'payment_token_id',
'entity' => 'ContributionRecur',
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Text',
+ ],
],
'invoice_id' => [
'name' => 'invoice_id',
'entity' => 'ContributionRecur',
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Text',
+ ],
],
'contribution_status_id' => [
'name' => 'contribution_status_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Recurring Contribution Status'),
+ 'title' => ts('Status'),
'import' => TRUE,
'where' => 'civicrm_contribution_recur.contribution_status_id',
'headerPattern' => '',
'entity' => 'ContributionRecur',
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Select',
+ ],
'pseudoconstant' => [
'optionGroupName' => 'contribution_status',
'optionEditPath' => 'civicrm/admin/options/contribution_status',
'cycle_day' => [
'name' => 'cycle_day',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Number of Cycle Day'),
+ 'title' => ts('Cycle Day'),
'description' => ts('Day in the period when the payment should be charged e.g. 1st of month, 15th etc.'),
'required' => TRUE,
'default' => '1',
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_PaymentProcessor',
+ 'html' => [
+ 'type' => 'Select',
+ ],
],
'financial_type_id' => [
'name' => 'financial_type_id',
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
+ 'html' => [
+ 'type' => 'Select',
+ ],
'pseudoconstant' => [
'table' => 'civicrm_financial_type',
'keyColumn' => 'id',
'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
+ 'html' => [
+ 'type' => 'Select',
+ ],
'pseudoconstant' => [
'table' => 'civicrm_campaign',
'keyColumn' => 'id',
</primaryKey>
<field>
<name>contact_id</name>
- <title>Contact ID</title>
+ <title>Contact</title>
<type>int unsigned</type>
<required>true</required>
- <comment>Foreign key to civicrm_contact.id .</comment>
+ <comment>Foreign key to civicrm_contact.id.</comment>
<add>1.6</add>
+ <html>
+ <type>EntityRef</type>
+ </html>
</field>
<foreignKey>
<name>contact_id</name>
</field>
<field>
<name>start_date</name>
- <title>Recurring Contribution Started Date</title>
+ <title>Start Date</title>
<type>datetime</type>
<required>true</required>
<comment>The date the first scheduled recurring contribution occurs.</comment>
<add>1.6</add>
<html>
<type>Select Date</type>
- <formatType>activityDate</formatType>
+ <formatType>activityDateTime</formatType>
</html>
</field>
<field>
<name>create_date</name>
- <title>Recurring Contribution Created Date</title>
+ <title>Created Date</title>
<type>datetime</type>
<required>true</required>
<comment>When this recurring contribution record was created.</comment>
<add>1.6</add>
<html>
<type>Select Date</type>
- <formatType>activityDate</formatType>
+ <formatType>activityDateTime</formatType>
</html>
</field>
<field>
<name>modified_date</name>
- <title>Recurring Contribution Modified Date</title>
+ <title>Modified Date</title>
<type>datetime</type>
<comment>Last updated date for this record. mostly the last time a payment was received</comment>
<add>1.6</add>
<html>
<type>Select Date</type>
- <formatType>activityDate</formatType>
+ <formatType>activityDateTime</formatType>
</html>
</field>
<field>
<name>cancel_date</name>
- <title>Recurring Contribution Cancel Date</title>
+ <title>Cancel Date</title>
<type>datetime</type>
<comment>Date this recurring contribution was cancelled by contributor- if we can get access to it</comment>
<add>1.6</add>
<length>255</length>
<comment>Possibly needed to store a unique identifier for this recurring payment order - if this is available from the processor??</comment>
<add>1.6</add>
+ <html>
+ <type>Text</type>
+ </html>
</field>
<field>
<name>payment_token_id</name>
<length>255</length>
<comment>unique transaction id. may be processor id, bank id + trans id, or account number + check number... depending on payment_method</comment>
<add>1.6</add>
+ <html>
+ <type>Text</type>
+ </html>
</field>
<field>
<name>invoice_id</name>
<length>255</length>
<comment>unique invoice id, system generated or passed in</comment>
<add>1.6</add>
+ <html>
+ <type>Text</type>
+ </html>
</field>
<index>
<name>UI_contrib_trxn_id</name>
</index>
<field>
<name>contribution_status_id</name>
- <title>Recurring Contribution Status</title>
+ <title>Status</title>
<type>int unsigned</type>
<default>1</default>
<import>true</import>
<pseudoconstant>
<optionGroupName>contribution_status</optionGroupName>
</pseudoconstant>
+ <html>
+ <type>Select</type>
+ </html>
</field>
<index>
<name>index_contribution_status</name>
</field>
<field>
<name>cycle_day</name>
- <title>Number of Cycle Day</title>
+ <title>Cycle Day</title>
<type>int unsigned</type>
<default>1</default>
<required>true</required>
<type>int unsigned</type>
<comment>Foreign key to civicrm_payment_processor.id</comment>
<add>3.3</add>
+ <html>
+ <type>Select</type>
+ </html>
</field>
<foreignKey>
<name>payment_processor_id</name>
<keyColumn>id</keyColumn>
<labelColumn>name</labelColumn>
</pseudoconstant>
+ <html>
+ <type>Select</type>
+ </html>
</field>
<foreignKey>
<name>financial_type_id</name>
<labelColumn>title</labelColumn>
</pseudoconstant>
<add>4.1</add>
+ <html>
+ <type>Select</type>
+ </html>
</field>
<foreignKey>
<name>campaign_id</name>