RT# 79636 Add conf flag invoice_sections_multilocation
[freeside.git] / FS / FS / Conf.pm
index 82bd2e3..d02a026 100644 (file)
@@ -1713,6 +1713,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'     => 'invoicing',
@@ -6323,4 +6332,3 @@ and customer address. Include units.',
 );
 
 1;
-