clarify squelch_cdr label
[freeside.git] / httemplate / search / report_prepaid_income.html
1 <% include('/elements/header.html','Prepaid Income (Unearned Revenue) Report')%>
2
3 <% include('/elements/init_calendar.html') %>
4
5 <FORM ACTION="report_prepaid_income.cgi" METHOD="GET">
6
7 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
8
9   <TR>
10     <TH CLASS="background" COLSPAN=2 ALIGN="left">
11       <FONT SIZE="+1">Search options</FONT>
12     </TH>
13   </TR>
14
15   <TR>
16     <TD>As of </TD>
17     <TD>
18       <INPUT TYPE="text" NAME="date" ID="date_text" VALUE="now">
19       <IMG SRC="../images/calendar.png" ID="date_button" STYLE="cursor: pointer" TITLE="Select date">
20     </TD>
21   </TR>
22   <TR>
23     <TD>
24     </TD>
25     <TD><FONT SIZE="-1"><i>m/d/y</i></FONT></TD>
26   </TR>
27
28   <TR>
29     <TD COLSPAN=2>&nbsp;</TD>
30   </TR>
31
32   <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>
33
34   <TR>
35     <TD COLSPAN=2>&nbsp;</TD>
36   </TR>
37
38   <TR>
39     <TD COLSPAN=2 ALIGN="center"><INPUT TYPE="submit" VALUE="Generate report"></TD>
40   </TR>
41
42 </TABLE>
43
44 <SCRIPT TYPE="text/javascript">
45   Calendar.setup({
46     inputField: "date_text",
47     ifFormat:   "<% $date_format %>",
48     button:     "date_button",
49     align:      "BR"
50   });
51 </SCRIPT>
52
53 </FORM>
54
55 <% include('/elements/footer.html') %>
56 <%init>
57
58 die "access denied"
59   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
60
61 my $conf = new FS::Conf;
62 my $date_format = $conf->config('date_format') || '%m/%d/%Y';
63
64 </%init>