1 <% include('/elements/header.html', 'Unapplied Payments Aging Summary' ) %>
2 %# 'Prepaid Balance Aging Summary', #???
4 <FORM NAME="OneTrueForm" ACTION="unapplied_cust_pay.html" METHOD="GET">
6 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
9 <TH CLASS="background" COLSPAN=2 ALIGN="left">
10 <FONT SIZE="+1">Search options</FONT>
14 <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>
16 <% include( '/elements/tr-select-cust_main-status.html',
17 'label' => 'Customer Status'
22 <TD ALIGN="right">Customers</TD>
24 <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>
25 <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
28 <% include( '/elements/tr-input-date-field.html', {
31 'label' => 'As of date ',
32 'format' => FS::Conf->new->config('date_format') || '%m/%d/%Y',
37 <BR><INPUT TYPE="submit" VALUE="Get Report">
40 <% include('/elements/footer.html') %>
45 unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');