From 46eb937a31ac210a5c44b35befd9dd0fb01aa9f0 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 29 Nov 2022 14:33:58 -0500 Subject: [PATCH] Regenerate ContactType DAO --- CRM/Contact/DAO/ContactType.php | 12 +++++++++--- CRM/Core/I18n/SchemaStructure.php | 1 + xml/schema/Contact/ContactType.xml | 4 ++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CRM/Contact/DAO/ContactType.php b/CRM/Contact/DAO/ContactType.php index a85c0bde73..5f178714b4 100644 --- a/CRM/Contact/DAO/ContactType.php +++ b/CRM/Contact/DAO/ContactType.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/ContactType.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b66036d325985536154ec623ab362e39) + * (GenCodeChecksum:b306637543b9795d650fbe7af63ab00b) */ /** @@ -201,6 +201,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO { 'bao' => 'CRM_Contact_BAO_ContactType', 'localizable' => 0, 'html' => [ + 'type' => 'Text', 'label' => ts("Name"), ], 'add' => '3.1', @@ -217,6 +218,10 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO { 'entity' => 'ContactType', 'bao' => 'CRM_Contact_BAO_ContactType', 'localizable' => 1, + 'html' => [ + 'type' => 'Text', + 'label' => ts("Label"), + ], 'add' => '3.1', ], 'description' => [ @@ -277,6 +282,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO { 'localizable' => 0, 'FKClassName' => 'CRM_Contact_DAO_ContactType', 'html' => [ + 'type' => 'Select', 'label' => ts("Parent"), ], 'pseudoconstant' => [ @@ -290,7 +296,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO { 'is_active' => [ 'name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, - 'title' => ts('Contact Type Is Active?'), + 'title' => ts('Contact Type Enabled'), 'description' => ts('Is this entry active?'), 'required' => TRUE, 'where' => 'civicrm_contact_type.is_active', @@ -308,7 +314,7 @@ class CRM_Contact_DAO_ContactType extends CRM_Core_DAO { 'is_reserved' => [ 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, - 'title' => ts('Contact Type is Reserved?'), + 'title' => ts('Contact Type is Reserved'), 'description' => ts('Is this contact type a predefined system type'), 'required' => TRUE, 'where' => 'civicrm_contact_type.is_reserved', diff --git a/CRM/Core/I18n/SchemaStructure.php b/CRM/Core/I18n/SchemaStructure.php index fc765945ed..cf193ca67b 100644 --- a/CRM/Core/I18n/SchemaStructure.php +++ b/CRM/Core/I18n/SchemaStructure.php @@ -288,6 +288,7 @@ class CRM_Core_I18n_SchemaStructure { ], 'civicrm_contact_type' => [ 'label' => [ + 'label' => "Label", 'type' => "Text", ], 'description' => [ diff --git a/xml/schema/Contact/ContactType.xml b/xml/schema/Contact/ContactType.xml index 7acb29f926..c4b51714d0 100644 --- a/xml/schema/Contact/ContactType.xml +++ b/xml/schema/Contact/ContactType.xml @@ -113,7 +113,7 @@ is_active - Contact Type Is Active? + Contact Type Enabled boolean 1 true @@ -126,7 +126,7 @@ is_reserved - Contact Type is Reserved? + Contact Type is Reserved boolean 0 true -- 2.25.1