1 <% include('/elements/header.html','Prepaid Income (Unearned Revenue) Report')%>
3 <% include('/elements/init_calendar.html') %>
5 <FORM ACTION="report_prepaid_income.cgi" METHOD="GET">
7 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
10 <TH CLASS="background" COLSPAN=2 ALIGN="left">
11 <FONT SIZE="+1">Search options</FONT>
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">
25 <TD><FONT SIZE="-1"><i>m/d/y</i></FONT></TD>
29 <TD COLSPAN=2> </TD>
32 <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>
35 <TD COLSPAN=2> </TD>
39 <TD COLSPAN=2 ALIGN="center"><INPUT TYPE="submit" VALUE="Generate report"></TD>
44 <SCRIPT TYPE="text/javascript">
46 inputField: "date_text",
47 ifFormat: "<% $date_format %>",
48 button: "date_button",
55 <% include('/elements/footer.html') %>
59 unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
61 my $conf = new FS::Conf;
62 my $date_format = $conf->config('date_format') || '%m/%d/%Y';