X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FConf.pm;h=ebfad2c361514c31db13dfa5c41c43e2f17d5882;hb=b45292bc0dcdf4604a97fca130dc2a3bc54a9f49;hp=7be0dd0ca62ef3853c3d62524fe9c6fafd8d1e38;hpb=8c804ba59c8b284e1294e9928b5412fdf31e412c;p=freeside.git diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 7be0dd0ca..ebfad2c36 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -92,6 +92,7 @@ sub _usecompat { $compat->$method(@_); } +# needs a non _ name, called externally by config-view now (and elsewhere?) sub _config { my($self,$name,$agentnum)=@_; my $hashref = { 'name' => $name }; @@ -451,11 +452,12 @@ sub _orbase_items { die "don't know about $base items" unless $proto->key eq $base; map { new FS::ConfItem { - 'key' => $_, - 'section' => $proto->section, - 'description' => 'Alternate ' . $proto->description . ' See the billing documentation for details.', - 'type' => $proto->type, - }; + 'key' => $_, + 'base_key' => $proto->key, + 'section' => $proto->section, + 'description' => 'Alternate ' . $proto->description . ' See the billing documentation for details.', + 'type' => $proto->type, + }; } &$listmaker($base); } @base_items, ); @@ -1510,6 +1512,13 @@ worry that config_items is freeside-specific and icky. 'type' => 'checkbox', }, + { + 'key' => 'taxdatadirectdownload', + 'section' => 'billing', #well + 'description' => 'Enable downloading tax data directly from the vendor site', + 'type' => 'checkbox', + }, + { 'key' => 'ignore_incalculable_taxes', 'section' => 'billing', @@ -2751,6 +2760,28 @@ worry that config_items is freeside-specific and icky. 'type' => 'checkbox', }, + { + 'key' => 'queued-max_kids', + 'section' => '', + 'description' => 'Maximum number of queued processes. Defaults to 10.', + 'type' => 'text', + }, + + { + 'key' => 'cancelled_cust-noevents', + 'section' => 'billing', + 'description' => "Don't run events for cancelled customers", + 'type' => 'checkbox', + }, + + { + 'key' => 'agent-invoice_template', + 'section' => 'billing', + 'description' => 'Enable display/edit of old-style per-agent invoice template selection', + 'type' => 'checkbox', + }, + ); 1; +