projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test for ignoring location_type_id on import
[civicrm-core.git]
/
settings
/
Contribute.setting.php
diff --git
a/settings/Contribute.setting.php
b/settings/Contribute.setting.php
index 57b57eda2a6e2a03c55493d318df7cb77508cfdb..be0c94a8ef310d66e3862cbfe601df8a29c095e7 100644
(file)
--- a/
settings/Contribute.setting.php
+++ b/
settings/Contribute.setting.php
@@
-41,17
+41,8
@@
return [
'group' => 'contribute',
'name' => 'contribution_invoice_settings',
'type' => 'Array',
'group' => 'contribute',
'name' => 'contribution_invoice_settings',
'type' => 'Array',
- 'default' => [
- 'invoice_prefix' => 'INV_',
- 'credit_notes_prefix' => 'CN_',
- 'due_date' => '10',
- 'due_date_period' => 'days',
- 'notes' => '',
- 'tax_term' => 'Sales Tax',
- 'tax_display_settings' => 'Inclusive',
- ],
'add' => '4.7',
'add' => '4.7',
- 'title' => ts('Deprecated setting'),
+ 'title' => ts('Deprecated
, virtualized
setting'),
'is_domain' => 1,
'is_contact' => 0,
'help_text' => NULL,
'is_domain' => 1,
'is_contact' => 0,
'help_text' => NULL,
@@
-74,6
+65,7
@@
return [
'settings_pages' => ['contribute' => ['weight' => 90]],
],
'invoice_prefix' => [
'settings_pages' => ['contribute' => ['weight' => 90]],
],
'invoice_prefix' => [
+ 'default' => 'INV_',
'html_type' => 'text',
'name' => 'invoice_prefix',
'add' => '5.23',
'html_type' => 'text',
'name' => 'invoice_prefix',
'add' => '5.23',
@@
-84,6
+76,7
@@
return [
'is_contact' => 0,
],
'invoice_due_date' => [
'is_contact' => 0,
],
'invoice_due_date' => [
+ 'default' => '10',
'name' => 'invoice_due_date',
'html_type' => 'text',
'title' => ts('Due Date'),
'name' => 'invoice_due_date',
'html_type' => 'text',
'title' => ts('Due Date'),
@@
-93,6
+86,7
@@
return [
'is_contact' => 0,
],
'invoice_due_date_period' => [
'is_contact' => 0,
],
'invoice_due_date_period' => [
+ 'default' => 'days',
'html_type' => 'select',
'name' => 'invoice_due_date_period',
'title' => ts('For transmission'),
'html_type' => 'select',
'name' => 'invoice_due_date_period',
'title' => ts('For transmission'),
@@
-110,6
+104,7
@@
return [
],
],
'invoice_notes' => [
],
],
'invoice_notes' => [
+ 'default' => '',
'name' => 'invoice_notes',
'html_type' => 'wysiwyg',
'title' => ts('Notes or Standard Terms'),
'name' => 'invoice_notes',
'html_type' => 'wysiwyg',
'title' => ts('Notes or Standard Terms'),
@@
-131,6
+126,7
@@
return [
'description' => ts('Should a pdf invoice be emailed automatically?'),
],
'tax_term' => [
'description' => ts('Should a pdf invoice be emailed automatically?'),
],
'tax_term' => [
+ 'default' => 'Sales Tax',
'name' => 'tax_term',
'html_type' => 'text',
'add' => '5.23',
'name' => 'tax_term',
'html_type' => 'text',
'add' => '5.23',
@@
-140,6
+136,7
@@
return [
'is_contact' => 0,
],
'tax_display_settings' => [
'is_contact' => 0,
],
'tax_display_settings' => [
+ 'default' => 'Inclusive',
'html_type' => 'select',
'name' => 'tax_display_settings',
'type' => CRM_Utils_Type::T_STRING,
'html_type' => 'select',
'name' => 'tax_display_settings',
'type' => CRM_Utils_Type::T_STRING,