X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FConf.pm;h=2f8ac243db3e0b3ac98d215f50ae640b7b83d93f;hp=721b7bdf9ee207c668a5140f7a851b528274d6b4;hb=35d34f06298d62aac3d4d9a2b486a2759d6d4952;hpb=c38b6699d83ba0d7e3fd582373b9c8e78c9217d2 diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 721b7bdf9..2f8ac243d 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -1215,6 +1215,7 @@ my $validate_email = sub { $_[0] =~ 'section' => 'invoicing', 'description' => 'Indicates that html and latex invoices should be in summary style and make use of invoice_latexsummary.', 'type' => 'checkbox', + 'per_agent' => 1, }, { @@ -1578,9 +1579,19 @@ and customer address. Include units.', { 'key' => 'invoice_sections', 'section' => 'invoicing', - 'description' => 'Split invoice into sections and label according to package category when enabled.', + 'description' => 'Split invoice into sections and label according to either package category or location when enabled.', 'type' => 'checkbox', 'per_agent' => 1, + 'config_bool' => 1, + }, + + { + 'key' => 'invoice_sections_multilocation', + 'section' => 'invoicing', + 'description' => 'Enable invoice_sections for for any bill with at least this many locations on the bill.', + 'type' => 'text', + 'per_agent' => 1, + 'validate' => sub { shift =~ /^\d+$/ ? undef : 'Please enter a number' }, }, { @@ -1603,6 +1614,8 @@ and customer address. Include units.', 'section' => 'invoicing', 'description' => 'Include taxes within each section of mutli-section invoices.', 'type' => 'checkbox', + 'per_agent' => 1, + 'agent_bool' => 1, }, { @@ -1686,6 +1699,13 @@ and customer address. Include units.', 'description' => 'Template to use for manual payment receipts.', %msg_template_options, }, + + { + 'key' => 'payment_receipt_msgnum_auto', + 'section' => 'notification', + 'description' => 'Automatic payments will cause a post-payment to use a message template for automatic payment receipts rather than a post payment statement.', + %msg_template_options, + }, { 'key' => 'payment_receipt_from',