fix tax report for more complex situations with counties and taxclasses, make taxable...
[freeside.git] / httemplate / search / report_receivables.html
1 <% include('/elements/header.html', 'Accounts Receivable Aging Summary' ) %>
2
3 <FORM NAME="OneTrueForm" ACTION="report_receivables.cgi" METHOD="GET">
4
5 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
6
7   <TR>
8     <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
9       <FONT SIZE="+1">Search options</FONT>
10     </TH>
11   </TR>
12
13   <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>
14   
15   <TR>
16     <TD ALIGN="right">Customers</TD>
17     <TD>
18       <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 an outstanding balance)<BR>
19       <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 a balance over <INPUT NAME="days" TYPE="text" SIZE=4 MAXLENGTH=3 VALUE="0"> days old
20     </TD>
21   </TR>
22
23 </TABLE>
24
25 <BR><INPUT TYPE="submit" VALUE="Get Report">
26 </FORM>
27
28 <% include('/elements/footer.html') %>
29
30 <%init>
31
32 die "access denied"
33   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
34
35 </%init>