3 +--------------------------------------------------------------------+
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2017 |
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
31 * @copyright CiviCRM LLC (c) 2004-2017
33 * Settings metadata file
37 'cvv_backoffice_required' => array(
38 'group_name' => 'Contribute Preferences',
39 'group' => 'contribute',
40 'name' => 'cvv_backoffice_required',
42 'quick_form_type' => 'YesNo',
45 'title' => 'CVV required for backoffice?',
48 'description' => 'Is the CVV code required for back office credit card transactions',
49 'help_text' => 'If set it back-office credit card transactions will required a cvv code. Leave as required unless you have a very strong reason to change',
51 'contribution_invoice_settings' => array(
52 'group_name' => 'Contribute Preferences',
53 'group' => 'contribute',
54 'name' => 'contribution_invoice_settings',
57 'invoice_prefix' => 'INV_',
58 'credit_notes_prefix' => 'CN_',
60 'due_date_period' => 'days',
62 'tax_term' => 'Sales Tax',
63 'tax_display_settings' => 'Inclusive',
66 'title' => 'Contribution Invoice Settings',
69 'description' => NULL,
73 'group_name' => 'Contribute Preferences',
74 'group' => 'contribute',
75 'name' => 'invoicing',
77 'html_type' => 'checkbox',
78 'quick_form_type' => 'Element',
81 'title' => 'Enable Tax and Invoicing',
84 'description' => NULL,
87 'acl_financial_type' => array(
88 'group_name' => 'Contribute Preferences',
89 'group' => 'contribute',
90 'name' => 'acl_financial_type',
92 'html_type' => 'checkbox',
93 'quick_form_type' => 'Element',
96 'title' => 'Enable Access Control by Financial Type',
99 'description' => NULL,
102 'deferred_revenue_enabled' => array(
103 'group_name' => 'Contribute Preferences',
104 'group' => 'contribute',
105 'name' => 'deferred_revenue_enabled',
107 'html_type' => 'checkbox',
108 'quick_form_type' => 'Element',
111 'title' => 'Enable Deferred Revenue',
114 'description' => NULL,
117 'default_invoice_page' => array(
118 'group_name' => 'Contribute Preferences',
119 'group' => 'contribute',
120 'name' => 'default_invoice_page',
122 'quick_form_type' => 'Element',
124 'pseudoconstant' => array(
125 // @todo - handle table style pseudoconstants for settings & avoid deprecated function.
126 'callback' => 'CRM_Contribute_PseudoConstant::contributionPage',
128 'html_type' => 'select',
130 'title' => 'Default invoice payment page',
133 'description' => NULL,
136 'always_post_to_accounts_receivable' => array(
137 'group_name' => 'Contribute Preferences',
138 'group' => 'contribute',
139 'name' => 'always_post_to_accounts_receivable',
141 'html_type' => 'checkbox',
142 'quick_form_type' => 'Element',
145 'title' => 'Always post to Accounts Receivable?',
148 'description' => NULL,
151 'update_contribution_on_membership_type_change' => array(
152 'group_name' => 'Contribute Preferences',
153 'group' => 'contribute',
154 'name' => 'update_contribution_on_membership_type_change',
156 'html_type' => 'checkbox',
157 'quick_form_type' => 'Element',
160 'title' => 'Automatically update related contributions when Membership Type is changed',
163 'description' => 'Enabling this setting will update related contribution of membership(s) except if the membership is paid for with a recurring contribution.',