summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-01-25 19:47:54 -0800
committerIvan Kohler <ivan@freeside.biz>2013-01-25 19:47:54 -0800
commitdb3e520bad7240b3f6f0d53a2b55a64ef116890b (patch)
tree69d34d8fb72f895482efd5bda7863c10d7057d3f /httemplate/edit/process
parente94760d804c5638ecbd1487e8c3a2797f0034846 (diff)
allow manual override of phone number, RT#19883
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 7a3b43d32..611b5142b 100644
--- a/httemplate/edit/process/svc_phone.html
+++ b/httemplate/edit/process/svc_phone.html
@@ -28,6 +28,9 @@ my $right = $opt{'bulk'} ? 'Bulk provision customer service'
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right($right);
+$cgi->param('phonenum', $cgi->param('phonenum_manual') )
+ if $cgi->param('phonenum_which') eq 'phonenum_manual';
+
my $tollfreephonenum = $cgi->param('tollfreephonenum');
$cgi->param('phonenum',$tollfreephonenum) if $tollfreephonenum =~ /^\d+$/;