summaryrefslogtreecommitdiff
path: root/httemplate/search/report_prepaid_income.html
blob: d707bd81b7fe167b2eb5da3d85135753749025cc (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<% include('/elements/header.html','Prepaid Income (Unearned Revenue) Report')%>

<% include('/elements/init_calendar.html') %>

<FORM ACTION="report_prepaid_income.cgi" METHOD="GET">

<TABLE BGCOLOR="#cccccc" CELLSPACING=0>

  <TR>
    <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
      <FONT SIZE="+1">Search options</FONT>
    </TH>
  </TR>

  <TR>
    <TD>As of </TD>
    <TD>
      <INPUT TYPE="text" NAME="date" ID="date_text" VALUE="now">
      <IMG SRC="../images/calendar.png" ID="date_button" STYLE="cursor: pointer" TITLE="Select date">
    </TD>
  </TR>
  <TR>
    <TD>
    </TD>
    <TD><FONT SIZE="-1"><i>m/d/y</i></FONT></TD>
  </TR>

  <TR>
    <TD COLSPAN=2>&nbsp;</TD>
  </TR>

  <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>

  <TR>
    <TD COLSPAN=2>&nbsp;</TD>
  </TR>

  <TR>
    <TD COLSPAN=2 ALIGN="center"><INPUT TYPE="submit" VALUE="Generate report"></TD>
  </TR>

</TABLE>

<SCRIPT TYPE="text/javascript">
  Calendar.setup({
    inputField: "date_text",
    ifFormat:   "%m/%d/%Y",
    button:     "date_button",
    align:      "BR"
  });
</SCRIPT>

</FORM>

<% include('/elements/footer.html') %>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');

</%init>