summaryrefslogtreecommitdiff
path: root/httemplate/search/report_unapplied_cust_pay.html
blob: 10093e57677f59fb2d9f71310ba70c0113d079f7 (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
<% include('/elements/header.html', 'Unapplied Payments Aging Summary' ) %>
%# 'Prepaid Balance Aging Summary', #???

<FORM NAME="OneTrueForm" ACTION="unapplied_cust_pay.html" METHOD="GET">

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

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

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

  <% include( '/elements/tr-select-cust_main-status.html',
                'label' => 'Customer Status'
            )
  %>
  
  <TR>
    <TD ALIGN="right">Customers</TD>
    <TD>
      <INPUT TYPE="radio" NAME="all_customers" VALUE="1" onClick="if (this.checked) { document.OneTrueForm.days.disabled=true; document.OneTrueForm.days.style.backgroundColor = '#dddddd'; } else { document.OneTrueForm.days.disabled=false; document.OneTrueForm.days.style.backgroundColor = '#ffffff'; }">All customers (even those without unapplied payments)<BR>
      <INPUT TYPE="radio" NAME="all_customers" VALUE="0" CHECKED onClick="if ( ! this.checked ) { document.OneTrueForm.days.disabled=true; document.OneTrueForm.days.style.backgroundColor = '#dddddd'; } else { document.OneTrueForm.days.disabled=false; document.OneTrueForm.days.style.backgroundColor = '#ffffff'; }">Customers with unapplied payments over <INPUT NAME="days" TYPE="text" SIZE=4 MAXLENGTH=3 VALUE="0"> days old
    </TD>
  </TR>

</TABLE>

<BR><INPUT TYPE="submit" VALUE="Get Report">
</FORM>

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

<%init>

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

</%init>