projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding export to read mailbox status information, RT#15987
[freeside.git]
/
httemplate
/
graph
/
report_money_time.html
diff --git
a/httemplate/graph/report_money_time.html
b/httemplate/graph/report_money_time.html
index
5647496
..
b85bb65
100644
(file)
--- a/
httemplate/graph/report_money_time.html
+++ b/
httemplate/graph/report_money_time.html
@@
-1,4
+1,4
@@
-<%
=
include('/elements/header.html', 'Sales, Credits and Receipts Summary' ) %>
+<% include('/elements/header.html', 'Sales, Credits and Receipts Summary' ) %>
<FORM ACTION="money_time.cgi" METHOD="GET">
<FORM ACTION="money_time.cgi" METHOD="GET">
@@
-16,9
+16,13
@@
<TABLE>
<TABLE>
-<%
=
include('/elements/tr-select-from_to.html' ) %>
+<% include('/elements/tr-select-from_to.html' ) %>
-<%= include('/elements/tr-select-agent.html', '', 'label' => 'For agent: ' ) %>
+<% include('/elements/tr-select-agent.html',
+ 'label' => 'For agent: ',
+ 'disable_empty' => 0,
+ )
+%>
<TR>
<TD ALIGN="right"><INPUT TYPE="checkbox" NAME="12mo" VALUE="1"></TD>
<TR>
<TD ALIGN="right"><INPUT TYPE="checkbox" NAME="12mo" VALUE="1"></TD>
@@
-30,4
+34,10
@@
<BR><INPUT TYPE="submit" VALUE="Display">
</FORM>
<BR><INPUT TYPE="submit" VALUE="Display">
</FORM>
-<%= include('/elements/footer.html') %>
+<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
+
+</%init>