X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FContribute.setting.php;h=a9b510998806472f3730b7befc684d7c5f085935;hb=2db35bf6ee39bf6d611681a9163515fa89115765;hp=67313e3031a626acc8e8b3a76e1d1add4c1946e6;hpb=5502c5cc7ebfd4e5a33f66fce209e4fdfcf5e83d;p=civicrm-core.git diff --git a/settings/Contribute.setting.php b/settings/Contribute.setting.php index 67313e3031..a9b5109988 100644 --- a/settings/Contribute.setting.php +++ b/settings/Contribute.setting.php @@ -150,4 +150,19 @@ return array( 'description' => NULL, 'help_text' => NULL, ), + 'update_contribution_on_membership_type_change' => array( + 'group_name' => 'Contribute Preferences', + 'group' => 'contribute', + 'name' => 'update_contribution_on_membership_type_change', + 'type' => 'Integer', + 'html_type' => 'checkbox', + 'quick_form_type' => 'Element', + 'default' => 0, + 'add' => '4.7', + 'title' => 'Automatically update related contributions when Membership Type is changed', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'Enabling this setting will update related contribution of membership(s) except if the membership is paid for with a recurring contribution.', + 'help_text' => NULL, + ), );