X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fgraph%2Freport_money_time.html;h=97876c99676a1e08eeb4ed7fb386660e520c4fb4;hb=64948ee373a03fa156ebc89cb39adfa6d4d2c3d5;hp=b80696b65eab1fd2e80877a00873a2ee929bfd2d;hpb=c8cccb4a92adceb943c635fe62dad0d034462ce0;p=freeside.git diff --git a/httemplate/graph/report_money_time.html b/httemplate/graph/report_money_time.html index b80696b65..97876c996 100644 --- a/httemplate/graph/report_money_time.html +++ b/httemplate/graph/report_money_time.html @@ -18,7 +18,18 @@ <% 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, + ) +%> + +<% include('/elements/tr-select-part_referral.html', + 'label' => 'Advertising source ', + 'disable_empty' => 0, + 'empty_label' => 'all', + ) +%> @@ -31,3 +42,9 @@ <% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); + +