Merge branch 'master' of jon/com.megaphonetech.automatchinggift into master

Thanks Jon!
This commit is contained in:
CiviWare Solutions 2018-09-06 15:34:34 +00:00 committed by Gogs
commit 6278211c4c

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[] = [