X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_external.cgi;h=833e86247153d9505896ba386b1a199750b8b40b;hp=222f36a8523aca36568085613ae0e025dc2e8b97;hb=f822e27a1e00594332ffa487a1c284234c5580a6;hpb=ff873782e78715891b9d5d2eb5b38c735d372556 diff --git a/httemplate/view/svc_external.cgi b/httemplate/view/svc_external.cgi index 222f36a85..833e86247 100644 --- a/httemplate/view/svc_external.cgi +++ b/httemplate/view/svc_external.cgi @@ -23,6 +23,10 @@ +
+ +<& /elements/table-tickets.html, object => $cust_svc &> +
<% joblisting({'svcnum'=>$svcnum}, 1) %> <% include('/elements/footer.html') %> @@ -41,7 +45,9 @@ my $svc_external = 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_external: Unknown svcnum $svcnum"; my $conf = new FS::Conf;