projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix multiple pkgpart search, RT#5924
[freeside.git]
/
httemplate
/
search
/
report_cust_main.html
diff --git
a/httemplate/search/report_cust_main.html
b/httemplate/search/report_cust_main.html
index
57b84cb
..
f139d4b
100755
(executable)
--- a/
httemplate/search/report_cust_main.html
+++ b/
httemplate/search/report_cust_main.html
@@
-1,6
+1,6
@@
<% include('/elements/header.html', 'Customer Report' ) %>
<% include('/elements/header.html', 'Customer Report' ) %>
-<FORM ACTION="cust_main
_ADV.cgi
" METHOD="GET">
+<FORM ACTION="cust_main
.html
" METHOD="GET">
<INPUT TYPE="hidden" NAME="magic" VALUE="bill">
<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
<INPUT TYPE="hidden" NAME="magic" VALUE="bill">
<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
@@
-8,11
+8,19
@@
<TR>
<TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
</TR>
<TR>
<TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
</TR>
+
<% include( '/elements/tr-select-agent.html',
<% include( '/elements/tr-select-agent.html',
- ($cgi->param('agentnum') || ''),
+ 'curr_value' => scalar($cgi->param('agentnum')),
+ 'disable_empty' => 0,
)
%>
)
%>
+ <% include( '/elements/tr-select-cust_main-status.html',
+ 'label' => 'Status'
+ )
+ %>
+
+
% foreach my $field (qw( signupdate )) {
<TR>
% foreach my $field (qw( signupdate )) {
<TR>
@@
-29,12
+37,38
@@
</TR>
% }
</TR>
% }
+
+ <% include( '/elements/tr-select-payby.html',
+ 'payby_type' => 'cust',
+ 'multiple' => 1,
+ 'curr_value' => { map { $_ => 1 } FS::payby->cust_payby },
+ )
+ %>
+ <% include( '/elements/tr-input-lessthan_greaterthan.html',
+ label => 'Current balance',
+ field => 'current_balance',
+ )
+ %>
+
<TR>
<TD ALIGN="right" VALIGN="center">Include cancelled packages</TD>
<TD><INPUT TYPE="checkbox" NAME="cancelled_pkgs"></TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="center">Include cancelled packages</TD>
<TD><INPUT TYPE="checkbox" NAME="cancelled_pkgs"></TD>
</TR>
+% if ( $conf->exists('cust_main-require_censustract') ) {
+
+ <TR>
+ <TD ALIGN="right" VALIGN="center">Without census tract</TD>
+ <TD><INPUT TYPE="checkbox" NAME="no_censustract"></TD>
+ </TR>
+
+% }
+
+ <TR>
+ <TH BGCOLOR="#e8e8e8" COLSPAN=2> </TH>
+ </TR>
+
<TR>
<TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Display options</FONT></TH>
</TR>
<TR>
<TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Display options</FONT></TH>
</TR>
@@
-59,11
+93,13
@@
die "access denied"
$FS::CurrentUser::CurrentUser->access_right('List packages')
);;
$FS::CurrentUser::CurrentUser->access_right('List packages')
);;
+my $conf = new FS::Conf;
+
</%init>
<%once>
my %label = (
</%init>
<%once>
my %label = (
- 'signupdate' => 'Signup
D
ate',
+ 'signupdate' => 'Signup
d
ate',
);
</%once>
);
</%once>