X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_broadband.cgi;h=dead70b7f734832037d1a0be4de7c291538c2192;hb=b431ece7b4a71aa5771f44393da582692f668817;hp=0e9656b1547aa63e129dfa8c92f5d4eb341fb38a;hpb=7e4c4494f0ca232a482fe94f78083fc250e2bd4b;p=freeside.git diff --git a/httemplate/view/svc_broadband.cgi b/httemplate/view/svc_broadband.cgi index 0e9656b15..dead70b7f 100644 --- a/httemplate/view/svc_broadband.cgi +++ b/httemplate/view/svc_broadband.cgi @@ -8,7 +8,9 @@ )) %> -Edit this information +<% include('/elements/init_overlib.html') %> + +<% include('/view/elements/svc_edit_link.html', 'svc'=>$svc_broadband) %>
<%ntable("#cccccc")%> @@ -42,7 +44,10 @@ % if ( $ip_addr ) { IP Address - <%$ip_addr%> + + <%$ip_addr%> + (<% include('/elements/popup_link-ping.html', 'ip'=>$ip_addr ) %>) + IP Netmask @@ -78,6 +83,10 @@ Authentication Key <%$auth_key%> + + Service Plan Id + <%$plan_id%> + % %foreach (sort { $a cmp $b } $svc_broadband->virtual_fields) { @@ -163,7 +172,9 @@ my $svc_broadband = qsearchs({ ' LEFT JOIN cust_pkg USING ( pkgnum ) '. ' LEFT JOIN cust_main USING ( custnum ) ', 'hashref' => { 'svcnum' => $svcnum }, - 'extra_sql' => ' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql, + 'extra_sql' => ' AND '. $FS::CurrentUser::CurrentUser->agentnums_sql( + 'null_right' => 'View/link unlinked services' + ), }) or die "svc_broadband: Unknown svcnum $svcnum"; #false laziness w/all svc_*.cgi @@ -196,6 +207,7 @@ my ( $vlan_profile, $auth_key, $description, + $plan_id, ) = ( $svc_broadband->getfield('speed_down'), $svc_broadband->getfield('speed_up'), @@ -207,6 +219,7 @@ my ( $svc_broadband->vlan_profile, $svc_broadband->auth_key, $svc_broadband->description, + $svc_broadband->plan_id, );