blob: 1a0c9f48acc015849898d65e9fad92b674e57cb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<%doc>
Display date selector for the future_autobill.html report
</%doc>
<% include('/elements/header.html', 'Future Auto-Bill Transactions' ) %>
<FORM ACTION="future_autobill.html" METHOD="GET">
<TABLE>
<& /elements/tr-input-date-field.html,
{
name => 'target_date',
value => $target_date,
label => emt('Target billing date').': ',
required => 1
}
&>
<& /elements/tr-checkbox.html,
'label' => emt('Multiple billing dates (slow)').': ',
'field' => 'multiple_billing_dates',
'value' => '1',
&>
</TABLE>
<BR>
<INPUT TYPE="submit" VALUE="<% mt('Get Report') |h %>">
</FORM>
<% include('/elements/footer.html') %>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
my $target_date = DateTime->from_epoch(epoch=>(time()+86400))->mdy('/');
</%init>
|