summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authormark <mark>2010-08-03 03:30:34 +0000
committermark <mark>2010-08-03 03:30:34 +0000
commit124601883f5c26ddc16d0f9d0890614dfd58a91e (patch)
tree6099d3232eceea17ab97cbbc6da2c0a64b398770 /FS
parent5f38c4055b82da17afabf6f65b0afc951de641fa (diff)
customer view tab for an external info page, RT#8903
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Conf.pm15
-rw-r--r--FS/FS/Mason.pm1
2 files changed, 15 insertions, 1 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index fe5d3ed26..068ed9756 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -3450,7 +3450,6 @@ and customer address. Include units.',
'per_agent' => 1,
},
-
{
'key' => 'selfservice-menu_top_image',
'section' => 'self-service',
@@ -3792,6 +3791,20 @@ and customer address. Include units.',
'select_enum' => [ 'misc_info', 'top' ],
},
+ {
+ 'key' => 'cust_main-custom_link',
+ 'section' => 'UI',
+ 'description' => 'URL to use as source for the "Custom" tab in the View Customer page. The custnum will be appended.',
+ 'type' => 'text',
+ },
+
+ {
+ 'key' => 'cust_main-custom_title',
+ 'section' => 'UI',
+ 'description' => 'Title for the "Custom" tab in the View Customer page.',
+ 'type' => 'text',
+ },
+
{ key => "apacheroot", section => "deprecated", description => "<b>DEPRECATED</b>", type => "text" },
{ key => "apachemachine", section => "deprecated", description => "<b>DEPRECATED</b>", type => "text" },
{ key => "apachemachines", section => "deprecated", description => "<b>DEPRECATED</b>", type => "text" },
diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm
index 8efab49bd..8a617ccde 100644
--- a/FS/FS/Mason.pm
+++ b/FS/FS/Mason.pm
@@ -107,6 +107,7 @@ if ( -e $addl_handler_use_file ) {
#selectlayers.html
use Locale::Country;
use Business::US::USPS::WebTools::AddressStandardization;
+ use LWP::UserAgent;
use FS;
use FS::UID qw( getotaker dbh datasrc driver_name );
use FS::Record qw( qsearch qsearchs fields dbdef