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 'html_type' => 'radio',
43 'quick_form_type' => 'YesNo',
46 'title' => 'CVV required for backoffice?',
49 'description' => 'Is the CVV code required for back office credit card transactions',
50 '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',
52 'contribution_invoice_settings' => array(
53 // @todo our standard is to have a setting per item not to hide settings in an array with
54 // no useful metadata. Undo this setting.
55 'group_name' => 'Contribute Preferences',
56 'group' => 'contribute',
57 'name' => 'contribution_invoice_settings',
60 'invoice_prefix' => 'INV_',
61 'credit_notes_prefix' => 'CN_',
63 'due_date_period' => 'days',
65 'tax_term' => 'Sales Tax',
66 'tax_display_settings' => 'Inclusive',
69 'title' => 'Contribution Invoice Settings',
72 'description' => NULL,
76 'group_name' => 'Contribute Preferences',
77 'group' => 'contribute',
78 'name' => 'invoicing',
80 'html_type' => 'checkbox',
81 'quick_form_type' => 'Element',
84 'title' => 'Enable Tax and Invoicing',
87 'description' => NULL,
90 'acl_financial_type' => array(
91 'group_name' => 'Contribute Preferences',
92 'group' => 'contribute',
93 'name' => 'acl_financial_type',
95 'html_type' => 'checkbox',
96 'quick_form_type' => 'Element',
99 'title' => 'Enable Access Control by Financial Type',
102 'description' => NULL,
104 'help' => ['id' => 'acl_financial_type'],
106 'deferred_revenue_enabled' => array(
107 'group_name' => 'Contribute Preferences',
108 'group' => 'contribute',
109 'name' => 'deferred_revenue_enabled',
111 'html_type' => 'checkbox',
112 'quick_form_type' => 'Element',
115 'title' => 'Enable Deferred Revenue',
118 'description' => NULL,
121 'default_invoice_page' => array(
122 'group_name' => 'Contribute Preferences',
123 'group' => 'contribute',
124 'name' => 'default_invoice_page',
126 'quick_form_type' => 'Select',
128 'pseudoconstant' => array(
129 // @todo - handle table style pseudoconstants for settings & avoid deprecated function.
130 'callback' => 'CRM_Contribute_PseudoConstant::contributionPage',
132 'html_type' => 'select',
134 'title' => 'Default invoice payment page',
137 'description' => NULL,
140 'always_post_to_accounts_receivable' => array(
141 'group_name' => 'Contribute Preferences',
142 'group' => 'contribute',
143 'name' => 'always_post_to_accounts_receivable',
145 'html_type' => 'checkbox',
146 'quick_form_type' => 'Element',
149 'title' => 'Always post to Accounts Receivable?',
152 'description' => NULL,
155 'update_contribution_on_membership_type_change' => array(
156 'group_name' => 'Contribute Preferences',
157 'group' => 'contribute',
158 'name' => 'update_contribution_on_membership_type_change',
160 'html_type' => 'checkbox',
161 'quick_form_type' => 'Element',
164 'title' => 'Automatically update related contributions when Membership Type is changed',
167 'description' => 'Enabling this setting will update related contribution of membership(s) except if the membership is paid for with a recurring contribution.',