add quick links for unprocessed and processed CDRs to svc_phone view
[freeside.git] / httemplate / view / elements / svc_Common.html
index f5b65ac..b6d8e65 100644 (file)
@@ -84,14 +84,25 @@ Service #<B><% $svcnum %></B>
 </TABLE></TD></TR></TABLE>
 
 <BR>
+
+% if ( defined($opt{'html_foot'}) ) {
+
+  <% ref($opt{'html_foot'})
+       ? &{ $opt{'html_foot'} }($svc_x)
+       : $opt{'html_foot'}
+  %>
+  <BR>
+
+% }
+
+
 <% joblisting({'svcnum'=>$svcnum}, 1) %>
 
 <% include('/elements/footer.html') %>
 <%init>
 
 die "access denied"
-  unless $FS::CurrentUser::CurrentUser->access_right('View customer services')
-      || $FS::CurrentUser::CurrentUser->access_right('View customer'); #XXX remove me
+  unless $FS::CurrentUser::CurrentUser->access_right('View customer services');
 
 my(%opt) = @_;