Make the `recur_id` field of Contributions available to FormBuilder
authorAidan Saunders <aidan.saunders@squiffle.uk>
Thu, 6 Jul 2023 06:36:44 +0000 (07:36 +0100)
committerAidan Saunders <aidan.saunders@squiffle.uk>
Thu, 6 Jul 2023 12:51:47 +0000 (13:51 +0100)
CRM/Contribute/DAO/Contribution.php
xml/schema/Contribute/Contribution.xml

index 42014c57797b45862cd41fd9af9abd096bb92f3c..6fc472c9b29f45db8789212cb6fcf5d5d8cc5d7d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contribute/Contribution.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c612cd79d620e91f7498a3883c635293)
+ * (GenCodeChecksum:4816aa376fc64fa748237d9eb9b68e01)
  */
 
 /**
@@ -944,6 +944,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO {
           'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_ContributionRecur',
           'html' => [
+            'type' => 'EntityRef',
             'label' => ts("Recurring Contribution"),
           ],
           'readonly' => TRUE,
index 99089cd2fd2c8988cb9c08a4f707eaed54d3f22f..3e7428a1cea619f7d75c93928cf11de0bec61294 100644 (file)
     <readonly>true</readonly>
     <html>
       <label>Recurring Contribution</label>
+      <type>EntityRef</type>
     </html>
     <add>1.4</add>
   </field>