projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
agent_type selector on new packages
[freeside.git]
/
httemplate
/
search
/
report_cust_credit.html
diff --git
a/httemplate/search/report_cust_credit.html
b/httemplate/search/report_cust_credit.html
index
ab48102
..
9932097
100644
(file)
--- a/
httemplate/search/report_cust_credit.html
+++ b/
httemplate/search/report_cust_credit.html
@@
-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;