summaryrefslogtreecommitdiff
path: root/FS/FS/Conf.pm
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2018-03-28 00:42:24 -0500
committerMitch Jackson <mitch@freeside.biz>2018-03-28 00:44:55 -0500
commit5dea8988e7a25387bb3a3fedff67b62851280016 (patch)
tree278ee1335d8921c799d7b9535fabe7865e262413 /FS/FS/Conf.pm
parente75717bd49c68a49940ebd668368a6542097a234 (diff)
RT# 79636 Add conf flag invoice_sections_multilocation
Diffstat (limited to 'FS/FS/Conf.pm')
-rw-r--r--FS/FS/Conf.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index 721b7bd..9dd10a4 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -1583,6 +1583,15 @@ and customer address. Include units.',
'per_agent' => 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' },
+ },
+
{
'key' => 'invoice_include_aging',
'section' => 'invoice_balances',