3 Display date selector for the future_autobill.html report
6 <% include('/elements/header.html', $report_title ) %>
9 % if ( FS::TaxEngine->new->info->{batch} ) {
11 <div style="font-color: red">
12 NOTE: This report is disabled due to tax engine configuration
17 <FORM ACTION="future_autobill.html" METHOD="GET">
19 <& /elements/tr-input-date-field.html,
21 name => 'target_date',
22 value => $target_date,
23 label => emt('Target billing date').': ',
28 <% include('/elements/tr-select-agent.html',
29 'label' => 'For agent: ',
38 <INPUT TYPE="submit" VALUE="<% mt('Get Report') |h %>">
44 <% include('/elements/footer.html') %>
51 unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
53 my $target_date = DateTime->now->add(days => 1)->mdy('/');
54 my $report_title = FS::cust_payby->future_autobill_report_title;