X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FConf.pm;h=e2ebd09af8f5e2836335746989183782e6ce6ac0;hb=e42acf0982119c844bf1cf67d93ccfcebdf445ae;hp=a53fedb8e619f14171b9a35ff68e2d10d7f04fda;hpb=afe6bb2515f2bde29a74c056221fd154dc10001f;p=freeside.git diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index a53fedb8e..e2ebd09af 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -10,6 +10,7 @@ use IO::File; use File::Basename; use MIME::Base64; use Locale::Currency; +use Email::Address; use FS::ConfItem; use FS::ConfDefaults; use FS::Locales; @@ -542,10 +543,11 @@ defined, company_name), appropriately combined based on their current values. sub invoice_from_full { my ($self, $agentnum) = @_; - ( $self->config('invoice_from_name', $agentnum) - || $self->config('company_name', $agentnum) - ). - ' <'. $self->config('invoice_from', $agentnum ). '>'; + my $name = $self->config('invoice_from_name', $agentnum) + || $self->config('company_name', $agentnum); + + Email::Address->new( $name => $self->config('invoice_from', $agentnum ) ) + ->format; } =back @@ -2468,7 +2470,7 @@ and customer address. Include units.', 'section' => 'taxation', 'description' => 'Tax data vendor you are using.', 'type' => 'select', - 'select_enum' => [ '', 'cch', 'billsoft', 'avalara', 'suretax' ], + 'select_enum' => [ '', 'cch', 'billsoft', 'avalara', 'suretax', 'compliance_solutions' ], }, { @@ -2541,6 +2543,20 @@ and customer address. Include units.', 'per_agent' => 1, }, + { + 'key' => 'compliance_solutions-access_code', + 'section' => 'taxation', + 'description' => 'Access code for Compliance Solutions tax rating service', + 'type' => 'text', + }, + { + 'key' => 'compliance_solutions-regulatory_code', + 'section' => 'taxation', + 'description' => 'Compliance Solutions regulatory status.', + 'type' => 'select', + 'select_enum' => [ '', 'ILEC', 'IXC', 'CLEC', 'VOIP', 'ISP', 'Wireless' ], + 'per_agent' => 1, + }, { 'key' => 'welcome_msgnum', @@ -5757,6 +5773,13 @@ and customer address. Include units.', }, { + 'key' => 'selfservice-ACH_info_readonly', + 'section' => 'self-service', + 'description' => 'make ACH on self service portal read only', + 'type' => 'checkbox', + }, + + { 'key' => 'selfservice-announcement', 'section' => 'self-service', 'description' => 'HTML announcement to display to all authenticated users on account overview page', @@ -5765,8 +5788,8 @@ and customer address. Include units.', { 'key' => 'logout-timeout', - 'section' => 'UI', - 'description' => 'If set, automatically log users out of the backoffice after this many minutes.', + 'section' => 'deprecated', + 'description' => 'Deprecated. Used to automatically log users out of the backoffice after this many minutes. Set session timeouts in employee groups instead.', 'type' => 'text', },