X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_www.cgi;h=935d139e9c4da4e15717dbecd5c712c54ca643b8;hp=c0f331619363ee5b604fecd48a40edc16147c5f3;hb=ad7f49821d40ffd099a45acc32ba91e0e211aede;hpb=ff873782e78715891b9d5d2eb5b38c735d372556 diff --git a/httemplate/view/svc_www.cgi b/httemplate/view/svc_www.cgi index c0f331619..935d139e9 100644 --- a/httemplate/view/svc_www.cgi +++ b/httemplate/view/svc_www.cgi @@ -39,7 +39,7 @@ Config lines -
<% join("\n", $svc_www->config) |h %>"
+
<% join("\n", $svc_www->config) |h %>
% foreach (sort { $a cmp $b } $svc_www->virtual_fields) { @@ -67,7 +67,9 @@ my $svc_www = 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_www: Unknown svcnum $svcnum"; #false laziness w/all svc_*.cgi