X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=672117499f916f2e2cfbf89a68162db580f4545a;hb=dc1891ff9a6e6c4b4545fe7f786af6bd0f28b2cf;hp=758c269232d0a2cc2e6eb5e72071b5ad0ef6186d;hpb=bd39db7a960f64d6a19e714aa8d74ccab1fd04c5;p=freeside.git
diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html
index 758c26923..672117499 100755
--- a/httemplate/search/report_cust_main.html
+++ b/httemplate/search/report_cust_main.html
@@ -6,13 +6,33 @@
- Search options |
+ Search options |
+
<% 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'
+ )
+ %>
+
+ <% include( '/elements/tr-select-cust_class.html',
+ 'label' => 'Class',
+ 'multiple' => 1,
+ 'pre_options' => [ '' => '(none)' ],
+ 'all_selected' => 1,
+ )
+ %>
+
+
+ Address |
+ |
+
+
% foreach my $field (qw( signupdate )) {
@@ -30,12 +50,61 @@
% }
+ <% include( '/elements/tr-select-cust_tag.html',
+ 'cgi' => $cgi,
+ 'is_report' => 1,
+ 'multiple' => 1,
+ )
+ %>
+
<% 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',
@@ -49,7 +118,25 @@
- Display options |
+ Without census tract |
+ |
+
+
+% if ( $conf->exists('enable_taxproducts') ) {
+
+
+ With hardcoded tax location |
+ |
+
+
+% }
+
+
+ |
+
+
+
+ Display options |
<% include( '/elements/tr-select-cust-fields.html' ) %>
@@ -70,7 +157,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>