diff options
author | levinse <levinse> | 2011-01-10 19:46:13 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-01-10 19:46:13 +0000 |
commit | 3aae44e96b429d182a7e36cf0ebb0d4bfef842d9 (patch) | |
tree | de0cc61e48ff0973c13c8e4dbe2380994d4a4135 /httemplate/edit | |
parent | 9a46dd94e70887c5365c4b10d9db0d1b7f1b71ab (diff) |
vitelity API improvements for toll-free and fax, RT11009
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', |