Add metadata to describe personal note field
authoreileen <emcnaughton@wikimedia.org>
Sun, 29 Apr 2018 02:58:25 +0000 (14:58 +1200)
committereileen <emcnaughton@wikimedia.org>
Sun, 29 Apr 2018 03:10:15 +0000 (15:10 +1200)
CRM/Contribute/DAO/ContributionSoft.php
CRM/PCP/BAO/PCP.php
xml/schema/Contribute/ContributionSoft.xml

index 5f81c2cf00ce1c16090f95d74bdf77d18430e6e5..977a00bea708ccaf79a4338ff3581bdf020eb303 100644 (file)
@@ -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',
index e8d3daceac8bc64f13542f76f1fde41f96cfd01a..b771766617d1aca642dce22fd1ca1c4ad04ddcb0 100644 (file)
@@ -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) {
index cf9d3f384eae0fdc502c4a5de49e4fca8549e365..f1ddfc413ad212e20542844f32edf3fb86648768 100644 (file)
     <type>varchar</type>
     <title>Soft Contribution PCP Note</title>
     <length>255</length>
+    <html>
+      <type>TextArea</type>
+    </html>
     <default>NULL</default>
     <add>2.2</add>
   </field>