Skip to content
Snippets Groups Projects
Unverified Commit 13c225d3 authored by eileen's avatar eileen :8ball: Committed by GitHub
Browse files

Merge pull request #13954 from eileenmcnaughton/payment_processor_title

financial#2 add PaymentProcessor.title field
parents a232b71d 63b162c6
Branches
Tags
No related merge requests found
......@@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:10649ac7d8d06b411aa6e800484f459b)
* (GenCodeChecksum:42c6dc8a71daeb67aaa687156121ebf4)
*/
/**
......@@ -49,6 +49,13 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
*/
public $name;
/**
* Payment Processor Descriptive Name.
*
* @var string
*/
public $title;
/**
* Payment Processor Description.
*
......@@ -237,6 +244,21 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
'type' => 'Text',
],
],
'title' => [
'name' => 'title',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Payment Processor Title'),
'description' => ts('Payment Processor Descriptive Name.'),
'maxlength' => 127,
'size' => CRM_Utils_Type::HUGE,
'table_name' => 'civicrm_payment_processor',
'entity' => 'PaymentProcessor',
'bao' => 'CRM_Financial_BAO_PaymentProcessor',
'localizable' => 0,
'html' => [
'type' => 'Text',
],
],
'description' => [
'name' => 'description',
'type' => CRM_Utils_Type::T_STRING,
......
......@@ -77,6 +77,9 @@ class CRM_Upgrade_Incremental_php_FiveThirteen extends CRM_Upgrade_Incremental_B
$this->addTask('Add cancel reason column to civicrm_contribution_recur', 'addColumn',
'civicrm_contribution_recur', 'cancel_reason', "text COMMENT 'Free text field for a reason for cancelling'", FALSE
);
$this->addTask('Add title to civicrm_payment_processor', 'addColumn',
'civicrm_payment_processor', 'title', "text COMMENT 'Payment Processor Descriptive Name.'", FALSE
);
}
}
......@@ -47,6 +47,17 @@
<type>Text</type>
</html>
</field>
<field>
<name>title</name>
<title>Payment Processor Title</title>
<type>varchar</type>
<length>127</length>
<html>
<type>Text</type>
</html>
<comment>Payment Processor Descriptive Name.</comment>
<add>5.13</add>
</field>
<field>
<name>description</name>
<title>Processor Description</title>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment