X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fgraph%2Freport_money_time.html;h=b85bb655206d0842458a312b0e4bc603c98dc549;hp=5647496867846136ad8ac45e844cdc6c275b2da9;hb=ea3ce8d7f076e7fecff4be7ae63bc413adb0adf5;hpb=e65c6a26ca778166aec2b2d1dd3012ab84fa611a diff --git a/httemplate/graph/report_money_time.html b/httemplate/graph/report_money_time.html index 564749686..b85bb6552 100644 --- 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' ) %>
@@ -16,9 +16,13 @@ -<%= 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, + ) +%> @@ -30,4 +34,10 @@
-<%= include('/elements/footer.html') %> +<% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); + +