X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=672117499f916f2e2cfbf89a68162db580f4545a;hb=5cae209e7a123e2fb4da3eb720b54a0b83368977;hp=f32c3aa188092e9b0c1dd49472cf7c85754e5082;hpb=e8d02908a0c85c4fcbaf7145ef00f0d3293e7311;p=freeside.git diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index f32c3aa18..672117499 100755 --- a/httemplate/search/report_cust_main.html +++ b/httemplate/search/report_cust_main.html @@ -1,18 +1,38 @@ <% include('/elements/header.html', 'Customer Report' ) %> -
+ - + + <% 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 )) { @@ -29,12 +49,101 @@ % } + + <% 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, + 'all_selected' => 1, + ) + %> + + + + + + + + + + + + + <% include( '/elements/tr-input-lessthan_greaterthan.html', + label => 'Current balance', + field => 'current_balance', + ) + %> + + + + + + +% if ( $conf->exists('enable_taxproducts') ) { + + + + + + +% } + + + + + + + + + <% include( '/elements/tr-select-cust-fields.html' ) %> + + + + +
Search optionsSearch options
Address
Payment expiration before + + / + +
Invoice terms + <% include( '/elements/select-terms.html', + 'pre_options' => [ '' => 'all' ], + 'empty_value' => 'NULL', + ) + %> +
Include cancelled packages
Without census tract
With hardcoded tax location
 
Display options
Add package columns

@@ -48,13 +157,15 @@ die "access denied" unless ( $FS::CurrentUser::CurrentUser->access_right('List customers') && $FS::CurrentUser::CurrentUser->access_right('List packages') - );; + ); + +my $conf = new FS::Conf; <%once> my %label = ( - 'signupdate' => 'Signup Date', + 'signupdate' => 'Signup date', );