Merge pull request #11077 from JMAConsulting/CRM-21245
[civicrm-core.git] / settings / Contribute.setting.php
index 54115ddf451dd79b25fe8370cf935bf73bdc71fd..a9b510998806472f3730b7befc684d7c5f085935 100644 (file)
@@ -135,49 +135,34 @@ return array(
     'description' => NULL,
     'help_text' => NULL,
   ),
-  'financial_account_bal_enable' => array(
+  'always_post_to_accounts_receivable' => array(
     'group_name' => 'Contribute Preferences',
     'group' => 'contribute',
-    'name' => 'financial_account_bal_enable',
+    'name' => 'always_post_to_accounts_receivable',
     'type' => 'Integer',
     'html_type' => 'checkbox',
     'quick_form_type' => 'Element',
     'default' => 0,
     'add' => '4.7',
-    'title' => 'Enable Financial Account Balances',
-    'is_domain' => 1,
-    'is_contact' => 0,
-    'description' => NULL,
-    'help_text' => NULL,
-  ),
-  'prior_financial_period' => array(
-    'group_name' => 'Contribute Preferences',
-    'group' => 'contribute',
-    'name' => 'prior_financial_period',
-    'type' => 'activityDate',
-    'quick_form_type' => 'Date',
-    'html_type' => 'Date',
-    'default' => NULL,
-    'add' => '4.7',
-    'title' => 'Prior Financial Period',
+    'title' => 'Always post to Accounts Receivable?',
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
     'help_text' => NULL,
   ),
-  'always_post_to_accounts_receivable' => array(
+  'update_contribution_on_membership_type_change' => array(
     'group_name' => 'Contribute Preferences',
     'group' => 'contribute',
-    'name' => 'always_post_to_accounts_receivable',
+    'name' => 'update_contribution_on_membership_type_change',
     'type' => 'Integer',
     'html_type' => 'checkbox',
     'quick_form_type' => 'Element',
     'default' => 0,
     'add' => '4.7',
-    'title' => 'Always post to Accounts Receivable?',
+    'title' => 'Automatically update related contributions when Membership Type is changed',
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => NULL,
+    '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,
   ),
 );