From 0f8ebf4807a676d54731e61740e4dea2dbecd6e3 Mon Sep 17 00:00:00 2001 From: Aidan Saunders Date: Thu, 6 Jul 2023 07:36:44 +0100 Subject: [PATCH] Make the `recur_id` field of Contributions available to FormBuilder --- CRM/Contribute/DAO/Contribution.php | 3 ++- xml/schema/Contribute/Contribution.xml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CRM/Contribute/DAO/Contribution.php b/CRM/Contribute/DAO/Contribution.php index 42014c5779..6fc472c9b2 100644 --- a/CRM/Contribute/DAO/Contribution.php +++ b/CRM/Contribute/DAO/Contribution.php @@ -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, diff --git a/xml/schema/Contribute/Contribution.xml b/xml/schema/Contribute/Contribution.xml index 99089cd2fd..3e7428a1ce 100644 --- a/xml/schema/Contribute/Contribution.xml +++ b/xml/schema/Contribute/Contribution.xml @@ -368,6 +368,7 @@ true + EntityRef 1.4 -- 2.25.1