X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FConf.pm;h=8f4d05b3c673e94c81e4434ba400797dd970fed2;hb=c9081050af4a3bd2d151508605493c946b38ff9d;hp=ea007487b1691f151841edeada66f25bccebffdd;hpb=8fdc0ea36474cfb3d1389f41691c14598559cbe7;p=freeside.git diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index ea007487b..8f4d05b3c 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -1114,7 +1114,7 @@ sub reason_type_options { { 'key' => 'unapplycredits', 'section' => 'deprecated', - 'description' => 'DEPRECATED, now controlled by ACLs. Used to nable "unapplication" of unclosed credits.', + 'description' => 'DEPRECATED, now controlled by ACLs. Used to enable "unapplication" of unclosed credits.', 'type' => 'checkbox', }, @@ -1561,11 +1561,19 @@ and customer address. Include units.', }, { - 'key' => 'invoice_sections_by_location', + 'key' => 'invoice_sections_method', 'section' => 'invoicing', - 'description' => 'Divide invoice into sections according to service location. Currently, this overrides sectioning by package category.', - 'type' => 'checkbox', - 'per_agent' => 1, + 'description' => 'How to group line items on multi-section invoices.', + 'type' => 'select', + 'select_enum' => [ qw(category location) ], + }, + + { + 'key' => 'summary_subtotals_method', + 'section' => 'invoicing', + 'description' => 'How to group line items when calculating summary subtotals. By default, it will be the same method used for grouping invoice sections.', + 'type' => 'select', + 'select_enum' => [ qw(category location) ], }, #quotations seem broken-ish with sections ATM?