projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
miss you, mark
[freeside.git]
/
httemplate
/
search
/
report_agent_commission.html
diff --git
a/httemplate/search/report_agent_commission.html
b/httemplate/search/report_agent_commission.html
index
79f94c5
..
41f40bf
100644
(file)
--- a/
httemplate/search/report_agent_commission.html
+++ b/
httemplate/search/report_agent_commission.html
@@
-4,9
+4,15
@@
<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
-<
% include( '/elements/tr-select-agent.html', disable_empty => 1 ) %
>
+<
& /elements/tr-select-agent.html &
>
-<% include( '/elements/tr-input-beginning_ending.html', ) %>
+<& /elements/tr-checkbox.html,
+ 'label' => 'Show paid sales only',
+ 'field' => 'paid',
+ 'value' => 'Y',
+&>
+
+<& /elements/tr-input-beginning_ending.html &>
</TABLE>
</TABLE>
@@
-16,7
+22,8
@@
<% include('/elements/footer.html') %>
<%init>
<% include('/elements/footer.html') %>
<%init>
-die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
+my $curuser = $FS::CurrentUser::CurrentUser;
+
+die "access denied" unless $curuser->access_right('Financial reports');
</%init>
</%init>