UI tweaks

This commit is contained in:
Jon Goldberg 2018-09-06 10:49:21 -04:00
parent 95fb9b85e9
commit 4e52496f8c
Signed by: jon
GPG Key ID: 0DC025928E9AA851

View File

@ -158,10 +158,10 @@ function automatchinggift_civicrm_managed(&$entities) {
'title' => ts('Gift Details'), 'title' => ts('Gift Details'),
'extends' => 'Contribution', 'extends' => 'Contribution',
'style' => 'Inline', 'style' => 'Inline',
'collapse_display' => TRUE, 'collapse_display' => FALSE,
'is_active' => TRUE, 'is_active' => TRUE,
'is_multiple' => FALSE, 'is_multiple' => FALSE,
'collapse_adv_display' => FALSE, 'collapse_adv_display' => TRUE,
], ],
]; ];
$entities[] = [ $entities[] = [
@ -175,13 +175,14 @@ function automatchinggift_civicrm_managed(&$entities) {
'data_type' => 'ContactReference', 'data_type' => 'ContactReference',
'html_type' => 'Autocomplete-Select', 'html_type' => 'Autocomplete-Select',
'is_required' => FALSE, 'is_required' => FALSE,
'is_searchable' => FALSE, 'is_searchable' => TRUE,
'is_search_range' => FALSE, 'is_search_range' => FALSE,
'is_active' => TRUE, 'is_active' => TRUE,
'text_length' => 255, 'text_length' => 255,
'filter' => "action=lookup&group={$groupId}", 'filter' => "action=lookup&group={$groupId}",
'column_name' => MATCHING_GIFT_CUSTOM_FIELD_NAME, 'column_name' => MATCHING_GIFT_CUSTOM_FIELD_NAME,
'custom_group_id' => MATCHING_GIFT_CUSTOM_GROUP_NAME, 'custom_group_id' => MATCHING_GIFT_CUSTOM_GROUP_NAME,
'help_post' => 'Specifying a matching gift organization will cause a pending contribution to be created for that organization, soft crediting this contact.',
], ],
]; ];
$entities[] = [ $entities[] = [