summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorlevinse <levinse>2011-01-10 19:46:13 +0000
committerlevinse <levinse>2011-01-10 19:46:13 +0000
commit3aae44e96b429d182a7e36cf0ebb0d4bfef842d9 (patch)
treede0cc61e48ff0973c13c8e4dbe2380994d4a4135 /httemplate/edit/process
parent9a46dd94e70887c5365c4b10d9db0d1b7f1b71ab (diff)
vitelity API improvements for toll-free and fax, RT11009
Diffstat (limited to 'httemplate/edit/process')
-rw-r--r--httemplate/edit/process/svc_phone.html3
1 files changed, 3 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 ) = @_;