diff options
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/process/svc_phone.html | 3 | ||||
-rw-r--r-- | httemplate/edit/svc_phone.cgi | 2 |
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', |