}
}
+my $validate_email = sub { $_[0] =~
+ /^[^@]+\@[[:alnum:]-]+(\.[[:alnum:]-]+)+$/
+ ? '' : 'Invalid email address';
+ };
+
#Billing (81 items)
#Invoicing (50 items)
#UI (69 items)
'description' => 'Return address on email invoices (address only, see invoice_from_name)',
'type' => 'text',
'per_agent' => 1,
- 'validate' => sub { $_[0] =~
- /^[^@]+\@[[:alnum:]-]+(\.[[:alnum:]-]+)+$/
- ? '' : 'Invalid email address';
- }
+ 'validate' => $validate_email,
},
{
},
{
- 'key' => 'invoicehtmlwatermark',
+ 'key' => 'invoice_htmlwatermark',
'section' => 'invoicing',
'description' => 'Watermark for HTML invoices. Appears in a semitransparent positioned DIV overlaid on the main invoice container.',
'type' => 'textarea',
},
{
- 'key' => 'invoicelatexwatermark',
+ 'key' => 'invoice_latexwatermark',
'section' => 'invoicing',
'description' => 'Watermark for LaTeX invoices. See "texdoc background" for information on what this can contain. The content itself should be enclosed in braces, optionally followed by a comma and any formatting options.',
'type' => 'textarea',
'description' => 'Template to use for welcome messages when a svc_acct record is created.',
%msg_template_options,
},
-
+
+ { 'key' => 'svc_acct_welcome_letter',
+ 'section' => 'notification',
+ 'description' => 'Optional LaTex template for a printed welcome letter when a svc_acct record is created. Fields from the customer and svc_acct records are available for substitution.',
+ 'type' => 'textarea',
+ },
+
{
'key' => 'svc_acct_welcome_exclude',
'section' => 'notification',
- 'description' => 'A list of svc_acct services for which no welcome email is to be sent.',
+ 'description' => 'A list of svc_acct services for which no welcome email or letter is to be sent.',
'type' => 'select-part_svc',
'multiple' => 1,
},
'select_enum' => [ 'text/plain', 'text/html' ],
},
- {
- 'key' => 'payment_history_msgnum',
- 'section' => 'notification',
- 'description' => 'Template to use for sending payment history to customer',
- %msg_template_options,
- },
-
{
'key' => 'payby',
'section' => 'billing',
'type' => 'text',
},
+ {
+ 'key' => 'dump-email_to',
+ 'section' => '',
+ 'description' => "Optional email address to send success/failure message for database dumps.",
+ 'type' => 'text',
+ 'validate' => $validate_email,
+ },
+
{
'key' => 'users-allow_comp',
'section' => 'deprecated',
'per_agent' => 1,
},
- {
- 'key' => 'city_not_required',
- 'section' => 'required',
- 'description' => 'Turn off requirement for a City to be entered for billing & shipping addresses',
- 'type' => 'checkbox',
- 'per_agent' => 1,
- },
-
{
'key' => 'echeck-void',
'section' => 'deprecated',
'type' => 'text',
},
+ {
+ 'key' => 'batchconfig-nacha-origin_name',
+ 'section' => 'billing',
+ 'description' => 'Configuration for NACHA batching, Origin name (defaults to company name, but sometimes bank name is needed instead.)',
+ 'type' => 'text',
+ },
+
{
'key' => 'batch-manual_approval',
'section' => 'billing',
'type' => 'checkbox',
},
+ {
+ 'key' => 'cust_main-no_city_in_address',
+ 'section' => 'UI',
+ 'description' => 'Turn off City for billing & shipping addresses',
+ 'type' => 'checkbox',
+ },
+
{
'key' => 'census_year',
'section' => 'UI',
'type' => 'checkbox',
},
+ {
+ 'key' => 'selfservice-enable_payment_without_balance',
+ 'section' => 'self-service',
+ 'description' => 'Allow selfservice customers to make payments even if balance is zero or below (resulting in an unapplied payment and negative balance.)',
+ 'type' => 'checkbox',
+ },
+
{
'key' => 'logout-timeout',
'section' => 'UI',