/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2019
+ * @copyright CiviCRM LLC https://civicrm.org/licensing
*
* Generated from xml/schema/CRM/Contribute/Contribution.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0972c177daa2ee48c98658f62c0f8ade)
+ * (GenCodeChecksum:a9f83aa612e82ee87ace74e75fe23466)
*/
/**
*/
public $revenue_recognition_date;
+ /**
+ * Shows this is a template for recurring contributions.
+ *
+ * @var bool
+ */
+ public $is_template;
+
/**
* Class constructor.
*/
'keyColumn' => 'name',
'labelColumn' => 'full_name',
'nameColumn' => 'name',
+ 'abbrColumn' => 'symbol',
],
],
'contribution_cancel_date' => [
'formatType' => 'activityDateTime',
],
],
+ 'is_template' => [
+ 'name' => 'is_template',
+ 'type' => CRM_Utils_Type::T_BOOLEAN,
+ 'title' => ts('Is a Template Contribution'),
+ 'description' => ts('Shows this is a template for recurring contributions.'),
+ 'import' => TRUE,
+ 'where' => 'civicrm_contribution.is_template',
+ 'export' => TRUE,
+ 'default' => '0',
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
+ 'localizable' => 0,
+ 'html' => [
+ 'type' => 'CheckBox',
+ ],
+ ],
];
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
}