X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FConf.pm;h=cb53ef7d176a6e16c1c80a94dd8143d80b7907b9;hp=279a1705801373d6de47a8ee3059f626a32e5168;hb=15e57a4859d967a13113602b112c4aa197ca6002;hpb=21f8f34bda87bf8a51e97a898229e53e0b78b99d diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 279a17058..cb53ef7d1 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, ); @@ -1151,6 +1153,7 @@ worry that config_items is freeside-specific and icky. 'section' => 'username', 'description' => 'Usernames must contain at least one letter', 'type' => 'checkbox', + 'per_agent' => 1, }, { @@ -1378,7 +1381,7 @@ worry that config_items is freeside-specific and icky. { 'key' => 'selfservice_server-base_url', 'section' => '', - 'description' => 'Base URL for the self-service web interface - necessary for special provisioning widgets to find their way.', + 'description' => 'Base URL for the self-service web interface - necessary for some widgets to find their way, including retrieval of non-US state information and phone number provisioning.', 'type' => 'text', }, @@ -2668,6 +2671,23 @@ worry that config_items is freeside-specific and icky. }, { + 'key' => 'selfservice-bulk_format', + 'section' => '', + 'description' => 'Parameter arrangement for selfservice bulk features', + 'type' => 'select', + 'select_enum' => [ '', 'izoom-soap', 'izoom-ftp' ], + 'per_agent' => 1, + }, + + { + 'key' => 'selfservice-bulk_ftp_dir', + 'section' => '', + 'description' => 'Enable bulk ftp provisioning in this folder', + 'type' => 'text', + 'per_agent' => 1, + }, + + { 'key' => 'signup-no_company', 'section' => '', 'description' => "Don't display a field for company name on signup.", @@ -2717,9 +2737,23 @@ worry that config_items is freeside-specific and icky. }, { + 'key' => 'cdr-charged_party-truncate_prefix', + 'section' => '', + 'description' => 'If the charged_party field has this prefix, truncate it to the length in cdr-charged_party-truncate_length.', + 'type' => 'text', + }, + + { + 'key' => 'cdr-charged_party-truncate_length', + 'section' => '', + 'description' => 'If the charged_party field has the prefix in cdr-charged_party-truncate_prefix, truncate it to this length.', + 'type' => 'text', + }, + + { 'key' => 'cdr-charged_party_rewrite', 'section' => '', - 'description' => 'Do charged party rewriting in the freeside-cdrrewrited daemon; useful if CDRs are being dropped off directly in the database and require special charged_party processing such as cdr-charged_party-accountcode.', + 'description' => 'Do charged party rewriting in the freeside-cdrrewrited daemon; useful if CDRs are being dropped off directly in the database and require special charged_party processing such as cdr-charged_party-accountcode or cdr-charged_party-truncate*.', 'type' => 'checkbox', }, @@ -2765,6 +2799,34 @@ worry that config_items is freeside-specific and icky. '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', + }, + + { + 'key' => 'svc_broadband-manage_link', + 'section' => 'UI', + 'description' => 'URL for svc_broadband "Manage Device" link. The following substitutions are available: $ip_addr.', + 'type' => 'text', + }, + + { + 'key' => 'tax-report_groups', + 'section' => '', + 'description' => 'List of grouping possibilities for tax names on reports, one per line, "label op value" (op can be = or !=).', + 'type' => 'textarea', + }, + ); 1;