+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2017 |
+ | Copyright CiviCRM LLC (c) 2004-2019 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2017
+ * @copyright CiviCRM LLC (c) 2004-2019
*
* Settings metadata file
*/
'group' => 'contribute',
'name' => 'cvv_backoffice_required',
'type' => 'Boolean',
+ 'html_type' => 'radio',
'quick_form_type' => 'YesNo',
'default' => '1',
'add' => '4.1',
'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',
),
'contribution_invoice_settings' => array(
+ // @todo our standard is to have a setting per item not to hide settings in an array with
+ // no useful metadata. Undo this setting.
'group_name' => 'Contribute Preferences',
'group' => 'contribute',
'name' => 'contribution_invoice_settings',
'title' => 'Enable Tax and Invoicing',
'is_domain' => 1,
'is_contact' => 0,
- 'description' => NULL,
- 'help_text' => NULL,
+ 'on_change' => array(
+ 'CRM_Invoicing_Utils::onToggle',
+ ),
),
'acl_financial_type' => array(
'group_name' => 'Contribute Preferences',
'is_contact' => 0,
'description' => NULL,
'help_text' => NULL,
+ 'help' => ['id' => 'acl_financial_type'],
),
'deferred_revenue_enabled' => array(
'group_name' => 'Contribute Preferences',