diff options
| author | levinse <levinse> | 2010-12-26 04:09:38 +0000 |
|---|---|---|
| committer | levinse <levinse> | 2010-12-26 04:09:38 +0000 |
| commit | c1bef6df542e7beb5120903031120934f7e582f0 (patch) | |
| tree | 4d00e78b589c5b11fc124e9256fb698bf2dd5e5f /httemplate/edit/svc_phone.cgi | |
| parent | 22ec77a149deda8dcde44d65c6db002935e84dbf (diff) | |
added basic LNP capability to svc_phone including SS, RT10948
Diffstat (limited to 'httemplate/edit/svc_phone.cgi')
| -rw-r--r-- | httemplate/edit/svc_phone.cgi | 35 |
1 files changed, 24 insertions, 11 deletions
diff --git a/httemplate/edit/svc_phone.cgi b/httemplate/edit/svc_phone.cgi index b77d96233..6482165dc 100644 --- a/httemplate/edit/svc_phone.cgi +++ b/httemplate/edit/svc_phone.cgi @@ -1,17 +1,6 @@ <% include( 'elements/svc_Common.html', 'table' => 'svc_phone', 'fields' => \@fields, - 'labels' => { - 'svcnum' => 'Service', - 'countrycode' => 'Country code', - 'phonenum' => 'Phone number', - 'domsvc' => 'Domain', - 'sip_password' => 'SIP password', - 'pin' => 'Voicemail PIN', - 'phone_name' => 'Name', - 'pbxsvc' => 'PBX', - 'locationnum' => 'E911 location', - }, 'svc_new_callback' => sub { my( $cgi, $svc_x, $part_svc, $cust_pkg, $fields, $opt ) = @_; $svc_x->locationnum($cust_pkg->locationnum) if $cust_pkg; @@ -73,5 +62,29 @@ push @fields, { field => 'pbxsvc', { field => 'custnum', type=> 'hidden' }, #for new cust_locations ; +if ( $conf->exists('svc_phone-lnp') ) { + push @fields, + { value => 'Number Portability', + type => 'tablebreak-tr-title', + colspan => 7, + }, + { field => 'lnp_status', + type => 'select-lnp_status', + }, + { field => 'portable', + type => 'checkbox', + }, + 'lrn', + { field => 'lnp_desired_due_date', + type => 'input-date-field', + }, + { field => 'lnp_due_date', + type => 'input-date-field', + noinit => 1, + }, + 'lnp_other_provider', + 'lnp_other_provider_account', +; +} </%init> |
