diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-01-25 19:47:57 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-01-25 19:47:57 -0800 |
| commit | c2cd954736936c7b872229f5c0eea7e7689f170b (patch) | |
| tree | 8f391af61ce257924737a7049c64e329573a8c08 /httemplate/edit | |
| parent | d54e4b6ad9ddd6a753e81765d27ee285f7defbb0 (diff) | |
allow manual override of phone number, RT#19883
Diffstat (limited to 'httemplate/edit')
| -rw-r--r-- | httemplate/edit/process/svc_phone.html | 3 |
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+$/; |
