From 7529d9f3597029210ccc3e3ced086e4f4721719b Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Thu, 23 Feb 2023 17:31:50 -0500 Subject: [PATCH] HTML definition for subscription history date --- CRM/Contact/DAO/SubscriptionHistory.php | 7 ++++++- xml/schema/Contact/SubscriptionHistory.xml | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CRM/Contact/DAO/SubscriptionHistory.php b/CRM/Contact/DAO/SubscriptionHistory.php index c1186708f3..18492d6e1e 100644 --- a/CRM/Contact/DAO/SubscriptionHistory.php +++ b/CRM/Contact/DAO/SubscriptionHistory.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:352df636d72c00072ade0a93fe8ce181) + * (GenCodeChecksum:30b144a6f844fb0fb38b1bdbeee72ecf) */ /** @@ -203,6 +203,11 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO { 'entity' => 'SubscriptionHistory', 'bao' => 'CRM_Contact_BAO_SubscriptionHistory', 'localizable' => 0, + 'html' => [ + 'type' => 'Select Date', + 'formatType' => 'activityDateTime', + 'label' => ts("Group Membership Action Date"), + ], 'add' => '1.1', ], 'method' => [ diff --git a/xml/schema/Contact/SubscriptionHistory.xml b/xml/schema/Contact/SubscriptionHistory.xml index cbf4d68588..7506e9bde3 100644 --- a/xml/schema/Contact/SubscriptionHistory.xml +++ b/xml/schema/Contact/SubscriptionHistory.xml @@ -70,6 +70,11 @@ true CURRENT_TIMESTAMP Date of the (un)subscription + + + Select Date + activityDateTime + 1.1 -- 2.25.1