X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FConf.pm;h=9f234da11d296b024e093008d920081c760b9996;hb=5828f9ef8d7c9e424423ba2063840060d2da8b6e;hp=ed72354ddb01fcdb08c86406205ed868ff0311f3;hpb=6f94e176aa7b143eb9f1fa5c3a1cdd362361636f;p=freeside.git diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index ed72354dd..9f234da11 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, }, { @@ -1546,7 +1547,7 @@ and customer address. Include units.', { 'key' => 'invoice_default_terms', 'section' => 'invoicing', - 'description' => 'Optional default invoice term, used to calculate a due date printed on invoices.', + 'description' => 'Optional default invoice term, used to calculate a due date printed on invoices. WARNING: If you do not want to change the terms on existing invoices, do not change this after going live.', 'type' => 'select', 'per_agent' => 1, 'select_enum' => \@invoice_terms, @@ -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' }, }, { @@ -1598,6 +1609,15 @@ and customer address. Include units.', 'select_enum' => [ qw(category location) ], }, + { + 'key' => 'invoice_sections_with_taxes', + 'section' => 'invoicing', + 'description' => 'Include taxes within each section of mutli-section invoices.', + 'type' => 'checkbox', + 'per_agent' => 1, + 'agent_bool' => 1, + }, + { 'key' => 'summary_subtotals_method', 'section' => 'invoicing', @@ -2752,13 +2772,6 @@ and customer address. Include units.', 'type' => 'checkbox', }, - { - 'key' => 'manual_process-single_invoice_amount', - 'section' => 'payments', - 'description' => 'When entering manual credit card and ACH payments, amount will not autofill if the customer has more than one open invoice', - 'type' => 'checkbox', - }, - { 'key' => 'manual_process-pkgpart', 'section' => 'payments', @@ -5968,4 +5981,3 @@ and customer address. Include units.', ); 1; -