projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
welcome to the new world
[freeside.git]
/
httemplate
/
search
/
report_cust_pay.html
diff --git
a/httemplate/search/report_cust_pay.html
b/httemplate/search/report_cust_pay.html
index
a3e43f8
..
d7cb0ae
100644
(file)
--- a/
httemplate/search/report_cust_pay.html
+++ b/
httemplate/search/report_cust_pay.html
@@
-49,13
+49,19
@@
</TR>
<% include( '/elements/tr-select-agent.html',
</TR>
<% include( '/elements/tr-select-agent.html',
-
$cgi->param('agentnum'
),
- 'label' => 'for agent: ',
+
'curr_value' => scalar($cgi->param('agentnum')
),
+ 'label'
=> 'for agent: ',
)
%>
<% include( '/elements/tr-input-beginning_ending.html' ) %>
)
%>
<% include( '/elements/tr-input-beginning_ending.html' ) %>
+ <% include( '/elements/tr-input-lessthan_greaterthan.html',
+ 'label' => 'Amount',
+ 'field' => 'paid',
+ )
+ %>
+
</TABLE>
<BR>
</TABLE>
<BR>
@@
-64,3
+70,9
@@
</FORM>
<% include('/elements/footer.html') %>
</FORM>
<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
+
+</%init>