X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=eb1a662736216216867b8962534c9a414a7daf62;hb=9b05a3660eabd3215bdebf9429eb490b41570436;hp=b0c5fde8677cd8ce755d3580f8f98b0aee1a9053;hpb=5836672804f6285e914061b18bcb8d18139e4783;p=freeside.git
diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html
index b0c5fde86..eb1a66273 100755
--- a/httemplate/search/report_cust_main.html
+++ b/httemplate/search/report_cust_main.html
@@ -6,7 +6,7 @@
- Search options |
+ Search options |
<% include( '/elements/tr-select-agent.html',
@@ -20,6 +20,13 @@
)
%>
+ <% include( '/elements/tr-select-cust_class.html',
+ 'label' => 'Class',
+ 'multiple' => 1,
+ 'pre_options' => [ '' => '(none)' ],
+ 'all_selected' => 1,
+ )
+ %>
% foreach my $field (qw( signupdate )) {
@@ -39,11 +46,53 @@
% }
<% include( '/elements/tr-select-payby.html',
- 'payby_type' => 'cust',
- 'multiple' => 1,
- 'curr_value' => { map { $_ => 1 } FS::payby->cust_payby },
+ 'payby_type' => 'cust',
+ 'multiple' => 1,
+ 'all_selected' => 1,
)
%>
+
+
+ Payment expiration before |
+
+
+ /
+
+ |
+
+
+
+
+
+ Invoice terms |
+
+ <% include( '/elements/select-terms.html',
+ 'pre_options' => [ '' => 'all' ],
+ 'empty_value' => 'NULL',
+ )
+ %>
+ |
+
<% include( '/elements/tr-input-lessthan_greaterthan.html',
label => 'Current balance',
@@ -56,12 +105,21 @@
|
+% if ( $conf->exists('cust_main-require_censustract') ) {
+
- |
+ Without census tract |
+ |
+% }
+
- Display options |
+ |
+
+
+
+ Display options |
<% include( '/elements/tr-select-cust-fields.html' ) %>
@@ -82,7 +140,9 @@
die "access denied"
unless ( $FS::CurrentUser::CurrentUser->access_right('List customers') &&
$FS::CurrentUser::CurrentUser->access_right('List packages')
- );;
+ );
+
+my $conf = new FS::Conf;
%init>
<%once>