summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorlevinse <levinse>2011-01-10 19:44:43 +0000
committerlevinse <levinse>2011-01-10 19:44:43 +0000
commit1e1d4445682c0e69781654ea7f2851d861031e9f (patch)
tree2bacd69dfb9d063dcfab4afc811efbb64c8ff85b /httemplate/edit
parent7b12eb3193416bd6c3eb9ae518af229885257626 (diff)
vitelity API improvements for toll-free and fax, RT11009
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/process/svc_phone.html3
-rw-r--r--httemplate/edit/svc_phone.cgi2
2 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/edit/process/svc_phone.html b/httemplate/edit/process/svc_phone.html
index ddc938216..9dd1226cc 100644
--- a/httemplate/edit/process/svc_phone.html
+++ b/httemplate/edit/process/svc_phone.html
@@ -9,6 +9,9 @@
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?
+my $tollfreephonenum = $cgi->param('tollfreephonenum');
+$cgi->param('phonenum',$tollfreephonenum) if $tollfreephonenum =~ /^\d+$/;
+
my $args_callback = sub {
my( $cgi, $object ) = @_;
diff --git a/httemplate/edit/svc_phone.cgi b/httemplate/edit/svc_phone.cgi
index 8dd58d7ed..1623ed38a 100644
--- a/httemplate/edit/svc_phone.cgi
+++ b/httemplate/edit/svc_phone.cgi
@@ -38,6 +38,8 @@ push @fields, { field => 'pbxsvc',
maxlength => $conf->config('svc_phone-phone_name-max_length'),
},
'route',
+ 'forwarddst',
+ 'email',
{ value => 'E911 Information',
type => 'tablebreak-tr-title',