X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_future_autobill.html;h=ccde299e968818daf351c9c737494478f08e9cd4;hb=fe14c0ff8a609d9488c40e81eb25babfa691b34c;hp=1a0c9f48acc015849898d65e9fad92b674e57cb2;hpb=c6251a1dcd226056780bf28f8ca79f078f8c78bd;p=freeside.git diff --git a/httemplate/search/report_future_autobill.html b/httemplate/search/report_future_autobill.html index 1a0c9f48a..ccde299e9 100644 --- a/httemplate/search/report_future_autobill.html +++ b/httemplate/search/report_future_autobill.html @@ -3,40 +3,55 @@ Display date selector for the future_autobill.html report %doc> -<% include('/elements/header.html', 'Future Auto-Bill Transactions' ) %> +<% include('/elements/header.html', $report_title ) %> -
+ +% } <% include('/elements/footer.html') %> <%init> +use FS::cust_payby; +use FS::CurrentUser; die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); -my $target_date = DateTime->from_epoch(epoch=>(time()+86400))->mdy('/'); +my $target_date = DateTime->now->add(days => 1)->mdy('/'); +my $report_title = FS::cust_payby->future_autobill_report_title; %init> +