X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fgraph%2Freport_money_time.html;h=315d31bc50fdaecc7cbca3d229727558d76c9d30;hb=ecd1baba392d971b49a50f133349f85aaec548a0;hp=b80696b65eab1fd2e80877a00873a2ee929bfd2d;hpb=3ce7691203a7737406bf2d4442f7fd84b81f847e;p=freeside.git diff --git a/httemplate/graph/report_money_time.html b/httemplate/graph/report_money_time.html index b80696b65..315d31bc5 100644 --- a/httemplate/graph/report_money_time.html +++ b/httemplate/graph/report_money_time.html @@ -18,7 +18,23 @@ <% 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, + ) +%> + +<& /elements/tr-select-cust_class.html, + 'field' => 'cust_classnum', # to avoid ambiguity in FS::Report::Table + 'multiple' => 1 +&> + +<% include('/elements/tr-select-part_referral.html', + 'label' => 'Advertising source ', + 'disable_empty' => 0, + 'empty_label' => 'all', + ) +%> @@ -31,3 +47,9 @@ <% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); + +