From bddddc639dfa7dd4d250ab9643778de87c066617 Mon Sep 17 00:00:00 2001 From: eileen Date: Sun, 29 Apr 2018 14:58:25 +1200 Subject: [PATCH] Add metadata to describe personal note field --- CRM/Contribute/DAO/ContributionSoft.php | 5 ++++- CRM/PCP/BAO/PCP.php | 2 +- xml/schema/Contribute/ContributionSoft.xml | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CRM/Contribute/DAO/ContributionSoft.php b/CRM/Contribute/DAO/ContributionSoft.php index 5f81c2cf00..977a00bea7 100644 --- a/CRM/Contribute/DAO/ContributionSoft.php +++ b/CRM/Contribute/DAO/ContributionSoft.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contribute/ContributionSoft.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:eb1e493dc7ff4da34167ad0828d61fd4) + * (GenCodeChecksum:e183ac4d1412bc227a1be7975cc67b0a) */ /** @@ -261,6 +261,9 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO { 'entity' => 'ContributionSoft', 'bao' => 'CRM_Contribute_BAO_ContributionSoft', 'localizable' => 0, + 'html' => [ + 'type' => 'TextArea', + ], ], 'soft_credit_type_id' => [ 'name' => 'soft_credit_type_id', diff --git a/CRM/PCP/BAO/PCP.php b/CRM/PCP/BAO/PCP.php index e8d3daceac..b771766617 100644 --- a/CRM/PCP/BAO/PCP.php +++ b/CRM/PCP/BAO/PCP.php @@ -412,7 +412,7 @@ WHERE pcp.id = %1 AND cc.contribution_status_id =1 AND cc.is_test = 0"; * Add PCP form elements to a form. * * @param int $pcpId - * @param CRM_Core_Page $page + * @param CRM_Core_Form $page * @param null $elements */ public static function buildPcp($pcpId, &$page, &$elements = NULL) { diff --git a/xml/schema/Contribute/ContributionSoft.xml b/xml/schema/Contribute/ContributionSoft.xml index cf9d3f384e..f1ddfc413a 100644 --- a/xml/schema/Contribute/ContributionSoft.xml +++ b/xml/schema/Contribute/ContributionSoft.xml @@ -129,6 +129,9 @@ varchar Soft Contribution PCP Note 255 + + TextArea + NULL 2.2 -- 2.25.1