mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-25 21:28:06 +02:00
Main edit interface functinonal except save and execution order
This commit is contained in:
parent
4978eeb828
commit
b0983603e5
6 changed files with 346 additions and 72 deletions
83
managed/CustomGroup_Category_changes.mgd.php
Normal file
83
managed/CustomGroup_Category_changes.mgd.php
Normal file
|
@ -0,0 +1,83 @@
|
|||
<?php
|
||||
use CRM_Contactcats_ExtensionUtil as E;
|
||||
|
||||
return [
|
||||
[
|
||||
'name' => 'CustomGroup_Category_changes',
|
||||
'entity' => 'CustomGroup',
|
||||
'cleanup' => 'unused',
|
||||
'update' => 'unmodified',
|
||||
'params' => [
|
||||
'version' => 4,
|
||||
'values' => [
|
||||
'name' => 'Category_changes',
|
||||
'title' => E::ts('Category changes'),
|
||||
'extends' => 'Activity',
|
||||
'extends_entity_column_value:name' => ['changed_contact_category'],
|
||||
'style' => 'Inline',
|
||||
'help_pre' => E::ts(''),
|
||||
'help_post' => E::ts(''),
|
||||
'weight' => 18,
|
||||
'collapse_adv_display' => TRUE,
|
||||
'created_date' => '2025-02-20 13:59:06',
|
||||
'is_public' => FALSE,
|
||||
'icon' => '',
|
||||
],
|
||||
'match' => ['name'],
|
||||
],
|
||||
],
|
||||
[
|
||||
'name' => 'CustomGroup_Category_changes_CustomField_Previous_Category',
|
||||
'entity' => 'CustomField',
|
||||
'cleanup' => 'unused',
|
||||
'update' => 'unmodified',
|
||||
'params' => [
|
||||
'version' => 4,
|
||||
'values' => [
|
||||
'custom_group_id.name' => 'Category_changes',
|
||||
'name' => 'Previous_Category',
|
||||
'label' => E::ts('Previous Category'),
|
||||
'data_type' => 'EntityReference',
|
||||
'html_type' => 'Autocomplete-Select',
|
||||
'is_searchable' => TRUE,
|
||||
'is_view' => TRUE,
|
||||
'text_length' => 255,
|
||||
'note_columns' => 60,
|
||||
'note_rows' => 4,
|
||||
'column_name' => 'previous_category_117',
|
||||
'fk_entity' => 'ContactCategoryDefinition',
|
||||
],
|
||||
'match' => [
|
||||
'name',
|
||||
'custom_group_id',
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'name' => 'CustomGroup_Category_changes_CustomField_New_Category',
|
||||
'entity' => 'CustomField',
|
||||
'cleanup' => 'unused',
|
||||
'update' => 'unmodified',
|
||||
'params' => [
|
||||
'version' => 4,
|
||||
'values' => [
|
||||
'custom_group_id.name' => 'Category_changes',
|
||||
'name' => 'New_Category',
|
||||
'label' => E::ts('New Category'),
|
||||
'data_type' => 'EntityReference',
|
||||
'html_type' => 'Autocomplete-Select',
|
||||
'is_searchable' => TRUE,
|
||||
'is_view' => TRUE,
|
||||
'text_length' => 255,
|
||||
'note_columns' => 60,
|
||||
'note_rows' => 4,
|
||||
'column_name' => 'new_category_118',
|
||||
'fk_entity' => 'ContactCategoryDefinition',
|
||||
],
|
||||
'match' => [
|
||||
'name',
|
||||
'custom_group_id',
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue