X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=5860fbfbbb1584ee277d5158e679ac5653ddce04;hb=63a268637b2d51a8766412617724b9436439deb6;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..5860fbfbb 100755 --- a/httemplate/search/report_cust_main.html +++ b/httemplate/search/report_cust_main.html @@ -8,11 +8,26 @@ 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, + ) + %> + % foreach my $field (qw( signupdate )) { @@ -31,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', @@ -48,6 +105,19 @@ +% if ( $conf->exists('cust_main-require_censustract') ) { + + + Without census tract + + + +% } + + +   + + Display options @@ -72,6 +142,8 @@ die "access denied" $FS::CurrentUser::CurrentUser->access_right('List packages') );; +my $conf = new FS::Conf; + <%once>