X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fsvc_phone.cgi;h=2c19d2cd9026e7b284ea7cd6fac9da03c745a070;hb=dd65ba99bb9281571f19744154a3b03bcd3f01ab;hp=b77d962338f84e0ea04f3a0cc4d9366992b4752c;hpb=b5bb1a07a26d5666cb059b5299a6ca2883f2153a;p=freeside.git diff --git a/httemplate/edit/svc_phone.cgi b/httemplate/edit/svc_phone.cgi index b77d96233..2c19d2cd9 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; @@ -48,10 +37,12 @@ push @fields, { field => 'pbxsvc', type => 'text', maxlength => $conf->config('svc_phone-phone_name-max_length'), }, + 'forwarddst', + 'email', { value => 'E911 Information', type => 'tablebreak-tr-title', - colspan => 7, + colspan => 8, }, { field => 'locationnum', type => 'select-cust_location', @@ -73,5 +64,30 @@ 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 => 8, + }, + { field => 'lnp_status', + type => 'select-lnp_status', + }, + 'lnp_reject_reason', + { 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', +; +}