Skip to content

Commit

Permalink
ESEB-69: Add currency exchange rates custom fields
Browse files Browse the repository at this point in the history
  • Loading branch information
shahrukh-compuco committed Oct 24, 2023
1 parent bb47e85 commit 5da6fa4
Showing 1 changed file with 156 additions and 0 deletions.
156 changes: 156 additions & 0 deletions managed/CustomGroup_Contributions_CurrencyExchangeRates.mgd.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
<?php

/**
* @file
* Exported Cases Currency exchange rates CustomGroup.
*/

return [
[
'name' => 'CustomGroup_Currency_Exchange_Rates',
'entity' => 'CustomGroup',
'cleanup' => 'unused',
'update' => 'always',
'params' => [
'version' => 4,
'values' => [
'name' => 'Currency_Exchange_Rates',
'title' => 'Currency Exchange Rates',
'extends' => 'Contribution',
'extends_entity_column_value' => NULL,
'style' => 'Inline',
'collapse_display' => FALSE,
'help_pre' => '',
'help_post' => '',
'weight' => 68,
'is_active' => TRUE,
'is_multiple' => FALSE,
'min_multiple' => NULL,
'max_multiple' => NULL,
'collapse_adv_display' => TRUE,
'created_date' => '2023-10-24 10:08:57',
'is_reserved' => FALSE,
'is_public' => TRUE,
'icon' => '',
'extends_entity_column_id' => NULL,
],
],
],
[
'name' => 'OptionGroup_Currency_Exchange_Rates_VAT_Text',
'entity' => 'OptionGroup',
'cleanup' => 'unused',
'update' => 'always',
'params' => [
'version' => 4,
'values' => [
'name' => 'Currency_Exchange_Rates_VAT_Text',
'title' => 'Currency Exchange Rates :: VAT Text',
'description' => NULL,
'data_type' => 'String',
'is_reserved' => FALSE,
'is_active' => TRUE,
'is_locked' => FALSE,
'option_value_fields' => [
'name',
'label',
'description',
],
],
],
],
[
'name' => 'OptionGroup_Currency_Exchange_Rates_VAT_Text_OptionValue_first_vat_text_option',
'entity' => 'OptionValue',
'cleanup' => 'unused',
'update' => 'always',
'params' => [
'version' => 4,
'values' => [
'option_group_id.name' => 'Currency_Exchange_Rates_VAT_Text',
'label' => 'first vat text option',
'value' => '1',
'name' => 'first_vat_text_option',
'grouping' => NULL,
'filter' => 0,
'is_default' => FALSE,
'description' => NULL,
'is_optgroup' => FALSE,
'is_reserved' => FALSE,
'is_active' => TRUE,
'icon' => NULL,
'color' => NULL,
'component_id' => NULL,
'domain_id' => NULL,
'visibility_id' => NULL,
],
],
],
[
'name' => 'OptionGroup_Currency_Exchange_Rates_VAT_Text_OptionValue_second_vat_text_option',
'entity' => 'OptionValue',
'cleanup' => 'unused',
'update' => 'always',
'params' => [
'version' => 4,
'values' => [
'option_group_id.name' => 'Currency_Exchange_Rates_VAT_Text',
'label' => 'second vat text option',
'value' => '2',
'name' => 'second_vat_text_option',
'grouping' => NULL,
'filter' => 0,
'is_default' => FALSE,
'description' => NULL,
'is_optgroup' => FALSE,
'is_reserved' => FALSE,
'is_active' => TRUE,
'icon' => NULL,
'color' => NULL,
'component_id' => NULL,
'domain_id' => NULL,
'visibility_id' => NULL,
],
],
],
[
'name' => 'CustomGroup_Currency_Exchange_Rates_CustomField_VAT_Text',
'entity' => 'CustomField',
'cleanup' => 'unused',
'update' => 'always',
'params' => [
'version' => 4,
'values' => [
'custom_group_id.name' => 'Currency_Exchange_Rates',
'name' => 'VAT_Text',
'label' => 'VAT Text',
'data_type' => 'String',
'html_type' => 'Select',
'default_value' => NULL,
'is_required' => FALSE,
'is_searchable' => FALSE,
'is_search_range' => FALSE,
'help_pre' => NULL,
'help_post' => NULL,
'mask' => NULL,
'attributes' => NULL,
'javascript' => NULL,
'is_active' => TRUE,
'is_view' => FALSE,
'options_per_line' => NULL,
'text_length' => 300,
'start_date_years' => NULL,
'end_date_years' => NULL,
'date_format' => NULL,
'time_format' => NULL,
'note_columns' => 60,
'note_rows' => 4,
'column_name' => 'vat_text_272',
'option_group_id.name' => 'Currency_Exchange_Rates_VAT_Text',
'serialize' => 0,
'filter' => NULL,
'in_selector' => FALSE,
],
],
],
];

0 comments on commit 5da6fa4

Please sign in to comment.