diff options
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/edit/svc_broadband.cgi | 17 | ||||
-rw-r--r-- | httemplate/view/svc_broadband.cgi | 6 |
2 files changed, 7 insertions, 16 deletions
diff --git a/httemplate/edit/svc_broadband.cgi b/httemplate/edit/svc_broadband.cgi index b11fec7a7..ae7f50fca 100644 --- a/httemplate/edit/svc_broadband.cgi +++ b/httemplate/edit/svc_broadband.cgi @@ -2,21 +2,6 @@ 'post_url' => popurl(1). 'process/svc_broadband.cgi', 'name' => 'broadband service', 'table' => 'svc_broadband', - 'labels' => { 'svcnum' => 'Service', - 'description' => 'Description', - 'ip_addr' => 'IP address', - 'speed_down' => 'Download speed', - 'speed_up' => 'Upload speed', - 'blocknum' => 'Router/Block', - 'block_label' => 'Router/Block', - 'mac_addr' => 'MAC address', - 'latitude' => 'Latitude', - 'longitude' => 'Longitude', - 'altitude' => 'Altitude', - 'vlan_profile' => 'VLAN profile', - 'performance_profile' => 'Performance profile', - 'authkey' => 'Authentication key', - }, 'fields' => \@fields, 'field_callback' => $callback, 'dummy' => $cgi->query_string, @@ -35,7 +20,7 @@ my $conf = new FS::Conf; my @fields = ( qw( description ip_addr speed_down speed_up blocknum ), { field=>'block_label', type=>'fixed' }, - qw( mac_addr latitude longitude altitude vlan_profile performance_profile authkey ) + qw( mac_addr latitude longitude altitude vlan_profile performance_profile authkey plan_id ) ); my $fixedblock = ''; diff --git a/httemplate/view/svc_broadband.cgi b/httemplate/view/svc_broadband.cgi index f552e9bc7..12e5f0f5d 100644 --- a/httemplate/view/svc_broadband.cgi +++ b/httemplate/view/svc_broadband.cgi @@ -83,6 +83,10 @@ <TD ALIGN="right">Authentication Key</TD> <TD BGCOLOR="#ffffff"><%$auth_key%></TD> </TR> + <TR> + <TD ALIGN="right">Service Plan Id</TD> + <TD BGCOLOR="#ffffff"><%$plan_id%></TD> + </TR> <TR COLSPAN="2"><TD></TD></TR> % %foreach (sort { $a cmp $b } $svc_broadband->virtual_fields) { @@ -203,6 +207,7 @@ my ( $vlan_profile, $auth_key, $description, + $plan_id, ) = ( $svc_broadband->getfield('speed_down'), $svc_broadband->getfield('speed_up'), @@ -214,6 +219,7 @@ my ( $svc_broadband->vlan_profile, $svc_broadband->auth_key, $svc_broadband->description, + $svc_broadband->plan_id, ); </%init> |