add customer status column to customer & most other reports. also put the C in ACL...
[freeside.git] / httemplate / search / report_cust_credit.html
index ab48102..9932097 100644 (file)
@@ -42,6 +42,9 @@
 
 <%init>
 
+die "access denied"
+  unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
+
 my $sth = dbh->prepare("SELECT DISTINCT otaker FROM cust_credit")
   or die dbh->errstr;
 $sth->execute or die $sth->errstr;