enable CardFortress in test database, #71513
[freeside.git] / httemplate / view / svc_external.cgi
index 222f36a..833e862 100644 (file)
 
 
 </TABLE></TD></TR></TABLE>
+<BR>
+
+<& /elements/table-tickets.html, object => $cust_svc &>
+
 <BR><% 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;